From 1d5780d42c53552fe66a54fda9ee84d3e5a88caa Mon Sep 17 00:00:00 2001 From: Orion Reblitz-Richardson Date: Mon, 26 Mar 2018 21:17:12 -0700 Subject: [PATCH] Remove Apache headers from source. * LICENSE file contains details, so removing from individual source files. --- caffe2/contrib/aten/aten_op.cc | 16 ---------- caffe2/contrib/aten/aten_op_cuda.cc | 16 ---------- caffe2/contrib/aten/aten_op_template.h | 16 ---------- caffe2/contrib/aten/aten_test.py | 15 --------- caffe2/contrib/gloo/allreduce_ops.cc | 16 ---------- caffe2/contrib/gloo/allreduce_ops.h | 16 ---------- caffe2/contrib/gloo/allreduce_ops_gpu.cc | 16 ---------- caffe2/contrib/gloo/barrier_ops.cc | 16 ---------- caffe2/contrib/gloo/barrier_ops.h | 16 ---------- caffe2/contrib/gloo/broadcast_ops.cc | 16 ---------- caffe2/contrib/gloo/broadcast_ops.h | 16 ---------- caffe2/contrib/gloo/broadcast_ops_gpu.cc | 16 ---------- caffe2/contrib/gloo/common.cc | 16 ---------- caffe2/contrib/gloo/common.h | 16 ---------- caffe2/contrib/gloo/common_world_ops.cc | 16 ---------- caffe2/contrib/gloo/common_world_ops.h | 16 ---------- caffe2/contrib/gloo/common_world_ops_gpu.cc | 16 ---------- caffe2/contrib/gloo/context.cc | 16 ---------- caffe2/contrib/gloo/context.h | 16 ---------- caffe2/contrib/gloo/gloo_test.py | 15 --------- caffe2/contrib/gloo/store_handler.cc | 16 ---------- caffe2/contrib/gloo/store_handler.h | 16 ---------- caffe2/contrib/nccl/cuda_nccl_gpu.cc | 16 ---------- caffe2/contrib/nccl/cuda_nccl_gpu.h | 16 ---------- caffe2/contrib/nccl/cuda_nccl_op_gpu.cc | 16 ---------- caffe2/contrib/nccl/nccl_ops_test.py | 15 --------- caffe2/contrib/nervana/nervana.h | 16 ---------- caffe2/contrib/nervana/nervana_fc_op_gpu.cc | 16 ---------- .../contrib/nervana/nervana_fc_op_gpu_test.cc | 16 ---------- caffe2/contrib/nervana/nervana_init_gpu.cc | 16 ---------- caffe2/contrib/nervana/nervana_math_gpu.cc | 16 ---------- caffe2/contrib/nnpack/nnpack_ops.cc | 16 ---------- caffe2/contrib/nnpack/nnpack_ops_test.py | 15 --------- caffe2/contrib/prof/cuda_profile_ops.cc | 16 ---------- caffe2/contrib/prof/cuda_profile_ops_test.py | 15 --------- .../contrib/prof/htrace_async_dag_net_gpu.cc | 16 ---------- caffe2/contrib/prof/htrace_conf.cc | 16 ---------- caffe2/contrib/prof/htrace_conf.h | 16 ---------- caffe2/contrib/prof/htrace_dag_net.cc | 16 ---------- caffe2/contrib/prof/htrace_to_chrome.py | 15 --------- caffe2/contrib/prof/prof_dag_net.cc | 16 ---------- caffe2/contrib/prof/prof_dag_net.h | 16 ---------- caffe2/contrib/prof/prof_dag_stats_op.cc | 16 ---------- caffe2/contrib/prof/prof_dag_stats_op.h | 16 ---------- caffe2/contrib/shm_mutex/shm_mutex.cc | 16 ---------- caffe2/contrib/shm_mutex/shm_mutex.h | 16 ---------- caffe2/contrib/torch/th_ops.cc | 16 ---------- caffe2/contrib/torch/th_ops_gpu.cu | 16 ---------- caffe2/contrib/torch/th_ops_test.py | 15 --------- caffe2/contrib/torch/torch_op.cpp | 16 ---------- caffe2/contrib/torch/torch_op.h | 16 ---------- caffe2/contrib/torch/torch_op_gpu.cpp | 16 ---------- caffe2/contrib/torch/torch_ops_test.py | 15 --------- caffe2/contrib/warpctc/ctc_op.cpp | 16 ---------- caffe2/contrib/warpctc/ctc_op.h | 16 ---------- caffe2/contrib/warpctc/ctc_op_gpu.cpp | 16 ---------- caffe2/contrib/warpctc/ctc_ops_test.py | 15 --------- caffe2/core/allocator.cc | 16 ---------- caffe2/core/allocator.h | 16 ---------- caffe2/core/asan.h | 16 ---------- caffe2/core/blob.h | 16 ---------- caffe2/core/blob_gpu_test.cc | 16 ---------- caffe2/core/blob_serialization.cc | 16 ---------- caffe2/core/blob_serialization.h | 16 ---------- caffe2/core/blob_serialization_gpu.cc | 16 ---------- caffe2/core/blob_serializer_base.h | 16 ---------- caffe2/core/blob_stats.cc | 16 ---------- caffe2/core/blob_stats.h | 16 ---------- caffe2/core/blob_test.cc | 16 ---------- caffe2/core/common.cc | 16 ---------- caffe2/core/common.h | 16 ---------- caffe2/core/common_cudnn.cc | 16 ---------- caffe2/core/common_cudnn.h | 16 ---------- caffe2/core/common_gpu.cc | 16 ---------- caffe2/core/common_gpu.h | 16 ---------- caffe2/core/common_omp.h | 16 ---------- caffe2/core/common_test.cc | 16 ---------- caffe2/core/context.cc | 16 ---------- caffe2/core/context.h | 16 ---------- caffe2/core/context_gpu.cu | 16 ---------- caffe2/core/context_gpu.h | 16 ---------- caffe2/core/context_gpu_test.cc | 16 ---------- caffe2/core/context_test.cc | 16 ---------- caffe2/core/db.cc | 16 ---------- caffe2/core/db.h | 16 ---------- caffe2/core/event.cc | 16 ---------- caffe2/core/event.h | 16 ---------- caffe2/core/event_cpu.h | 16 ---------- caffe2/core/event_gpu.cc | 16 ---------- caffe2/core/event_gpu_test.cc | 16 ---------- caffe2/core/event_test.cc | 16 ---------- caffe2/core/flags.cc | 16 ---------- caffe2/core/flags.h | 16 ---------- caffe2/core/graph.cc | 16 ---------- caffe2/core/graph.h | 16 ---------- caffe2/core/graph_test.cc | 16 ---------- caffe2/core/init.cc | 16 ---------- caffe2/core/init.h | 16 ---------- caffe2/core/init_intrinsics_check.cc | 16 ---------- caffe2/core/init_omp.cc | 16 ---------- caffe2/core/init_test.cc | 16 ---------- caffe2/core/logging.cc | 16 ---------- caffe2/core/logging.h | 16 ---------- caffe2/core/logging_is_google_glog.h | 16 ---------- caffe2/core/logging_is_not_google_glog.h | 16 ---------- caffe2/core/logging_test.cc | 16 ---------- caffe2/core/macros.h | 16 ---------- caffe2/core/memonger.cc | 16 ---------- caffe2/core/memonger.h | 16 ---------- caffe2/core/module.cc | 16 ---------- caffe2/core/module.h | 16 ---------- caffe2/core/module_test.cc | 16 ---------- caffe2/core/net.cc | 16 ---------- caffe2/core/net.h | 16 ---------- caffe2/core/net_async_base.cc | 16 ---------- caffe2/core/net_async_base.h | 16 ---------- caffe2/core/net_async_dag_gpu.cc | 16 ---------- caffe2/core/net_async_dag_gpu.h | 16 ---------- caffe2/core/net_async_gpu_thread_pool.h | 16 ---------- caffe2/core/net_async_gpu_thread_pool_gpu.cc | 16 ---------- caffe2/core/net_async_polling.cc | 16 ---------- caffe2/core/net_async_polling.h | 16 ---------- caffe2/core/net_async_scheduling.cc | 16 ---------- caffe2/core/net_async_scheduling.h | 16 ---------- caffe2/core/net_dag.cc | 16 ---------- caffe2/core/net_dag.h | 16 ---------- caffe2/core/net_dag_utils.cc | 16 ---------- caffe2/core/net_dag_utils.h | 16 ---------- caffe2/core/net_gpu_test.cc | 16 ---------- caffe2/core/net_simple.cc | 16 ---------- caffe2/core/net_simple.h | 16 ---------- caffe2/core/net_simple_async.cc | 16 ---------- caffe2/core/net_simple_async.h | 16 ---------- caffe2/core/net_singlethread_async_gpu.cc | 16 ---------- caffe2/core/net_test.cc | 16 ---------- caffe2/core/numa.cc | 16 ---------- caffe2/core/numa.h | 16 ---------- caffe2/core/observer.h | 16 ---------- caffe2/core/observer_test.cc | 16 ---------- caffe2/core/operator.cc | 16 ---------- caffe2/core/operator.h | 16 ---------- caffe2/core/operator_gpu_test.cc | 16 ---------- caffe2/core/operator_gradient.h | 16 ---------- caffe2/core/operator_schema.cc | 16 ---------- caffe2/core/operator_schema.h | 16 ---------- caffe2/core/operator_schema_test.cc | 16 ---------- caffe2/core/operator_test.cc | 16 ---------- caffe2/core/parallel_net_test.cc | 16 ---------- caffe2/core/plan_executor.cc | 16 ---------- caffe2/core/plan_executor.h | 16 ---------- caffe2/core/predictor.cc | 16 ---------- caffe2/core/predictor.h | 16 ---------- caffe2/core/predictor_test.cc | 16 ---------- caffe2/core/qtensor.cc | 16 ---------- caffe2/core/qtensor.h | 16 ---------- caffe2/core/qtensor_serialization.cc | 16 ---------- caffe2/core/qtensor_serialization.h | 16 ---------- caffe2/core/registry.h | 16 ---------- caffe2/core/registry_test.cc | 16 ---------- caffe2/core/scope_guard.h | 16 ---------- caffe2/core/static_tracepoint.h | 32 ------------------- caffe2/core/static_tracepoint_elfx86.h | 32 ------------------- caffe2/core/stats.cc | 16 ---------- caffe2/core/stats.h | 16 ---------- caffe2/core/stats_test.cc | 16 ---------- caffe2/core/tensor.cc | 16 ---------- caffe2/core/tensor.h | 16 ---------- caffe2/core/timer.h | 16 ---------- caffe2/core/timer_test.cc | 16 ---------- caffe2/core/transform.cc | 16 ---------- caffe2/core/transform.h | 16 ---------- caffe2/core/transform_test.cc | 16 ---------- caffe2/core/typeid.cc | 16 ---------- caffe2/core/typeid.h | 16 ---------- caffe2/core/typeid_test.cc | 16 ---------- caffe2/core/types.cc | 16 ---------- caffe2/core/types.h | 16 ---------- caffe2/core/workspace.cc | 16 ---------- caffe2/core/workspace.h | 16 ---------- caffe2/core/workspace_test.cc | 16 ---------- caffe2/cuda_rtc/common_rtc.h | 16 ---------- caffe2/cuda_rtc/elemenntwise_rtc_gpu.cc | 16 ---------- caffe2/cuda_rtc/pool_op_rtc_gpu.cc | 16 ---------- caffe2/db/create_db_op.cc | 16 ---------- caffe2/db/create_db_op.h | 16 ---------- caffe2/db/create_db_op_gpu.cc | 16 ---------- caffe2/db/db_test.cc | 16 ---------- caffe2/db/leveldb.cc | 16 ---------- caffe2/db/lmdb.cc | 16 ---------- caffe2/db/protodb.cc | 16 ---------- caffe2/db/zmqdb.cc | 16 ---------- caffe2/distributed/file_store_handler.cc | 16 ---------- caffe2/distributed/file_store_handler.h | 16 ---------- caffe2/distributed/file_store_handler_op.cc | 16 ---------- caffe2/distributed/file_store_handler_op.h | 16 ---------- .../distributed/file_store_handler_op_gpu.cc | 16 ---------- .../distributed/file_store_handler_op_test.py | 15 --------- caffe2/distributed/redis_store_handler.cc | 16 ---------- caffe2/distributed/redis_store_handler.h | 16 ---------- caffe2/distributed/redis_store_handler_op.cc | 16 ---------- caffe2/distributed/redis_store_handler_op.h | 16 ---------- .../distributed/redis_store_handler_op_gpu.cc | 16 ---------- .../redis_store_handler_op_test.py | 15 --------- caffe2/distributed/store_handler.cc | 16 ---------- caffe2/distributed/store_handler.h | 16 ---------- caffe2/distributed/store_ops.cc | 16 ---------- caffe2/distributed/store_ops.h | 16 ---------- caffe2/distributed/store_ops_test_util.py | 15 --------- .../fully_connected_op_decomposition.cc | 16 ---------- .../fully_connected_op_decomposition.h | 16 ---------- .../fully_connected_op_decomposition_gpu.cc | 16 ---------- .../operators/fully_connected_op_prune.cc | 16 ---------- .../operators/fully_connected_op_prune.h | 16 ---------- .../operators/fully_connected_op_sparse.cc | 16 ---------- .../operators/fully_connected_op_sparse.h | 16 ---------- caffe2/experiments/operators/funhash_op.cc | 16 ---------- caffe2/experiments/operators/funhash_op.h | 16 ---------- .../operators/sparse_funhash_op.cc | 16 ---------- .../experiments/operators/sparse_funhash_op.h | 16 ---------- .../operators/sparse_matrix_reshape_op.cc | 16 ---------- .../operators/sparse_matrix_reshape_op.h | 16 ---------- .../operators/tt_contraction_op.cc | 16 ---------- .../experiments/operators/tt_contraction_op.h | 16 ---------- .../operators/tt_contraction_op_gpu.cc | 16 ---------- caffe2/experiments/operators/tt_pad_op.cc | 16 ---------- caffe2/experiments/operators/tt_pad_op.h | 16 ---------- .../experiments/python/SparseTransformer.py | 15 --------- .../experiments/python/convnet_benchmarks.py | 15 --------- .../python/device_reduce_sum_bench.py | 15 --------- caffe2/experiments/python/funhash_op_test.py | 15 --------- .../experiments/python/net_construct_bench.py | 15 --------- .../python/sparse_funhash_op_test.py | 15 --------- .../python/sparse_reshape_op_test.py | 15 --------- .../python/tt_contraction_op_test.py | 15 --------- caffe2/experiments/python/tt_pad_op_test.py | 15 --------- caffe2/image/image_input_op.cc | 16 ---------- caffe2/image/image_input_op.h | 16 ---------- caffe2/image/image_input_op_gpu.cc | 16 ---------- caffe2/image/transform_gpu.cu | 16 ---------- caffe2/image/transform_gpu.h | 16 ---------- caffe2/mkl/mkl_operator.cc | 16 ---------- caffe2/mkl/mkl_utils.h | 16 ---------- caffe2/mkl/mkl_utils_test.cc | 16 ---------- caffe2/mkl/mklmemory_serialization.cc | 16 ---------- caffe2/mkl/mklmemory_serialization_test.cc | 16 ---------- caffe2/mkl/operators/concat_op.cc | 16 ---------- caffe2/mkl/operators/conv_op.cc | 16 ---------- caffe2/mkl/operators/conv_op_mkldnn.cc | 16 ---------- caffe2/mkl/operators/elementwise_sum_op.cc | 16 ---------- caffe2/mkl/operators/fully_connected_op.cc | 16 ---------- .../local_response_normalization_op.cc | 16 ---------- caffe2/mkl/operators/operator_fallback_mkl.cc | 16 ---------- caffe2/mkl/operators/operator_fallback_mkl.h | 16 ---------- caffe2/mkl/operators/packed_fc_op.cc | 16 ---------- caffe2/mkl/operators/pool_op.cc | 16 ---------- caffe2/mkl/operators/relu_op.cc | 16 ---------- caffe2/mkl/operators/spatial_batch_norm_op.cc | 16 ---------- caffe2/mkl/operators/squeeze_op.cc | 16 ---------- caffe2/mkl/operators/utility_ops.cc | 16 ---------- caffe2/mkl/utils/mkl_context.cc | 16 ---------- caffe2/mkl/utils/mkl_context.h | 16 ---------- caffe2/mkl/utils/mkl_dnn_cppwrapper.h | 16 ---------- caffe2/mkl/utils/mkl_memory.cc | 16 ---------- caffe2/mkl/utils/mkl_memory.h | 16 ---------- caffe2/mkl/utils/mkl_operator.h | 16 ---------- caffe2/mkl/utils/mkl_version_check.h | 16 ---------- caffe2/mkl/utils/sgemm_pack.h | 16 ---------- .../mobile/contrib/arm-compute/core/net_gl.cc | 16 ---------- .../mobile/contrib/arm-compute/core/net_gl.h | 16 ---------- .../contrib/arm-compute/core/rewrite_net.cc | 16 ---------- .../contrib/arm-compute/core/rewrite_net.h | 16 ---------- caffe2/mobile/contrib/ios/ios_caffe.cc | 16 ---------- caffe2/mobile/contrib/ios/ios_caffe.h | 16 ---------- caffe2/mobile/contrib/ios/ios_caffe_defines.h | 16 ---------- .../mobile/contrib/ios/ios_caffe_predictor.cc | 16 ---------- .../mobile/contrib/ios/ios_caffe_predictor.h | 16 ---------- caffe2/mobile/contrib/ios/mpscnn/mpscnn.h | 16 ---------- caffe2/mobile/contrib/ios/mpscnn/mpscnn.mm | 16 ---------- .../contrib/ios/mpscnn/mpscnn_context.h | 16 ---------- .../contrib/ios/mpscnn/mpscnn_context.mm | 16 ---------- .../mobile/contrib/ios/mpscnn/mpscnn_graph.mm | 16 ---------- .../contrib/ios/mpscnn/mpscnn_graph_mask.h | 16 ---------- .../contrib/ios/mpscnn/mpscnn_graph_mask.mm | 16 ---------- .../contrib/ios/mpscnn/mpscnn_kernels.h | 16 ---------- .../mobile/contrib/ios/mpscnn/mpscnn_test.h | 16 ---------- .../mobile/contrib/ios/mpscnn/mpscnn_test.mm | 16 ---------- caffe2/mobile/contrib/ios/pool_test.cc | 16 ---------- caffe2/mobile/contrib/ios/resize_test.cc | 16 ---------- caffe2/mobile/contrib/nnapi/dlnnapi.h | 16 ---------- caffe2/mobile/contrib/nnapi/nnapi.cc | 16 ---------- caffe2/mobile/contrib/nnapi/nnapi.h | 16 ---------- caffe2/mobile/contrib/nnapi/nnapi_test.cc | 16 ---------- .../opengl/android/AndroidGLContext.cc | 16 ---------- .../contrib/opengl/android/AndroidGLContext.h | 16 ---------- .../contrib/opengl/android/GLContext.cc | 16 ---------- .../opengl/android/GLImageAllocator.cc | 16 ---------- .../contrib/opengl/android/arm_neon_support.h | 16 ---------- .../mobile/contrib/opengl/android/gl3stub.h | 16 ---------- .../contrib/opengl/core/DataTransfer.cc | 16 ---------- .../mobile/contrib/opengl/core/DataTransfer.h | 16 ---------- caffe2/mobile/contrib/opengl/core/GL.h | 16 ---------- .../mobile/contrib/opengl/core/GLContext.cc | 16 ---------- caffe2/mobile/contrib/opengl/core/GLContext.h | 16 ---------- caffe2/mobile/contrib/opengl/core/GLFilter.cc | 16 ---------- caffe2/mobile/contrib/opengl/core/GLFilter.h | 16 ---------- caffe2/mobile/contrib/opengl/core/GLImage.cc | 16 ---------- caffe2/mobile/contrib/opengl/core/GLImage.h | 16 ---------- .../contrib/opengl/core/GLImageAllocator.cc | 16 ---------- .../contrib/opengl/core/GLImageAllocator.h | 16 ---------- caffe2/mobile/contrib/opengl/core/GLLogging.h | 16 ---------- caffe2/mobile/contrib/opengl/core/GLPBO.cc | 16 ---------- caffe2/mobile/contrib/opengl/core/GLPBO.h | 16 ---------- .../contrib/opengl/core/GLPlainTexture.cc | 16 ---------- .../contrib/opengl/core/GLPlainTexture.h | 16 ---------- .../mobile/contrib/opengl/core/GLPredictor.cc | 16 ---------- .../mobile/contrib/opengl/core/GLPredictor.h | 16 ---------- .../mobile/contrib/opengl/core/GLTexture.cc | 16 ---------- caffe2/mobile/contrib/opengl/core/GLTexture.h | 16 ---------- .../contrib/opengl/core/ImageAllocator.h | 16 ---------- .../contrib/opengl/core/arm_neon_support.h | 16 ---------- .../mobile/contrib/opengl/core/rewrite_net.cc | 16 ---------- .../mobile/contrib/opengl/core/rewrite_net.h | 16 ---------- caffe2/mobile/contrib/opengl/ios/GLContext.cc | 16 ---------- .../contrib/opengl/ios/GLImageAllocator.cc | 16 ---------- .../mobile/contrib/opengl/ios/IOSGLContext.h | 16 ---------- .../mobile/contrib/opengl/ios/IOSGLContext.mm | 16 ---------- .../contrib/opengl/ios/IOSGLImageAllocator.cc | 16 ---------- .../contrib/opengl/ios/IOSGLImageAllocator.h | 16 ---------- .../mobile/contrib/opengl/ios/IOSGLTexture.h | 16 ---------- .../mobile/contrib/opengl/ios/IOSGLTexture.mm | 16 ---------- .../mobile/contrib/opengl/operators/GLAdd.cc | 16 ---------- .../contrib/opengl/operators/GLConcat.cc | 16 ---------- .../contrib/opengl/operators/GLConvolution.cc | 16 ---------- .../contrib/opengl/operators/GLConvolution.h | 16 ---------- .../contrib/opengl/operators/GLCopyOps.cc | 16 ---------- .../opengl/operators/GLInstanceNorm.cc | 16 ---------- .../mobile/contrib/opengl/operators/GLMul.cc | 16 ---------- .../opengl/operators/GLNormPlanarYUV.cc | 16 ---------- .../contrib/opengl/operators/GLPRelu.cc | 16 ---------- .../contrib/opengl/operators/GLPadImage.cc | 16 ---------- .../mobile/contrib/opengl/operators/GLPool.cc | 16 ---------- .../contrib/opengl/operators/GLResize.cc | 16 ---------- .../contrib/opengl/operators/GLSigmoid.cc | 16 ---------- .../contrib/opengl/operators/GLSoftmax.cc | 16 ---------- .../contrib/opengl/operators/GLStylizer.cc | 16 ---------- .../mobile/contrib/opengl/operators/GLSub.cc | 16 ---------- .../opengl/operators/gl_tiling_utils.h | 16 ---------- .../contrib/opengl/test/TestGLConvolution.cc | 16 ---------- .../contrib/opengl/test/TestGLConvolution.h | 16 ---------- .../mobile/contrib/opengl/test/opengl_test.cc | 16 ---------- .../mobile/contrib/opengl/test/opengl_test.h | 16 ---------- caffe2/mobile/contrib/snpe/snpe_ffi.cc | 16 ---------- caffe2/mobile/contrib/snpe/snpe_ffi.h | 16 ---------- caffe2/mobile/contrib/snpe/snpe_globals.cc | 16 ---------- caffe2/mobile/contrib/snpe/snpe_op.cc | 16 ---------- .../mobile/contrib/snpe/snpe_op_benchmark.cc | 16 ---------- caffe2/mobile/contrib/ulp2/ulp.cc | 16 ---------- caffe2/mobile/contrib/ulp2/ulp.h | 16 ---------- caffe2/mobile/contrib/ulp2/ulp_neon.cc | 16 ---------- caffe2/mobile/contrib/ulp2/ulp_neon.h | 16 ---------- caffe2/mobile/contrib/ulp2/ulp_test.cc | 16 ---------- caffe2/mpi/mpi_common.cc | 16 ---------- caffe2/mpi/mpi_common.h | 16 ---------- caffe2/mpi/mpi_gpu_test.cc | 16 ---------- caffe2/mpi/mpi_ops.cc | 16 ---------- caffe2/mpi/mpi_ops.h | 16 ---------- caffe2/mpi/mpi_ops_gpu.cc | 16 ---------- caffe2/mpi/mpi_test.cc | 16 ---------- .../operator_attaching_net_observer.h | 16 ---------- caffe2/observers/time_observer.cc | 16 ---------- caffe2/observers/time_observer.h | 16 ---------- caffe2/observers/time_observer_test.cc | 16 ---------- caffe2/onnx/backend.cc | 16 ---------- caffe2/onnx/backend.h | 16 ---------- caffe2/onnx/backend_rep.cc | 16 ---------- caffe2/onnx/backend_rep.h | 16 ---------- caffe2/onnx/device.cc | 16 ---------- caffe2/onnx/device.h | 16 ---------- caffe2/onnx/helper.cc | 16 ---------- caffe2/onnx/helper.h | 16 ---------- caffe2/onnx/onnx_exporter.cc | 16 ---------- caffe2/onnx/onnx_exporter.h | 16 ---------- caffe2/operators/abs_op.cc | 16 ---------- caffe2/operators/abs_op.cu | 16 ---------- caffe2/operators/accumulate_op.cc | 16 ---------- caffe2/operators/accumulate_op.cu | 16 ---------- caffe2/operators/accumulate_op.h | 16 ---------- caffe2/operators/accuracy_op.cc | 16 ---------- caffe2/operators/accuracy_op.cu | 16 ---------- caffe2/operators/accuracy_op.h | 16 ---------- caffe2/operators/apmeter_op.cc | 16 ---------- caffe2/operators/apmeter_op.h | 16 ---------- caffe2/operators/arg_max_op.cc | 16 ---------- caffe2/operators/arg_max_op.h | 16 ---------- caffe2/operators/arg_ops.cc | 16 ---------- caffe2/operators/arg_ops.cu | 16 ---------- caffe2/operators/arg_ops.h | 16 ---------- caffe2/operators/arg_ops_eigen.h | 16 ---------- caffe2/operators/assert_op.cc | 15 --------- caffe2/operators/assert_op.cu | 15 --------- caffe2/operators/assert_op.h | 15 --------- caffe2/operators/atomic_ops.cc | 16 ---------- caffe2/operators/batch_box_cox_op.cc | 16 ---------- caffe2/operators/batch_box_cox_op.h | 16 ---------- caffe2/operators/batch_gather_ops.cc | 16 ---------- caffe2/operators/batch_gather_ops.cu | 16 ---------- caffe2/operators/batch_gather_ops.h | 16 ---------- caffe2/operators/batch_matmul_op.cc | 16 ---------- caffe2/operators/batch_matmul_op.cu | 16 ---------- caffe2/operators/batch_matmul_op.h | 15 --------- caffe2/operators/batch_matmul_op_gpu_test.cc | 16 ---------- caffe2/operators/batch_matmul_op_test.cc | 16 ---------- caffe2/operators/boolean_mask_ops.cc | 16 ---------- caffe2/operators/boolean_mask_ops.cu | 16 ---------- caffe2/operators/boolean_mask_ops.h | 16 ---------- caffe2/operators/boolean_unmask_ops.cc | 16 ---------- caffe2/operators/boolean_unmask_ops.cu | 16 ---------- caffe2/operators/boolean_unmask_ops.h | 16 ---------- caffe2/operators/boolean_unmask_ops_test.cc | 16 ---------- caffe2/operators/cast_op.cc | 16 ---------- caffe2/operators/cast_op.cu | 16 ---------- caffe2/operators/cast_op.h | 16 ---------- caffe2/operators/ceil_op.cc | 16 ---------- caffe2/operators/ceil_op.cu | 16 ---------- caffe2/operators/ceil_op.h | 16 ---------- caffe2/operators/channel_backprop_stats_op.cc | 16 ---------- caffe2/operators/channel_backprop_stats_op.cu | 16 ---------- caffe2/operators/channel_backprop_stats_op.h | 16 ---------- caffe2/operators/channel_shuffle_op.cc | 16 ---------- caffe2/operators/channel_shuffle_op.h | 16 ---------- caffe2/operators/channel_shuffle_op_gpu.cu | 16 ---------- caffe2/operators/channel_stats_op.cc | 16 ---------- caffe2/operators/channel_stats_op.cu | 16 ---------- caffe2/operators/channel_stats_op.h | 16 ---------- caffe2/operators/clip_op.cc | 16 ---------- caffe2/operators/clip_op.cu | 16 ---------- caffe2/operators/clip_op.h | 16 ---------- ...ect_and_distribute_fpn_rpn_proposals_op.cc | 16 ---------- ...lect_and_distribute_fpn_rpn_proposals_op.h | 16 ---------- caffe2/operators/communicator_op.cc | 16 ---------- caffe2/operators/communicator_op_gpu.cc | 16 ---------- caffe2/operators/concat_split_op.cc | 16 ---------- caffe2/operators/concat_split_op.h | 16 ---------- caffe2/operators/concat_split_op_gpu.cc | 16 ---------- caffe2/operators/conditional_op.cc | 16 ---------- caffe2/operators/conditional_op.h | 16 ---------- caffe2/operators/conv_gradient_op.cc | 16 ---------- caffe2/operators/conv_op.cc | 16 ---------- caffe2/operators/conv_op.h | 16 ---------- caffe2/operators/conv_op_cache_cudnn.cc | 16 ---------- caffe2/operators/conv_op_cache_cudnn.h | 16 ---------- caffe2/operators/conv_op_cache_cudnn_test.cc | 16 ---------- caffe2/operators/conv_op_cudnn.cc | 16 ---------- caffe2/operators/conv_op_eigen.cc | 16 ---------- caffe2/operators/conv_op_gpu.cc | 16 ---------- caffe2/operators/conv_op_impl.h | 16 ---------- caffe2/operators/conv_op_shared.cc | 16 ---------- caffe2/operators/conv_op_shared.h | 16 ---------- caffe2/operators/conv_op_shared_gpu.cc | 16 ---------- caffe2/operators/conv_pool_op_base.h | 16 ---------- .../operators/conv_transpose_gradient_op.cc | 16 ---------- caffe2/operators/conv_transpose_op.cc | 16 ---------- caffe2/operators/conv_transpose_op.h | 16 ---------- caffe2/operators/conv_transpose_op_cudnn.cc | 16 ---------- caffe2/operators/conv_transpose_op_gpu.cc | 16 ---------- caffe2/operators/conv_transpose_op_impl.h | 16 ---------- caffe2/operators/conv_transpose_op_mobile.cc | 16 ---------- caffe2/operators/conv_transpose_op_mobile.h | 16 ---------- .../operators/conv_transpose_op_mobile_impl.h | 16 ---------- .../conv_transpose_op_mobile_test.cc | 16 ---------- .../operators/conv_transpose_unpool_op_base.h | 16 ---------- caffe2/operators/cos_op.cc | 16 ---------- caffe2/operators/cos_op.cu | 16 ---------- .../cosine_embedding_criterion_op.cc | 16 ---------- .../cosine_embedding_criterion_op.cu | 16 ---------- .../operators/cosine_embedding_criterion_op.h | 16 ---------- caffe2/operators/counter_ops.cc | 16 ---------- caffe2/operators/counter_ops.h | 16 ---------- caffe2/operators/counter_ops_gpu.cc | 16 ---------- caffe2/operators/create_scope_op.cc | 16 ---------- caffe2/operators/create_scope_op.h | 16 ---------- caffe2/operators/cross_entropy_op.cc | 16 ---------- caffe2/operators/cross_entropy_op.cu | 16 ---------- caffe2/operators/cross_entropy_op.h | 16 ---------- caffe2/operators/dataset_ops.cc | 16 ---------- caffe2/operators/dataset_ops.h | 16 ---------- caffe2/operators/deform_conv_gradient_op.cc | 16 ---------- caffe2/operators/deform_conv_op.cc | 16 ---------- caffe2/operators/deform_conv_op.cu | 16 ---------- caffe2/operators/deform_conv_op.h | 16 ---------- caffe2/operators/deform_conv_op_impl.h | 16 ---------- caffe2/operators/distance_op.cc | 16 ---------- caffe2/operators/distance_op.cu | 16 ---------- caffe2/operators/distance_op.h | 16 ---------- caffe2/operators/do_op.cc | 16 ---------- caffe2/operators/do_op.h | 16 ---------- caffe2/operators/do_op_gpu.cc | 16 ---------- caffe2/operators/dropout_op.cc | 16 ---------- caffe2/operators/dropout_op.cu | 16 ---------- caffe2/operators/dropout_op.h | 16 ---------- caffe2/operators/dropout_op_cudnn.cc | 16 ---------- caffe2/operators/elementwise_add_op.cc | 16 ---------- caffe2/operators/elementwise_div_op.cc | 16 ---------- caffe2/operators/elementwise_linear_op.cc | 16 ---------- caffe2/operators/elementwise_linear_op.cu | 16 ---------- caffe2/operators/elementwise_linear_op.h | 16 ---------- caffe2/operators/elementwise_logical_ops.cc | 16 ---------- caffe2/operators/elementwise_logical_ops.h | 16 ---------- caffe2/operators/elementwise_mul_op.cc | 16 ---------- caffe2/operators/elementwise_op.cc | 16 ---------- caffe2/operators/elementwise_op.cu | 16 ---------- caffe2/operators/elementwise_op.h | 16 ---------- caffe2/operators/elementwise_op_gpu_test.cc | 16 ---------- caffe2/operators/elementwise_op_schema.cc | 16 ---------- caffe2/operators/elementwise_op_test.cc | 16 ---------- caffe2/operators/elementwise_op_test.h | 16 ---------- caffe2/operators/elementwise_sub_op.cc | 16 ---------- caffe2/operators/elementwise_sum_op.cc | 16 ---------- caffe2/operators/elu_op.cc | 16 ---------- caffe2/operators/elu_op.cu | 16 ---------- caffe2/operators/elu_op.h | 16 ---------- caffe2/operators/exp_op.cc | 16 ---------- caffe2/operators/exp_op.cu | 16 ---------- caffe2/operators/expand_squeeze_dims_op.cc | 16 ---------- caffe2/operators/expand_squeeze_dims_op.h | 16 ---------- .../operators/expand_squeeze_dims_op_gpu.cc | 16 ---------- caffe2/operators/extend_tensor_op.cc | 16 ---------- caffe2/operators/feed_blob_op.cc | 16 ---------- caffe2/operators/feed_blob_op.h | 16 ---------- caffe2/operators/filler_op.cc | 16 ---------- caffe2/operators/filler_op.cu | 16 ---------- caffe2/operators/filler_op.h | 16 ---------- caffe2/operators/filler_op_gpu.cc | 16 ---------- .../operators/find_duplicate_elements_op.cc | 16 ---------- caffe2/operators/find_duplicate_elements_op.h | 16 ---------- caffe2/operators/find_op.cc | 16 ---------- caffe2/operators/find_op.cu | 16 ---------- caffe2/operators/find_op.h | 16 ---------- caffe2/operators/flatten_op.cc | 16 ---------- caffe2/operators/flatten_op.h | 16 ---------- caffe2/operators/floor_op.cc | 16 ---------- caffe2/operators/floor_op.cu | 16 ---------- caffe2/operators/floor_op.h | 16 ---------- caffe2/operators/free_op.cc | 16 ---------- caffe2/operators/free_op.h | 16 ---------- caffe2/operators/free_op_gpu.cc | 16 ---------- caffe2/operators/fully_connected_op.cc | 16 ---------- caffe2/operators/fully_connected_op.h | 16 ---------- caffe2/operators/fully_connected_op_gpu.cc | 16 ---------- .../fused_rowwise_8bit_conversion_ops.cc | 16 ---------- .../fused_rowwise_8bit_conversion_ops.h | 16 ---------- caffe2/operators/gather_ranges_to_dense_op.cc | 16 ---------- caffe2/operators/gather_ranges_to_dense_op.h | 16 ---------- caffe2/operators/generate_proposals_op.cc | 16 ---------- caffe2/operators/generate_proposals_op.h | 16 ---------- .../operators/generate_proposals_op_test.cc | 16 ---------- .../generate_proposals_op_util_boxes.h | 16 ---------- .../generate_proposals_op_util_boxes_test.cc | 16 ---------- .../generate_proposals_op_util_nms.h | 16 ---------- .../generate_proposals_op_util_nms_test.cc | 16 ---------- caffe2/operators/given_tensor_fill_op.cc | 16 ---------- caffe2/operators/given_tensor_fill_op.cu | 16 ---------- caffe2/operators/given_tensor_fill_op.h | 16 ---------- caffe2/operators/gru_unit_op.cc | 16 ---------- caffe2/operators/gru_unit_op.h | 16 ---------- caffe2/operators/gru_unit_op_gpu.cu | 16 ---------- caffe2/operators/h_softmax_op.cc | 16 ---------- caffe2/operators/h_softmax_op.h | 16 ---------- caffe2/operators/half_float_ops.cc | 16 ---------- caffe2/operators/half_float_ops.cu | 16 ---------- caffe2/operators/half_float_ops.h | 16 ---------- caffe2/operators/if_op.cc | 16 ---------- caffe2/operators/if_op.h | 16 ---------- caffe2/operators/if_op_gpu.cc | 16 ---------- caffe2/operators/im2col_op.cc | 16 ---------- caffe2/operators/im2col_op.h | 16 ---------- caffe2/operators/im2col_op_gpu.cc | 16 ---------- caffe2/operators/index_hash_ops.cc | 16 ---------- caffe2/operators/index_hash_ops.h | 16 ---------- caffe2/operators/index_ops.cc | 16 ---------- caffe2/operators/instance_norm_gradient_op.cc | 16 ---------- caffe2/operators/instance_norm_op.cc | 16 ---------- caffe2/operators/instance_norm_op.cu | 16 ---------- caffe2/operators/instance_norm_op.h | 16 ---------- caffe2/operators/jsd_op.cc | 16 ---------- caffe2/operators/jsd_op.h | 16 ---------- caffe2/operators/key_split_ops.cc | 16 ---------- caffe2/operators/key_split_ops.h | 16 ---------- caffe2/operators/last_n_window_collector.cc | 16 ---------- caffe2/operators/layer_norm_op.cc | 16 ---------- caffe2/operators/layer_norm_op.cu | 16 ---------- caffe2/operators/layer_norm_op.h | 16 ---------- caffe2/operators/leaky_relu_op.cc | 16 ---------- caffe2/operators/leaky_relu_op.cu | 16 ---------- caffe2/operators/leaky_relu_op.h | 16 ---------- .../lengths_reducer_fused_8bit_rowwise_ops.cc | 16 ---------- .../lengths_reducer_fused_8bit_rowwise_ops.h | 16 ---------- caffe2/operators/lengths_reducer_ops.cc | 16 ---------- caffe2/operators/lengths_reducer_ops.h | 16 ---------- .../lengths_reducer_rowwise_8bit_ops.cc | 16 ---------- .../lengths_reducer_rowwise_8bit_ops.h | 16 ---------- caffe2/operators/lengths_tile_op.cc | 16 ---------- caffe2/operators/lengths_tile_op.h | 16 ---------- caffe2/operators/lengths_tile_op_gpu.cc | 16 ---------- caffe2/operators/lengths_top_k_op.cc | 16 ---------- caffe2/operators/lengths_top_k_op.h | 16 ---------- caffe2/operators/load_save_op.cc | 16 ---------- caffe2/operators/load_save_op.h | 16 ---------- caffe2/operators/load_save_op_gpu.cc | 16 ---------- .../local_response_normalization_op.cc | 16 ---------- .../local_response_normalization_op.cu | 16 ---------- .../local_response_normalization_op.h | 16 ---------- .../local_response_normalization_op_cudnn.cc | 16 ---------- caffe2/operators/locally_connected_op.cc | 16 ---------- caffe2/operators/locally_connected_op.h | 16 ---------- caffe2/operators/locally_connected_op_gpu.cc | 16 ---------- caffe2/operators/locally_connected_op_impl.h | 16 ---------- caffe2/operators/locally_connected_op_util.h | 16 ---------- caffe2/operators/log_op.cc | 16 ---------- caffe2/operators/log_op.cu | 16 ---------- caffe2/operators/logit_op.cc | 15 --------- caffe2/operators/logit_op.cu | 16 ---------- caffe2/operators/loss_op.cc | 16 ---------- caffe2/operators/loss_op.cu | 16 ---------- caffe2/operators/loss_op.h | 16 ---------- caffe2/operators/lp_pool_op.cc | 16 ---------- caffe2/operators/lp_pool_op.cu | 16 ---------- caffe2/operators/lpnorm_op.cc | 16 ---------- caffe2/operators/lpnorm_op.h | 16 ---------- caffe2/operators/lstm_unit_op.cc | 16 ---------- caffe2/operators/lstm_unit_op.h | 16 ---------- caffe2/operators/lstm_unit_op_gpu.cu | 16 ---------- caffe2/operators/map_ops.cc | 16 ---------- caffe2/operators/map_ops.h | 16 ---------- .../operators/margin_ranking_criterion_op.cc | 16 ---------- .../operators/margin_ranking_criterion_op.cu | 16 ---------- .../operators/margin_ranking_criterion_op.h | 16 ---------- caffe2/operators/math_ops.cc | 16 ---------- caffe2/operators/math_ops.cu | 16 ---------- caffe2/operators/math_ops.h | 16 ---------- caffe2/operators/matmul_op.cc | 16 ---------- caffe2/operators/matmul_op.h | 16 ---------- caffe2/operators/matmul_op_gpu.cc | 16 ---------- caffe2/operators/max_pool_with_index.cu | 16 ---------- caffe2/operators/max_pool_with_index.h | 16 ---------- caffe2/operators/mean_op.cc | 16 ---------- caffe2/operators/mean_op.cu | 15 --------- caffe2/operators/mean_op.h | 16 ---------- caffe2/operators/mem_query_op.cu | 16 ---------- caffe2/operators/merge_id_lists_op.cc | 16 ---------- caffe2/operators/merge_id_lists_op.h | 16 ---------- caffe2/operators/minmax_gradient_ops.cc | 16 ---------- caffe2/operators/minmax_ops.cc | 16 ---------- caffe2/operators/minmax_ops.h | 16 ---------- caffe2/operators/mod_op.cc | 16 ---------- caffe2/operators/mod_op.h | 16 ---------- caffe2/operators/multi_class_accuracy_op.cc | 16 ---------- caffe2/operators/multi_class_accuracy_op.cu | 16 ---------- caffe2/operators/multi_class_accuracy_op.h | 16 ---------- caffe2/operators/negative_op.cc | 16 ---------- caffe2/operators/negative_op.cu | 16 ---------- caffe2/operators/ngram_ops.cc | 16 ---------- caffe2/operators/ngram_ops.h | 16 ---------- caffe2/operators/no_default_engine_op.h | 16 ---------- caffe2/operators/norm_planar_yuv_op.cc | 16 ---------- caffe2/operators/normalize_l1_op.cc | 16 ---------- caffe2/operators/normalize_l1_op.h | 16 ---------- caffe2/operators/normalize_op.cc | 16 ---------- caffe2/operators/normalize_op.h | 16 ---------- caffe2/operators/normalize_ops.cu | 16 ---------- caffe2/operators/one_hot_ops.cc | 16 ---------- caffe2/operators/one_hot_ops.cu | 16 ---------- caffe2/operators/one_hot_ops.h | 16 ---------- caffe2/operators/onnx_while_op.cc | 16 ---------- caffe2/operators/onnx_while_op.h | 16 ---------- caffe2/operators/op_utils_cudnn.h | 16 ---------- caffe2/operators/operator_fallback_gpu.h | 16 ---------- .../operators/operator_fallback_gpu_test.cc | 16 ---------- caffe2/operators/order_switch_ops.cc | 16 ---------- caffe2/operators/order_switch_ops.cu | 16 ---------- caffe2/operators/order_switch_ops.h | 16 ---------- caffe2/operators/pack_rnn_sequence_op.cc | 16 ---------- caffe2/operators/pack_rnn_sequence_op.h | 16 ---------- caffe2/operators/pack_segments.cc | 16 ---------- caffe2/operators/pack_segments.h | 16 ---------- caffe2/operators/pad_op.cc | 16 ---------- caffe2/operators/pad_op.h | 16 ---------- caffe2/operators/pad_op_gpu.cu | 16 ---------- caffe2/operators/partition_ops.cc | 16 ---------- caffe2/operators/partition_ops.h | 16 ---------- caffe2/operators/perplexity_op.cc | 16 ---------- caffe2/operators/perplexity_op.cu | 16 ---------- caffe2/operators/perplexity_op.h | 16 ---------- .../piecewise_linear_transform_op.cc | 16 ---------- .../piecewise_linear_transform_op.cu | 16 ---------- .../operators/piecewise_linear_transform_op.h | 16 ---------- caffe2/operators/pool_gradient_op.cc | 16 ---------- caffe2/operators/pool_op.cc | 16 ---------- caffe2/operators/pool_op.cu | 16 ---------- caffe2/operators/pool_op.h | 16 ---------- caffe2/operators/pool_op_cudnn.cu | 16 ---------- caffe2/operators/pow_op.cc | 16 ---------- caffe2/operators/pow_op.cu | 16 ---------- caffe2/operators/pow_op.h | 16 ---------- caffe2/operators/prefetch_op.h | 16 ---------- caffe2/operators/prelu_op.cc | 16 ---------- caffe2/operators/prelu_op.cu | 16 ---------- caffe2/operators/prelu_op.h | 16 ---------- caffe2/operators/prepend_dim_op.cc | 16 ---------- caffe2/operators/prepend_dim_op.h | 16 ---------- caffe2/operators/prepend_dim_op_gpu.cc | 16 ---------- caffe2/operators/quant_decode_op.cc | 16 ---------- caffe2/operators/quant_decode_op.h | 16 ---------- caffe2/operators/rank_loss_op.cc | 16 ---------- caffe2/operators/rank_loss_op.h | 16 ---------- .../recurrent_network_blob_fetcher_op.cc | 16 ---------- .../recurrent_network_blob_fetcher_op.h | 16 ---------- .../recurrent_network_blob_fetcher_op_gpu.cc | 16 ---------- .../operators/recurrent_network_executor.cc | 16 ---------- caffe2/operators/recurrent_network_executor.h | 16 ---------- .../recurrent_network_executor_gpu.cc | 16 ---------- .../recurrent_network_executor_gpu.h | 16 ---------- .../recurrent_network_executor_incl.h | 16 ---------- caffe2/operators/recurrent_network_op.cc | 16 ---------- caffe2/operators/recurrent_network_op.h | 16 ---------- caffe2/operators/recurrent_network_op_gpu.cu | 16 ---------- caffe2/operators/recurrent_op_cudnn.cc | 16 ---------- caffe2/operators/recurrent_op_cudnn.h | 16 ---------- caffe2/operators/reduce_ops.cc | 16 ---------- caffe2/operators/reduce_ops.h | 16 ---------- caffe2/operators/reducer_functors.h | 16 ---------- caffe2/operators/reduction_front_back_ops.cc | 16 ---------- caffe2/operators/reduction_front_back_ops.cu | 16 ---------- caffe2/operators/reduction_front_back_ops.h | 16 ---------- caffe2/operators/reduction_ops.cc | 16 ---------- caffe2/operators/reduction_ops.cu | 16 ---------- caffe2/operators/reduction_ops.h | 16 ---------- caffe2/operators/relu_op.cc | 16 ---------- caffe2/operators/relu_op.cu | 16 ---------- caffe2/operators/relu_op.h | 16 ---------- caffe2/operators/relu_op_cudnn.cc | 16 ---------- caffe2/operators/relu_op_fp16.cu | 16 ---------- caffe2/operators/remove_data_blocks_op.cc | 16 ---------- caffe2/operators/remove_data_blocks_op.h | 16 ---------- caffe2/operators/replace_nan_op.cc | 16 ---------- caffe2/operators/replace_nan_op.h | 16 ---------- caffe2/operators/reservoir_sampling.cc | 16 ---------- caffe2/operators/reshape_op.cc | 16 ---------- caffe2/operators/reshape_op.h | 16 ---------- caffe2/operators/reshape_op_gpu.cc | 16 ---------- caffe2/operators/reshape_op_gpu_test.cc | 16 ---------- caffe2/operators/resize_op.cc | 16 ---------- caffe2/operators/resize_op.cu | 16 ---------- caffe2/operators/resize_op.h | 16 ---------- caffe2/operators/reverse_packed_segs_op.cc | 16 ---------- caffe2/operators/reverse_packed_segs_op.cu | 16 ---------- caffe2/operators/reverse_packed_segs_op.h | 16 ---------- caffe2/operators/rmac_regions_op.cc | 16 ---------- caffe2/operators/rmac_regions_op.cu | 16 ---------- caffe2/operators/rmac_regions_op.h | 16 ---------- caffe2/operators/roi_pool_op.cc | 16 ---------- caffe2/operators/roi_pool_op.cu | 16 ---------- caffe2/operators/roi_pool_op.h | 16 ---------- caffe2/operators/rowmul_op.cc | 16 ---------- caffe2/operators/rowmul_op.h | 16 ---------- caffe2/operators/scale_op.cc | 16 ---------- caffe2/operators/scale_op.h | 16 ---------- caffe2/operators/scale_op_gpu.cc | 16 ---------- caffe2/operators/segment_reduction_op.cc | 16 ---------- caffe2/operators/segment_reduction_op.h | 16 ---------- caffe2/operators/segment_reduction_op_gpu.cu | 16 ---------- caffe2/operators/sequence_ops.cc | 16 ---------- caffe2/operators/sequence_ops.cu | 16 ---------- caffe2/operators/sequence_ops.h | 16 ---------- caffe2/operators/shape_op.cc | 16 ---------- caffe2/operators/shape_op.h | 16 ---------- caffe2/operators/shape_op_gpu.cc | 16 ---------- caffe2/operators/sigmoid_op.cc | 16 ---------- caffe2/operators/sigmoid_op.cu | 16 ---------- caffe2/operators/sin_op.cc | 16 ---------- caffe2/operators/sin_op.cu | 16 ---------- .../sinusoid_position_encoding_op.cc | 16 ---------- .../operators/sinusoid_position_encoding_op.h | 16 ---------- caffe2/operators/slice_op.cc | 16 ---------- caffe2/operators/slice_op.cu | 16 ---------- caffe2/operators/slice_op.h | 16 ---------- caffe2/operators/softmax_op.cc | 16 ---------- caffe2/operators/softmax_op.h | 16 ---------- caffe2/operators/softmax_op_cudnn.cc | 16 ---------- caffe2/operators/softmax_ops.cu | 16 ---------- caffe2/operators/softmax_shared.cc | 16 ---------- caffe2/operators/softmax_shared.h | 16 ---------- caffe2/operators/softmax_with_loss_op.cc | 16 ---------- caffe2/operators/softmax_with_loss_op.h | 16 ---------- caffe2/operators/softplus_op.cc | 16 ---------- caffe2/operators/softplus_op.cu | 16 ---------- caffe2/operators/softplus_op.h | 16 ---------- caffe2/operators/softsign_op.cc | 16 ---------- caffe2/operators/softsign_op.cu | 16 ---------- caffe2/operators/space_batch_op.cc | 16 ---------- caffe2/operators/space_batch_op.h | 16 ---------- caffe2/operators/space_batch_op_gpu.cu | 16 ---------- caffe2/operators/sparse_normalize_op.cc | 16 ---------- caffe2/operators/sparse_normalize_op.h | 16 ---------- caffe2/operators/sparse_to_dense_mask_op.cc | 16 ---------- caffe2/operators/sparse_to_dense_mask_op.h | 16 ---------- caffe2/operators/sparse_to_dense_op.cc | 16 ---------- caffe2/operators/sparse_to_dense_op.cu | 16 ---------- caffe2/operators/sparse_to_dense_op.h | 16 ---------- .../spatial_batch_norm_gradient_op.cc | 16 ---------- caffe2/operators/spatial_batch_norm_op.cc | 16 ---------- caffe2/operators/spatial_batch_norm_op.h | 16 ---------- .../operators/spatial_batch_norm_op_cudnn.cc | 16 ---------- .../operators/spatial_softmax_with_loss_op.cc | 16 ---------- .../operators/spatial_softmax_with_loss_op.h | 16 ---------- caffe2/operators/sqrt_op.cc | 16 ---------- caffe2/operators/sqrt_op.cu | 16 ---------- caffe2/operators/square_root_divide_op.cc | 16 ---------- caffe2/operators/square_root_divide_op.h | 16 ---------- caffe2/operators/stats_ops.cc | 16 ---------- caffe2/operators/stop_gradient.cc | 16 ---------- caffe2/operators/stop_gradient.h | 16 ---------- caffe2/operators/stop_gradient_gpu.cc | 16 ---------- caffe2/operators/string_ops.cc | 16 ---------- caffe2/operators/string_ops.h | 16 ---------- caffe2/operators/string_ops_test.cc | 16 ---------- caffe2/operators/stylizer_ops.cc | 16 ---------- caffe2/operators/summarize_op.cc | 16 ---------- caffe2/operators/summarize_op.cu | 16 ---------- caffe2/operators/summarize_op.h | 16 ---------- caffe2/operators/swish_op.cc | 16 ---------- caffe2/operators/swish_op.cu | 16 ---------- caffe2/operators/swish_op.h | 16 ---------- caffe2/operators/tanh_op.cc | 16 ---------- caffe2/operators/tanh_op.cu | 16 ---------- caffe2/operators/tensor_protos_db_input.cc | 16 ---------- caffe2/operators/tensor_protos_db_input.h | 16 ---------- .../operators/tensor_protos_db_input_gpu.cc | 16 ---------- caffe2/operators/text_file_reader.cc | 16 ---------- caffe2/operators/text_file_reader_utils.cc | 16 ---------- caffe2/operators/text_file_reader_utils.h | 16 ---------- .../operators/text_file_reader_utils_test.cc | 16 ---------- caffe2/operators/thresholded_relu_op.cc | 16 ---------- caffe2/operators/thresholded_relu_op.cu | 16 ---------- caffe2/operators/thresholded_relu_op.h | 16 ---------- caffe2/operators/tile_op.cc | 16 ---------- caffe2/operators/tile_op.cu | 16 ---------- caffe2/operators/tile_op.h | 16 ---------- caffe2/operators/top_k.cc | 16 ---------- caffe2/operators/top_k.cu | 16 ---------- caffe2/operators/top_k.h | 16 ---------- caffe2/operators/transpose_op.cc | 16 ---------- caffe2/operators/transpose_op.cu | 16 ---------- caffe2/operators/transpose_op.h | 16 ---------- caffe2/operators/transpose_op_cudnn.cc | 16 ---------- caffe2/operators/tt_linear_op.cc | 16 ---------- caffe2/operators/tt_linear_op.h | 16 ---------- caffe2/operators/utility_ops.cc | 16 ---------- caffe2/operators/utility_ops.cu | 16 ---------- caffe2/operators/utility_ops.h | 16 ---------- caffe2/operators/utility_ops_gpu.cc | 16 ---------- caffe2/operators/utility_ops_gpu_test.cc | 16 ---------- caffe2/operators/utility_ops_test.cc | 16 ---------- .../variable_length_sequence_padding.cc | 16 ---------- .../variable_length_sequence_padding.h | 16 ---------- caffe2/operators/while_op.cc | 16 ---------- caffe2/operators/while_op.h | 16 ---------- caffe2/operators/while_op_gpu.cc | 16 ---------- caffe2/operators/workspace_ops.cc | 16 ---------- caffe2/operators/zero_gradient_op.cc | 16 ---------- caffe2/operators/zero_gradient_op.h | 16 ---------- caffe2/operators/zero_gradient_op_gpu.cc | 16 ---------- caffe2/perfkernels/common.h | 16 ---------- caffe2/perfkernels/common_avx.cc | 16 ---------- caffe2/perfkernels/common_avx2.cc | 16 ---------- caffe2/perfkernels/cvtsh_ss_bugfix.h | 16 ---------- caffe2/perfkernels/embedding_lookup.cc | 16 ---------- caffe2/perfkernels/embedding_lookup.h | 16 ---------- caffe2/perfkernels/embedding_lookup_avx2.cc | 16 ---------- ...mbedding_lookup_fused_8bit_rowwise_avx2.cc | 16 ---------- .../fused_8bit_rowwise_embedding_lookup.cc | 16 ---------- .../fused_8bit_rowwise_embedding_lookup.h | 16 ---------- caffe2/perfkernels/hp_emblookup_codegen.py | 32 ------------------- caffe2/perfkernels/typed_axpy.cc | 16 ---------- caffe2/perfkernels/typed_axpy.h | 16 ---------- caffe2/perfkernels/typed_axpy_avx.cc | 16 ---------- caffe2/perfkernels/typed_axpy_avx2.cc | 16 ---------- caffe2/python/_import_c_extension.py | 15 --------- caffe2/python/allcompare_test.py | 15 --------- caffe2/python/attention.py | 15 --------- caffe2/python/benchmark_generator.py | 15 --------- caffe2/python/binarysize.py | 15 --------- caffe2/python/brew.py | 15 --------- caffe2/python/brew_test.py | 15 --------- caffe2/python/build.py | 15 --------- caffe2/python/cached_reader.py | 15 --------- caffe2/python/caffe_translator.py | 15 --------- caffe2/python/caffe_translator_test.py | 15 --------- caffe2/python/checkpoint.py | 15 --------- caffe2/python/checkpoint_test.py | 15 --------- caffe2/python/cnn.py | 15 --------- caffe2/python/context.py | 15 --------- caffe2/python/context_test.py | 15 --------- caffe2/python/control.py | 15 --------- caffe2/python/control_ops_grad.py | 15 --------- caffe2/python/control_ops_util.py | 15 --------- caffe2/python/control_test.py | 15 --------- caffe2/python/convnet_benchmarks.py | 15 --------- caffe2/python/convnet_benchmarks_test.py | 15 --------- caffe2/python/core.py | 15 --------- caffe2/python/core_gradients_test.py | 15 --------- caffe2/python/core_test.py | 15 --------- caffe2/python/crf.py | 15 --------- caffe2/python/data_parallel_model.py | 15 --------- caffe2/python/data_parallel_model_test.py | 15 --------- caffe2/python/data_parallel_model_utils.py | 15 --------- caffe2/python/data_workers.py | 15 --------- caffe2/python/data_workers_test.py | 15 --------- caffe2/python/dataio.py | 15 --------- caffe2/python/dataio_test.py | 15 --------- caffe2/python/dataset.py | 15 --------- caffe2/python/db_test.py | 15 --------- caffe2/python/device_checker.py | 15 --------- caffe2/python/docs/formatter.py | 15 --------- caffe2/python/docs/generator.py | 15 --------- caffe2/python/docs/github.py | 15 --------- caffe2/python/docs/parser.py | 15 --------- caffe2/python/dyndep.py | 15 --------- .../python/embedding_generation_benchmark.py | 15 --------- caffe2/python/examples/char_rnn.py | 15 --------- caffe2/python/examples/lmdb_create_example.py | 15 --------- caffe2/python/examples/resnet50_trainer.py | 15 --------- caffe2/python/experiment_util.py | 15 --------- caffe2/python/extension_loader.py | 15 --------- caffe2/python/functional.py | 15 --------- caffe2/python/functional_test.py | 15 --------- .../fused_8bit_rowwise_conversion_ops_test.py | 15 --------- caffe2/python/gradient_check_test.py | 15 --------- caffe2/python/gradient_checker.py | 15 --------- caffe2/python/gru_cell.py | 15 --------- caffe2/python/helpers/algebra.py | 15 --------- caffe2/python/helpers/arg_scope.py | 15 --------- caffe2/python/helpers/array_helpers.py | 15 --------- caffe2/python/helpers/control_ops.py | 15 --------- caffe2/python/helpers/conv.py | 15 --------- caffe2/python/helpers/db_input.py | 15 --------- caffe2/python/helpers/dropout.py | 15 --------- caffe2/python/helpers/elementwise_linear.py | 15 --------- caffe2/python/helpers/fc.py | 15 --------- caffe2/python/helpers/nonlinearity.py | 15 --------- caffe2/python/helpers/normalization.py | 15 --------- caffe2/python/helpers/pooling.py | 15 --------- caffe2/python/helpers/tools.py | 15 --------- caffe2/python/helpers/train.py | 15 --------- caffe2/python/hsm_util.py | 15 --------- caffe2/python/hypothesis_test.py | 15 --------- caffe2/python/hypothesis_test_util.py | 15 --------- caffe2/python/layer_model_helper.py | 15 --------- caffe2/python/layer_model_instantiator.py | 15 --------- caffe2/python/layer_parameter_sharing_test.py | 15 --------- caffe2/python/layer_test_util.py | 15 --------- caffe2/python/layers/__init__.py | 15 --------- caffe2/python/layers/adaptive_weight.py | 15 --------- caffe2/python/layers/add_bias.py | 15 --------- .../python/layers/arc_cosine_feature_map.py | 15 --------- caffe2/python/layers/batch_distill_lr_loss.py | 15 --------- caffe2/python/layers/batch_lr_loss.py | 15 --------- caffe2/python/layers/batch_mse_loss.py | 15 --------- caffe2/python/layers/batch_normalization.py | 15 --------- .../batch_sigmoid_cross_entropy_loss.py | 15 --------- caffe2/python/layers/batch_softmax_loss.py | 15 --------- caffe2/python/layers/build_index.py | 15 --------- caffe2/python/layers/concat.py | 15 --------- caffe2/python/layers/constant_weight.py | 15 --------- caffe2/python/layers/conv.py | 15 --------- caffe2/python/layers/dropout.py | 15 --------- caffe2/python/layers/fc.py | 15 --------- caffe2/python/layers/fc_without_bias.py | 15 --------- .../python/layers/feature_sparse_to_dense.py | 15 --------- caffe2/python/layers/functional.py | 15 --------- caffe2/python/layers/gather_record.py | 15 --------- caffe2/python/layers/homotopy_weight.py | 15 --------- .../python/layers/last_n_window_collector.py | 15 --------- caffe2/python/layers/layers.py | 15 --------- caffe2/python/layers/merge_id_lists.py | 15 --------- caffe2/python/layers/pairwise_dot_product.py | 15 --------- caffe2/python/layers/position_weighted.py | 15 --------- .../python/layers/random_fourier_features.py | 15 --------- caffe2/python/layers/reservoir_sampling.py | 15 --------- caffe2/python/layers/sampling_train.py | 15 --------- .../python/layers/sampling_trainable_mixin.py | 15 --------- .../python/layers/select_record_by_context.py | 15 --------- caffe2/python/layers/semi_random_features.py | 15 --------- caffe2/python/layers/sparse_feature_hash.py | 15 --------- caffe2/python/layers/sparse_lookup.py | 15 --------- caffe2/python/layers/split.py | 15 --------- caffe2/python/layers/tags.py | 15 --------- caffe2/python/layers/uniform_sampling.py | 15 --------- caffe2/python/layers_test.py | 15 --------- ...ths_reducer_fused_8bit_rowwise_ops_test.py | 15 --------- .../lengths_reducer_rowwise_8bit_ops_test.py | 15 --------- caffe2/python/lstm_benchmark.py | 15 --------- caffe2/python/memonger.py | 15 --------- caffe2/python/memonger_test.py | 15 --------- caffe2/python/mint/app.py | 15 --------- caffe2/python/mkl/convnet_benchmarks.py | 15 --------- caffe2/python/mkl/mkl_LRN_op_test.py | 15 --------- caffe2/python/mkl/mkl_LRN_speed_test.py | 15 --------- caffe2/python/mkl/mkl_concat_op_test.py | 15 --------- caffe2/python/mkl/mkl_conv_op_test.py | 15 --------- caffe2/python/mkl/mkl_copy_op_test.py | 15 --------- .../python/mkl/mkl_elementwise_add_op_test.py | 15 --------- .../python/mkl/mkl_elementwise_sum_op_test.py | 15 --------- caffe2/python/mkl/mkl_fc_op_test.py | 15 --------- caffe2/python/mkl/mkl_fc_speed_test.py | 15 --------- caffe2/python/mkl/mkl_fill_op_test.py | 15 --------- caffe2/python/mkl/mkl_pool_op_test.py | 15 --------- caffe2/python/mkl/mkl_pool_speed_test.py | 15 --------- caffe2/python/mkl/mkl_relu_op_test.py | 15 --------- caffe2/python/mkl/mkl_sbn_op_test.py | 15 --------- caffe2/python/mkl/mkl_sbn_speed_test.py | 15 --------- caffe2/python/mkl/mkl_sigmoid_op_test.py | 15 --------- caffe2/python/mkl/mkl_speed_test.py | 15 --------- caffe2/python/mkl/mkl_squeeze_op_test.py | 15 --------- caffe2/python/mkl/rewrite_graph.py | 15 --------- caffe2/python/mkl/rewrite_graph_test.py | 15 --------- caffe2/python/mkl_test_util.py | 15 --------- caffe2/python/model_device_test.py | 15 --------- caffe2/python/model_helper.py | 15 --------- .../modeling/compute_histogram_for_blobs.py | 15 --------- .../compute_histogram_for_blobs_test.py | 15 --------- .../python/modeling/compute_norm_for_blobs.py | 15 --------- .../modeling/compute_norm_for_blobs_test.py | 15 --------- .../modeling/compute_statistics_for_blobs.py | 15 --------- .../compute_statistics_for_blobs_test.py | 15 --------- caffe2/python/modeling/initializers.py | 15 --------- caffe2/python/modeling/initializers_test.py | 15 --------- caffe2/python/modeling/net_modifier.py | 15 --------- caffe2/python/modeling/parameter_info.py | 15 --------- caffe2/python/modeling/parameter_sharing.py | 15 --------- .../python/modeling/parameter_sharing_test.py | 15 --------- caffe2/python/models/__sym_init__.py | 15 --------- caffe2/python/models/download.py | 15 --------- caffe2/python/models/resnet.py | 15 --------- caffe2/python/models/resnet_test.py | 15 --------- caffe2/python/models/seq2seq/beam_search.py | 15 --------- .../seq2seq/seq2seq_beam_search_test.py | 15 --------- .../models/seq2seq/seq2seq_model_helper.py | 15 --------- .../seq2seq/seq2seq_model_helper_test.py | 15 --------- caffe2/python/models/seq2seq/seq2seq_util.py | 15 --------- caffe2/python/models/seq2seq/train.py | 15 --------- caffe2/python/models/seq2seq/translate.py | 15 --------- caffe2/python/modifier_context.py | 15 --------- caffe2/python/mpi_python.cc | 16 ---------- caffe2/python/muji.py | 15 --------- caffe2/python/muji_test.py | 15 --------- caffe2/python/net_builder.py | 15 --------- caffe2/python/net_builder_test.py | 15 --------- caffe2/python/net_drawer.py | 15 --------- caffe2/python/net_printer.py | 15 --------- caffe2/python/net_printer_test.py | 15 --------- caffe2/python/onnx/backend.py | 15 --------- caffe2/python/onnx/backend_cpp_rep.py | 15 --------- caffe2/python/onnx/backend_rep.py | 15 --------- caffe2/python/onnx/bin/conversion.py | 15 --------- caffe2/python/onnx/error.py | 15 --------- caffe2/python/onnx/frontend.py | 15 --------- caffe2/python/onnx/helper.py | 15 --------- caffe2/python/onnx/tests/__init__.py | 15 --------- caffe2/python/onnx/tests/c2_ref_test.py | 15 --------- caffe2/python/onnx/tests/conversion_test.py | 15 --------- caffe2/python/onnx/tests/helper_test.py | 15 --------- caffe2/python/onnx/tests/onnx_backend_test.py | 15 --------- caffe2/python/onnx/tests/ssa_test.py | 15 --------- caffe2/python/onnx/tests/test_utils.py | 15 --------- caffe2/python/onnx/workspace.py | 15 --------- .../operator_test/activation_ops_test.py | 15 --------- caffe2/python/operator_test/adagrad_test.py | 15 --------- caffe2/python/operator_test/adam_test.py | 15 --------- caffe2/python/operator_test/apmeter_test.py | 15 --------- caffe2/python/operator_test/arg_max_test.py | 15 --------- caffe2/python/operator_test/arg_ops_test.py | 15 --------- caffe2/python/operator_test/assert_test.py | 15 --------- .../python/operator_test/atomic_ops_test.py | 15 --------- caffe2/python/operator_test/basic_rnn_test.py | 15 --------- .../operator_test/batch_box_cox_test.py | 15 --------- .../operator_test/bbox_transform_test.py | 15 --------- .../operator_test/blobs_queue_db_test.py | 15 --------- .../python/operator_test/boolean_mask_test.py | 15 --------- .../operator_test/boolean_unmask_test.py | 15 --------- caffe2/python/operator_test/ceil_op_test.py | 15 --------- .../channel_backprop_stats_op_test.py | 15 --------- .../operator_test/channel_shuffle_test.py | 15 --------- .../operator_test/channel_stats_op_test.py | 15 --------- .../python/operator_test/checkpoint_test.py | 15 --------- caffe2/python/operator_test/clip_op_test.py | 15 --------- ...nd_distribute_fpn_rpn_proposals_op_test.py | 15 --------- .../operator_test/concat_split_op_test.py | 15 --------- .../python/operator_test/conditional_test.py | 15 --------- caffe2/python/operator_test/conv_test.py | 15 --------- .../operator_test/conv_transpose_test.py | 15 --------- caffe2/python/operator_test/copy_ops_test.py | 15 --------- .../cosine_embedding_criterion_op_test.py | 15 --------- .../python/operator_test/counter_ops_test.py | 15 --------- caffe2/python/operator_test/crf_test.py | 15 --------- .../operator_test/cross_entropy_ops_test.py | 15 --------- .../operator_test/cudnn_recurrent_test.py | 15 --------- .../python/operator_test/dataset_ops_test.py | 15 --------- .../python/operator_test/distance_op_test.py | 15 --------- .../python/operator_test/dropout_op_test.py | 15 --------- .../operator_test/duplicate_operands_test.py | 15 --------- .../elementwise_linear_op_test.py | 15 --------- .../elementwise_logical_ops_test.py | 15 --------- .../elementwise_op_broadcast_test.py | 15 --------- .../operator_test/elementwise_ops_test.py | 15 --------- .../operator_test/emptysample_ops_test.py | 15 --------- .../operator_test/extend_tensor_op_test.py | 15 --------- .../python/operator_test/fc_operator_test.py | 15 --------- .../python/operator_test/filler_ops_test.py | 15 --------- caffe2/python/operator_test/find_op_test.py | 15 --------- .../operator_test/flexible_top_k_test.py | 15 --------- caffe2/python/operator_test/floor_op_test.py | 15 --------- .../python/operator_test/gather_ops_test.py | 15 --------- .../operator_test/gather_ranges_op_test.py | 15 --------- .../given_tensor_fill_op_test.py | 15 --------- .../python/operator_test/group_conv_test.py | 15 --------- caffe2/python/operator_test/gru_test.py | 15 --------- caffe2/python/operator_test/hsm_test.py | 15 --------- .../operator_test/im2col_col2im_test.py | 15 --------- .../operator_test/image_input_op_test.py | 15 --------- .../operator_test/index_hash_ops_test.py | 15 --------- caffe2/python/operator_test/index_ops_test.py | 15 --------- .../operator_test/instance_norm_test.py | 15 --------- caffe2/python/operator_test/jsd_ops_test.py | 15 --------- .../operator_test/key_split_ops_test.py | 15 --------- caffe2/python/operator_test/lars_test.py | 14 -------- .../operator_test/layer_norm_op_test.py | 15 --------- .../python/operator_test/lc_operator_test.py | 15 --------- .../python/operator_test/leaky_relu_test.py | 15 --------- .../operator_test/learning_rate_op_test.py | 15 --------- .../operator_test/lengths_tile_op_test.py | 15 --------- .../operator_test/lengths_top_k_ops_test.py | 15 --------- caffe2/python/operator_test/load_save_test.py | 15 --------- caffe2/python/operator_test/loss_ops_test.py | 15 --------- caffe2/python/operator_test/lpnorm_op_test.py | 15 --------- caffe2/python/operator_test/map_ops_test.py | 15 --------- .../margin_ranking_criterion_op_test.py | 15 --------- caffe2/python/operator_test/math_ops_test.py | 15 --------- caffe2/python/operator_test/matmul_op_test.py | 15 --------- caffe2/python/operator_test/mean_op_test.py | 15 --------- .../operator_test/merge_id_lists_op_test.py | 15 --------- .../python/operator_test/mkl_conv_op_test.py | 15 --------- .../operator_test/mkl_packed_fc_op_test.py | 15 --------- caffe2/python/operator_test/mkl_speed_test.py | 15 --------- caffe2/python/operator_test/mod_op_test.py | 14 -------- .../python/operator_test/momentum_sgd_test.py | 15 --------- caffe2/python/operator_test/mpi_test.py | 15 --------- caffe2/python/operator_test/ngram_ops_test.py | 15 --------- .../python/operator_test/normalize_op_test.py | 15 --------- .../python/operator_test/one_hot_ops_test.py | 15 --------- .../python/operator_test/onnx_while_test.py | 15 --------- caffe2/python/operator_test/pack_ops_test.py | 15 --------- .../pack_rnn_sequence_op_test.py | 15 --------- caffe2/python/operator_test/pad_test.py | 15 --------- .../operator_test/partition_ops_test.py | 15 --------- .../piecewise_linear_transform_test.py | 15 --------- caffe2/python/operator_test/pooling_test.py | 15 --------- .../python/operator_test/prepend_dim_test.py | 15 --------- caffe2/python/operator_test/python_op_test.py | 15 --------- .../operator_test/rank_loss_operator_test.py | 15 --------- .../operator_test/rebatching_queue_test.py | 15 --------- .../python/operator_test/record_queue_test.py | 15 --------- .../recurrent_net_executor_test.py | 15 --------- .../operator_test/recurrent_network_test.py | 15 --------- .../python/operator_test/reduce_ops_test.py | 15 --------- .../operator_test/reduction_ops_test.py | 15 --------- caffe2/python/operator_test/relu_op_test.py | 15 --------- .../python/operator_test/reshape_ops_test.py | 15 --------- caffe2/python/operator_test/resize_op_test.py | 15 --------- .../operator_test/rmac_regions_op_test.py | 15 --------- caffe2/python/operator_test/rnn_cell_test.py | 15 --------- .../python/operator_test/segment_ops_test.py | 15 --------- .../python/operator_test/sequence_ops_test.py | 15 --------- .../operator_test/shape_inference_test.py | 15 --------- .../sinusoid_position_encoding_op_test.py | 15 --------- .../python/operator_test/softmax_ops_test.py | 15 --------- .../python/operator_test/softplus_op_test.py | 15 --------- .../sparse_gradient_checker_test.py | 15 --------- .../sparse_lengths_sum_benchmark.py | 15 --------- .../operator_test/sparse_normalize_test.py | 15 --------- .../python/operator_test/sparse_ops_test.py | 15 --------- .../sparse_to_dense_mask_op_test.py | 15 --------- .../operator_test/spatial_bn_op_test.py | 15 --------- .../specialized_segment_ops_test.py | 15 --------- .../square_root_divide_op_test.py | 15 --------- caffe2/python/operator_test/stats_ops_test.py | 15 --------- .../python/operator_test/string_ops_test.py | 15 --------- .../operator_test/text_file_reader_test.py | 15 --------- .../operator_test/thresholded_relu_op_test.py | 15 --------- caffe2/python/operator_test/tile_op_test.py | 15 --------- caffe2/python/operator_test/top_k_test.py | 15 --------- .../unique_uniform_fill_op_test.py | 15 --------- .../python/operator_test/utility_ops_test.py | 15 --------- .../operator_test/video_input_op_test.py | 15 --------- caffe2/python/optimizer.py | 15 --------- caffe2/python/optimizer_context.py | 15 --------- caffe2/python/optimizer_test.py | 15 --------- caffe2/python/optimizer_test_util.py | 15 --------- caffe2/python/parallel_workers.py | 15 --------- caffe2/python/parallel_workers_test.py | 15 --------- .../parallelize_bmuf_distributed_test.py | 15 --------- caffe2/python/pipeline.py | 15 --------- caffe2/python/pipeline_test.py | 15 --------- caffe2/python/predictor/mobile_exporter.py | 15 --------- .../python/predictor/mobile_exporter_test.py | 15 --------- caffe2/python/predictor/predictor_exporter.py | 15 --------- .../predictor/predictor_exporter_test.py | 15 --------- caffe2/python/predictor/predictor_py_utils.py | 15 --------- caffe2/python/predictor/serde.py | 15 --------- caffe2/python/predictor_constants.py | 15 --------- caffe2/python/pybind_state.cc | 16 ---------- caffe2/python/pybind_state.h | 16 ---------- caffe2/python/pybind_state_dlpack.cc | 16 ---------- caffe2/python/pybind_state_dlpack.h | 16 ---------- caffe2/python/pybind_state_gpu.cc | 16 ---------- caffe2/python/pybind_state_mkl.cc | 16 ---------- caffe2/python/python_op_test.py | 15 --------- caffe2/python/queue_util.py | 15 --------- caffe2/python/record_queue.py | 15 --------- caffe2/python/recurrent.py | 15 --------- caffe2/python/regularizer.py | 15 --------- caffe2/python/regularizer_context.py | 15 --------- caffe2/python/rnn/lstm_comparison.py | 15 --------- caffe2/python/rnn/rnn_cell_test_util.py | 15 --------- caffe2/python/rnn_cell.py | 15 --------- caffe2/python/schema.py | 15 --------- caffe2/python/schema_test.py | 15 --------- caffe2/python/scope.py | 15 --------- caffe2/python/scope_test.py | 15 --------- caffe2/python/session.py | 15 --------- caffe2/python/session_test.py | 15 --------- caffe2/python/sparse_to_dense_mask_test.py | 15 --------- caffe2/python/sparse_to_dense_test.py | 15 --------- caffe2/python/task.py | 15 --------- caffe2/python/test_util.py | 15 --------- caffe2/python/text_file_reader.py | 15 --------- caffe2/python/timeout_guard.py | 15 --------- caffe2/python/toy_regression_test.py | 15 --------- caffe2/python/tt_core.py | 15 --------- caffe2/python/tt_core_test.py | 15 --------- caffe2/python/utils.py | 15 --------- caffe2/python/visualize.py | 15 --------- caffe2/python/workspace.py | 15 --------- caffe2/python/workspace_test.py | 15 --------- caffe2/queue/blobs_queue.cc | 16 ---------- caffe2/queue/blobs_queue.h | 16 ---------- caffe2/queue/blobs_queue_db.cc | 16 ---------- caffe2/queue/blobs_queue_db.h | 16 ---------- caffe2/queue/queue_ops.cc | 16 ---------- caffe2/queue/queue_ops.h | 16 ---------- caffe2/queue/queue_ops_gpu.cc | 16 ---------- caffe2/queue/rebatching_queue.cc | 16 ---------- caffe2/queue/rebatching_queue.h | 16 ---------- caffe2/queue/rebatching_queue_ops.cc | 16 ---------- caffe2/queue/rebatching_queue_ops.h | 16 ---------- caffe2/sgd/adagrad_op.cc | 16 ---------- caffe2/sgd/adagrad_op.h | 16 ---------- caffe2/sgd/adagrad_op_gpu.cu | 16 ---------- caffe2/sgd/adam_op.cc | 16 ---------- caffe2/sgd/adam_op.h | 16 ---------- caffe2/sgd/adam_op_gpu.cu | 16 ---------- caffe2/sgd/clip_tensor_op.h | 16 ---------- caffe2/sgd/ftrl_op.cc | 16 ---------- caffe2/sgd/ftrl_op.h | 16 ---------- caffe2/sgd/iter_op.cc | 16 ---------- caffe2/sgd/iter_op.h | 16 ---------- caffe2/sgd/iter_op_gpu.cc | 16 ---------- caffe2/sgd/lars_op.cc | 16 ---------- caffe2/sgd/lars_op.h | 16 ---------- caffe2/sgd/lars_op_gpu.cu | 16 ---------- caffe2/sgd/learning_rate_functors.h | 16 ---------- caffe2/sgd/learning_rate_op.cc | 16 ---------- caffe2/sgd/learning_rate_op.h | 16 ---------- caffe2/sgd/learning_rate_op_gpu.cc | 16 ---------- caffe2/sgd/momentum_sgd_op.cc | 16 ---------- caffe2/sgd/momentum_sgd_op.h | 16 ---------- caffe2/sgd/momentum_sgd_op_gpu.cu | 16 ---------- caffe2/sgd/rmsprop_op.cc | 16 ---------- caffe2/sgd/rmsprop_op.h | 16 ---------- caffe2/sgd/rmsprop_op_gpu.cu | 16 ---------- caffe2/sgd/yellowfin_op.cc | 16 ---------- caffe2/sgd/yellowfin_op.h | 16 ---------- caffe2/sgd/yellowfin_op_gpu.cu | 16 ---------- caffe2/share/contrib/nnpack/conv_op.cc | 16 ---------- caffe2/share/contrib/nnpack/conv_op_test.cc | 16 ---------- .../contrib/zstd/quant_decomp_zstd_op.cc | 16 ---------- .../share/contrib/zstd/quant_decomp_zstd_op.h | 16 ---------- caffe2/test/caffe2_gtest_main.cc | 16 ---------- .../common_subexpression_elimination.cc | 16 ---------- .../common_subexpression_elimination.h | 16 ---------- .../common_subexpression_elimination_test.cc | 16 ---------- caffe2/transforms/conv_to_nnpack_transform.cc | 16 ---------- caffe2/transforms/conv_to_nnpack_transform.h | 16 ---------- .../conv_to_nnpack_transform_test.cc | 16 ---------- caffe2/transforms/pattern_net_transform.cc | 16 ---------- caffe2/transforms/pattern_net_transform.h | 16 ---------- .../transforms/pattern_net_transform_test.cc | 16 ---------- caffe2/transforms/single_op_transform.cc | 16 ---------- caffe2/transforms/single_op_transform.h | 16 ---------- caffe2/utils/cast.h | 16 ---------- caffe2/utils/conversions.h | 16 ---------- caffe2/utils/cpu_neon.h | 16 ---------- caffe2/utils/cpuid.cc | 16 ---------- caffe2/utils/cpuid.h | 16 ---------- caffe2/utils/cpuid_test.cc | 16 ---------- caffe2/utils/fatal_signal_asan_no_sig_test.cc | 16 ---------- caffe2/utils/fixed_divisor.h | 16 ---------- caffe2/utils/fixed_divisor_test.cc | 16 ---------- caffe2/utils/map_utils.h | 16 ---------- caffe2/utils/math-detail.h | 16 ---------- caffe2/utils/math.h | 16 ---------- caffe2/utils/math_cpu.cc | 16 ---------- caffe2/utils/math_gpu.cu | 16 ---------- caffe2/utils/math_gpu_test.cc | 16 ---------- caffe2/utils/math_test.cc | 16 ---------- caffe2/utils/proto_utils.cc | 16 ---------- caffe2/utils/proto_utils.h | 16 ---------- caffe2/utils/proto_utils_test.cc | 16 ---------- caffe2/utils/signal_handler.cc | 16 ---------- caffe2/utils/signal_handler.h | 16 ---------- caffe2/utils/simple_queue.h | 16 ---------- caffe2/utils/simple_queue_test.cc | 16 ---------- caffe2/utils/smart_tensor_printer.cc | 16 ---------- caffe2/utils/smart_tensor_printer.h | 16 ---------- caffe2/utils/smart_tensor_printer_test.cc | 16 ---------- caffe2/utils/string_utils.cc | 16 ---------- caffe2/utils/string_utils.h | 16 ---------- caffe2/utils/thread_pool.h | 16 ---------- caffe2/utils/threadpool/ThreadPool.cc | 16 ---------- caffe2/utils/threadpool/ThreadPool.h | 16 ---------- caffe2/utils/threadpool/ThreadPoolCommon.h | 16 ---------- caffe2/utils/threadpool/WorkersPool.h | 16 ---------- caffe2/utils/threadpool/pthreadpool.cc | 16 ---------- caffe2/utils/threadpool/pthreadpool.h | 16 ---------- caffe2/utils/threadpool/pthreadpool_impl.cc | 16 ---------- caffe2/utils/threadpool/pthreadpool_impl.h | 16 ---------- caffe2/utils/zmq_helper.h | 16 ---------- caffe2/video/optical_flow.cc | 16 ---------- caffe2/video/optical_flow.h | 16 ---------- caffe2/video/video_decoder.cc | 16 ---------- caffe2/video/video_decoder.h | 16 ---------- caffe2/video/video_input_op.cc | 16 ---------- caffe2/video/video_input_op.h | 16 ---------- caffe2/video/video_input_op_gpu.cc | 16 ---------- caffe2/video/video_io.cc | 16 ---------- caffe2/video/video_io.h | 16 ---------- 1356 files changed, 21355 deletions(-) mode change 100755 => 100644 caffe2/python/operator_test/adam_test.py mode change 100755 => 100644 caffe2/python/operator_test/momentum_sgd_test.py mode change 100755 => 100644 caffe2/python/operator_test/text_file_reader_test.py diff --git a/caffe2/contrib/aten/aten_op.cc b/caffe2/contrib/aten/aten_op.cc index ed55b1f6f7c8..7fa666e6072c 100644 --- a/caffe2/contrib/aten/aten_op.cc +++ b/caffe2/contrib/aten/aten_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/contrib/aten/aten_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/contrib/aten/aten_op_cuda.cc b/caffe2/contrib/aten/aten_op_cuda.cc index 41d18a007e74..70bb71cc92e1 100644 --- a/caffe2/contrib/aten/aten_op_cuda.cc +++ b/caffe2/contrib/aten/aten_op_cuda.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/contrib/aten/aten_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/aten/aten_op_template.h b/caffe2/contrib/aten/aten_op_template.h index e85965997e2b..63996484da5b 100644 --- a/caffe2/contrib/aten/aten_op_template.h +++ b/caffe2/contrib/aten/aten_op_template.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include #include diff --git a/caffe2/contrib/aten/aten_test.py b/caffe2/contrib/aten/aten_test.py index e72a90ea3831..5b09159b3adc 100644 --- a/caffe2/contrib/aten/aten_test.py +++ b/caffe2/contrib/aten/aten_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/gloo/allreduce_ops.cc b/caffe2/contrib/gloo/allreduce_ops.cc index e42156529c64..888e34a98afa 100644 --- a/caffe2/contrib/gloo/allreduce_ops.cc +++ b/caffe2/contrib/gloo/allreduce_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "allreduce_ops.h" #include diff --git a/caffe2/contrib/gloo/allreduce_ops.h b/caffe2/contrib/gloo/allreduce_ops.h index 85b9344ac185..bd2eb18f9d1b 100644 --- a/caffe2/contrib/gloo/allreduce_ops.h +++ b/caffe2/contrib/gloo/allreduce_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/gloo/allreduce_ops_gpu.cc b/caffe2/contrib/gloo/allreduce_ops_gpu.cc index 9ff770e15e65..bbc187c75200 100644 --- a/caffe2/contrib/gloo/allreduce_ops_gpu.cc +++ b/caffe2/contrib/gloo/allreduce_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "allreduce_ops.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/gloo/barrier_ops.cc b/caffe2/contrib/gloo/barrier_ops.cc index 6efae2024483..01391a54528a 100644 --- a/caffe2/contrib/gloo/barrier_ops.cc +++ b/caffe2/contrib/gloo/barrier_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "barrier_ops.h" namespace caffe2 { diff --git a/caffe2/contrib/gloo/barrier_ops.h b/caffe2/contrib/gloo/barrier_ops.h index a4074c481022..1543a608a2a4 100644 --- a/caffe2/contrib/gloo/barrier_ops.h +++ b/caffe2/contrib/gloo/barrier_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/contrib/gloo/common.h" diff --git a/caffe2/contrib/gloo/broadcast_ops.cc b/caffe2/contrib/gloo/broadcast_ops.cc index 3bd997fe038c..331e362b3f29 100644 --- a/caffe2/contrib/gloo/broadcast_ops.cc +++ b/caffe2/contrib/gloo/broadcast_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "broadcast_ops.h" #include diff --git a/caffe2/contrib/gloo/broadcast_ops.h b/caffe2/contrib/gloo/broadcast_ops.h index 15f0584bb0f2..957af1372ded 100644 --- a/caffe2/contrib/gloo/broadcast_ops.h +++ b/caffe2/contrib/gloo/broadcast_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/gloo/broadcast_ops_gpu.cc b/caffe2/contrib/gloo/broadcast_ops_gpu.cc index a0563237df28..55b61f4db14d 100644 --- a/caffe2/contrib/gloo/broadcast_ops_gpu.cc +++ b/caffe2/contrib/gloo/broadcast_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "broadcast_ops.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/gloo/common.cc b/caffe2/contrib/gloo/common.cc index 125f9628fda8..a3f20b301c0d 100644 --- a/caffe2/contrib/gloo/common.cc +++ b/caffe2/contrib/gloo/common.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/contrib/gloo/common.h" #include "caffe2/core/logging.h" diff --git a/caffe2/contrib/gloo/common.h b/caffe2/contrib/gloo/common.h index 1324460f6774..98b23cdad542 100644 --- a/caffe2/contrib/gloo/common.h +++ b/caffe2/contrib/gloo/common.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/gloo/common_world_ops.cc b/caffe2/contrib/gloo/common_world_ops.cc index 622f04b1a0ac..9e631ce13791 100644 --- a/caffe2/contrib/gloo/common_world_ops.cc +++ b/caffe2/contrib/gloo/common_world_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/contrib/gloo/common_world_ops.h" #include diff --git a/caffe2/contrib/gloo/common_world_ops.h b/caffe2/contrib/gloo/common_world_ops.h index 990101fb2e5b..cde04c30bccf 100644 --- a/caffe2/contrib/gloo/common_world_ops.h +++ b/caffe2/contrib/gloo/common_world_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/contrib/gloo/common.h" diff --git a/caffe2/contrib/gloo/common_world_ops_gpu.cc b/caffe2/contrib/gloo/common_world_ops_gpu.cc index a0353ecdc3f1..f8fb701c846d 100644 --- a/caffe2/contrib/gloo/common_world_ops_gpu.cc +++ b/caffe2/contrib/gloo/common_world_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/contrib/gloo/common_world_ops.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/gloo/context.cc b/caffe2/contrib/gloo/context.cc index 314babf9bfb8..5325a4a156aa 100644 --- a/caffe2/contrib/gloo/context.cc +++ b/caffe2/contrib/gloo/context.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "context.h" #include "caffe2/core/typeid.h" diff --git a/caffe2/contrib/gloo/context.h b/caffe2/contrib/gloo/context.h index fb99aa886dfe..7b427bdd3615 100644 --- a/caffe2/contrib/gloo/context.h +++ b/caffe2/contrib/gloo/context.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/gloo/gloo_test.py b/caffe2/contrib/gloo/gloo_test.py index a17f4db2cc0b..b4ef09238642 100644 --- a/caffe2/contrib/gloo/gloo_test.py +++ b/caffe2/contrib/gloo/gloo_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - #!/usr/bin/env python from __future__ import absolute_import diff --git a/caffe2/contrib/gloo/store_handler.cc b/caffe2/contrib/gloo/store_handler.cc index a8baa9ae2886..e5c30d9c71cc 100644 --- a/caffe2/contrib/gloo/store_handler.cc +++ b/caffe2/contrib/gloo/store_handler.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "store_handler.h" namespace caffe2 { diff --git a/caffe2/contrib/gloo/store_handler.h b/caffe2/contrib/gloo/store_handler.h index 8de422511439..17709727b570 100644 --- a/caffe2/contrib/gloo/store_handler.h +++ b/caffe2/contrib/gloo/store_handler.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/distributed/store_handler.h" diff --git a/caffe2/contrib/nccl/cuda_nccl_gpu.cc b/caffe2/contrib/nccl/cuda_nccl_gpu.cc index 63ee29156f39..4e1e50f1fa34 100644 --- a/caffe2/contrib/nccl/cuda_nccl_gpu.cc +++ b/caffe2/contrib/nccl/cuda_nccl_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "cuda_nccl_gpu.h" namespace caffe2 { diff --git a/caffe2/contrib/nccl/cuda_nccl_gpu.h b/caffe2/contrib/nccl/cuda_nccl_gpu.h index a678c4b84956..0b0a466e6514 100644 --- a/caffe2/contrib/nccl/cuda_nccl_gpu.h +++ b/caffe2/contrib/nccl/cuda_nccl_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/nccl/cuda_nccl_op_gpu.cc b/caffe2/contrib/nccl/cuda_nccl_op_gpu.cc index 8dd74446e4c9..7a1efafc1971 100644 --- a/caffe2/contrib/nccl/cuda_nccl_op_gpu.cc +++ b/caffe2/contrib/nccl/cuda_nccl_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/contrib/nccl/nccl_ops_test.py b/caffe2/contrib/nccl/nccl_ops_test.py index 70cda6aa5319..7e8a61e9de24 100644 --- a/caffe2/contrib/nccl/nccl_ops_test.py +++ b/caffe2/contrib/nccl/nccl_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/nervana/nervana.h b/caffe2/contrib/nervana/nervana.h index f0025a0091ca..9714e39f81d1 100644 --- a/caffe2/contrib/nervana/nervana.h +++ b/caffe2/contrib/nervana/nervana.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_FB_NERVANA_INIT_H_ #define CAFFE2_FB_NERVANA_INIT_H_ diff --git a/caffe2/contrib/nervana/nervana_fc_op_gpu.cc b/caffe2/contrib/nervana/nervana_fc_op_gpu.cc index c487d7cf7bc0..8d33a7c20ad4 100644 --- a/caffe2/contrib/nervana/nervana_fc_op_gpu.cc +++ b/caffe2/contrib/nervana/nervana_fc_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "nervana.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/nervana/nervana_fc_op_gpu_test.cc b/caffe2/contrib/nervana/nervana_fc_op_gpu_test.cc index fc1de1c0c883..3eb0fc3ace3f 100644 --- a/caffe2/contrib/nervana/nervana_fc_op_gpu_test.cc +++ b/caffe2/contrib/nervana/nervana_fc_op_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "nervana.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/nervana/nervana_init_gpu.cc b/caffe2/contrib/nervana/nervana_init_gpu.cc index 5e5f6b699f5e..5b7a1ce22b94 100644 --- a/caffe2/contrib/nervana/nervana_init_gpu.cc +++ b/caffe2/contrib/nervana/nervana_init_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/flags.h" diff --git a/caffe2/contrib/nervana/nervana_math_gpu.cc b/caffe2/contrib/nervana/nervana_math_gpu.cc index bfe963848f50..c3e7e6b377bd 100644 --- a/caffe2/contrib/nervana/nervana_math_gpu.cc +++ b/caffe2/contrib/nervana/nervana_math_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "nervana.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/contrib/nnpack/nnpack_ops.cc b/caffe2/contrib/nnpack/nnpack_ops.cc index dba966b8a50d..502d6c88cd74 100644 --- a/caffe2/contrib/nnpack/nnpack_ops.cc +++ b/caffe2/contrib/nnpack/nnpack_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #ifdef CAFFE2_USE_MKL diff --git a/caffe2/contrib/nnpack/nnpack_ops_test.py b/caffe2/contrib/nnpack/nnpack_ops_test.py index de824e2dad1b..dbef1ffe0bff 100644 --- a/caffe2/contrib/nnpack/nnpack_ops_test.py +++ b/caffe2/contrib/nnpack/nnpack_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/prof/cuda_profile_ops.cc b/caffe2/contrib/prof/cuda_profile_ops.cc index 4bc1193bd598..207613379185 100644 --- a/caffe2/contrib/prof/cuda_profile_ops.cc +++ b/caffe2/contrib/prof/cuda_profile_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/contrib/prof/cuda_profile_ops_test.py b/caffe2/contrib/prof/cuda_profile_ops_test.py index d35c12e516ca..2953503bbea5 100644 --- a/caffe2/contrib/prof/cuda_profile_ops_test.py +++ b/caffe2/contrib/prof/cuda_profile_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/prof/htrace_async_dag_net_gpu.cc b/caffe2/contrib/prof/htrace_async_dag_net_gpu.cc index f71381ece936..fe67940cbc21 100644 --- a/caffe2/contrib/prof/htrace_async_dag_net_gpu.cc +++ b/caffe2/contrib/prof/htrace_async_dag_net_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/contrib/prof/htrace_conf.h" diff --git a/caffe2/contrib/prof/htrace_conf.cc b/caffe2/contrib/prof/htrace_conf.cc index 51f05723f079..ad1fb1283203 100644 --- a/caffe2/contrib/prof/htrace_conf.cc +++ b/caffe2/contrib/prof/htrace_conf.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "htrace_conf.h" #include diff --git a/caffe2/contrib/prof/htrace_conf.h b/caffe2/contrib/prof/htrace_conf.h index 4651e7b2069a..97286cbfa6ae 100644 --- a/caffe2/contrib/prof/htrace_conf.h +++ b/caffe2/contrib/prof/htrace_conf.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/flags.h" diff --git a/caffe2/contrib/prof/htrace_dag_net.cc b/caffe2/contrib/prof/htrace_dag_net.cc index 3cff8848a22b..a802cfc14e1e 100644 --- a/caffe2/contrib/prof/htrace_dag_net.cc +++ b/caffe2/contrib/prof/htrace_dag_net.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/contrib/prof/htrace_conf.h" diff --git a/caffe2/contrib/prof/htrace_to_chrome.py b/caffe2/contrib/prof/htrace_to_chrome.py index d82955477aa2..7c6e823e4d41 100644 --- a/caffe2/contrib/prof/htrace_to_chrome.py +++ b/caffe2/contrib/prof/htrace_to_chrome.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package htrace_to_chrome # Module caffe2.contrib.prof.htrace_to_chrome from __future__ import absolute_import diff --git a/caffe2/contrib/prof/prof_dag_net.cc b/caffe2/contrib/prof/prof_dag_net.cc index f89310d78047..16917ddc154f 100644 --- a/caffe2/contrib/prof/prof_dag_net.cc +++ b/caffe2/contrib/prof/prof_dag_net.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "prof_dag_net.h" #include diff --git a/caffe2/contrib/prof/prof_dag_net.h b/caffe2/contrib/prof/prof_dag_net.h index c04deebf14d0..918fdb971e9e 100644 --- a/caffe2/contrib/prof/prof_dag_net.h +++ b/caffe2/contrib/prof/prof_dag_net.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/net_dag.h" diff --git a/caffe2/contrib/prof/prof_dag_stats_op.cc b/caffe2/contrib/prof/prof_dag_stats_op.cc index 57f57a09660d..70f4c7373c4e 100644 --- a/caffe2/contrib/prof/prof_dag_stats_op.cc +++ b/caffe2/contrib/prof/prof_dag_stats_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "prof_dag_stats_op.h" namespace caffe2 { diff --git a/caffe2/contrib/prof/prof_dag_stats_op.h b/caffe2/contrib/prof/prof_dag_stats_op.h index ea9b2a69d28f..1b9078121daa 100644 --- a/caffe2/contrib/prof/prof_dag_stats_op.h +++ b/caffe2/contrib/prof/prof_dag_stats_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_OP_H_ #define CAFFE2_OPERATORS_FULLY_CONNECTED_OP_H_ diff --git a/caffe2/contrib/shm_mutex/shm_mutex.cc b/caffe2/contrib/shm_mutex/shm_mutex.cc index 6ffcb3207146..c323703cb306 100644 --- a/caffe2/contrib/shm_mutex/shm_mutex.cc +++ b/caffe2/contrib/shm_mutex/shm_mutex.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "shm_mutex.h" ShmProcessMutexCheck& ShmProcessMutexCheck::getInstance() { diff --git a/caffe2/contrib/shm_mutex/shm_mutex.h b/caffe2/contrib/shm_mutex/shm_mutex.h index 18b1ddb8c5ce..d9a97d7b2426 100644 --- a/caffe2/contrib/shm_mutex/shm_mutex.h +++ b/caffe2/contrib/shm_mutex/shm_mutex.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /* * This implements a machine-wide mutex to be used * to synchronize CUDA calls (memory allocation and frees) and diff --git a/caffe2/contrib/torch/th_ops.cc b/caffe2/contrib/torch/th_ops.cc index 068943baab9d..b4e18a4d4e89 100644 --- a/caffe2/contrib/torch/th_ops.cc +++ b/caffe2/contrib/torch/th_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/contrib/torch/th_ops_gpu.cu b/caffe2/contrib/torch/th_ops_gpu.cu index 93759352430a..a99838431677 100644 --- a/caffe2/contrib/torch/th_ops_gpu.cu +++ b/caffe2/contrib/torch/th_ops_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/contrib/torch/th_ops_test.py b/caffe2/contrib/torch/th_ops_test.py index 115ac2dfb73d..09d7d1635d58 100644 --- a/caffe2/contrib/torch/th_ops_test.py +++ b/caffe2/contrib/torch/th_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/torch/torch_op.cpp b/caffe2/contrib/torch/torch_op.cpp index abf1f0e863e8..3e9f9b0bdc1b 100644 --- a/caffe2/contrib/torch/torch_op.cpp +++ b/caffe2/contrib/torch/torch_op.cpp @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "torch_op.h" namespace caffe2 { diff --git a/caffe2/contrib/torch/torch_op.h b/caffe2/contrib/torch/torch_op.h index 455eb11921f1..c5860364400b 100644 --- a/caffe2/contrib/torch/torch_op.h +++ b/caffe2/contrib/torch/torch_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/torch/torch_op_gpu.cpp b/caffe2/contrib/torch/torch_op_gpu.cpp index d88c70a3056b..5cfea19cba6f 100644 --- a/caffe2/contrib/torch/torch_op_gpu.cpp +++ b/caffe2/contrib/torch/torch_op_gpu.cpp @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "torch_op.h" diff --git a/caffe2/contrib/torch/torch_ops_test.py b/caffe2/contrib/torch/torch_ops_test.py index 660d33cdde2f..ebaf4126a44f 100644 --- a/caffe2/contrib/torch/torch_ops_test.py +++ b/caffe2/contrib/torch/torch_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/contrib/warpctc/ctc_op.cpp b/caffe2/contrib/warpctc/ctc_op.cpp index bfaee091fa98..0d0176623a59 100644 --- a/caffe2/contrib/warpctc/ctc_op.cpp +++ b/caffe2/contrib/warpctc/ctc_op.cpp @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ctc_op.h" #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/contrib/warpctc/ctc_op.h b/caffe2/contrib/warpctc/ctc_op.h index 14cd17f83867..748e3a595206 100644 --- a/caffe2/contrib/warpctc/ctc_op.h +++ b/caffe2/contrib/warpctc/ctc_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/contrib/warpctc/ctc_op_gpu.cpp b/caffe2/contrib/warpctc/ctc_op_gpu.cpp index 0ca9ff6ebd1a..e6b399a10a84 100644 --- a/caffe2/contrib/warpctc/ctc_op_gpu.cpp +++ b/caffe2/contrib/warpctc/ctc_op_gpu.cpp @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" #include "ctc_op.h" diff --git a/caffe2/contrib/warpctc/ctc_ops_test.py b/caffe2/contrib/warpctc/ctc_ops_test.py index a20858a0f3da..602ab285f3bc 100644 --- a/caffe2/contrib/warpctc/ctc_ops_test.py +++ b/caffe2/contrib/warpctc/ctc_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/core/allocator.cc b/caffe2/core/allocator.cc index ee364a76fee4..4edc4915ea69 100644 --- a/caffe2/core/allocator.cc +++ b/caffe2/core/allocator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/logging.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/core/allocator.h b/caffe2/core/allocator.h index 42020d4da4cf..666680574267 100644 --- a/caffe2/core/allocator.h +++ b/caffe2/core/allocator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_ALLOCATOR_H_ #define CAFFE2_CORE_ALLOCATOR_H_ diff --git a/caffe2/core/asan.h b/caffe2/core/asan.h index f5cea5f76c85..0d5ce0d394d7 100644 --- a/caffe2/core/asan.h +++ b/caffe2/core/asan.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once // Detect address sanitizer as some stuff doesn't work with it diff --git a/caffe2/core/blob.h b/caffe2/core/blob.h index 7d618ec548b9..de5512accc9a 100644 --- a/caffe2/core/blob.h +++ b/caffe2/core/blob.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_BLOB_H_ #define CAFFE2_CORE_BLOB_H_ diff --git a/caffe2/core/blob_gpu_test.cc b/caffe2/core/blob_gpu_test.cc index d1cbe5a60799..498f0b5deb55 100644 --- a/caffe2/core/blob_gpu_test.cc +++ b/caffe2/core/blob_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include // NOLINT #include "caffe2/core/blob.h" diff --git a/caffe2/core/blob_serialization.cc b/caffe2/core/blob_serialization.cc index 0dd3ae6e70dd..a7cbb4186a68 100644 --- a/caffe2/core/blob_serialization.cc +++ b/caffe2/core/blob_serialization.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob_serialization.h" #include diff --git a/caffe2/core/blob_serialization.h b/caffe2/core/blob_serialization.h index 48a364273216..94af8a9fcaca 100644 --- a/caffe2/core/blob_serialization.h +++ b/caffe2/core/blob_serialization.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_BLOB_SERIALIZATION_H_ #define CAFFE2_CORE_BLOB_SERIALIZATION_H_ diff --git a/caffe2/core/blob_serialization_gpu.cc b/caffe2/core/blob_serialization_gpu.cc index 8545a5129af8..76349f3173db 100644 --- a/caffe2/core/blob_serialization_gpu.cc +++ b/caffe2/core/blob_serialization_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob.h" #include "caffe2/core/blob_serialization.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/core/blob_serializer_base.h b/caffe2/core/blob_serializer_base.h index a84b8e0d176d..4bf472450b79 100644 --- a/caffe2/core/blob_serializer_base.h +++ b/caffe2/core/blob_serializer_base.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/core/blob_stats.cc b/caffe2/core/blob_stats.cc index 1546bfd4b302..057e966aa319 100644 --- a/caffe2/core/blob_stats.cc +++ b/caffe2/core/blob_stats.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob_stats.h" namespace caffe2 { diff --git a/caffe2/core/blob_stats.h b/caffe2/core/blob_stats.h index 0261947f51c2..f4ef21d0cfb7 100644 --- a/caffe2/core/blob_stats.h +++ b/caffe2/core/blob_stats.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/blob.h" diff --git a/caffe2/core/blob_test.cc b/caffe2/core/blob_test.cc index 399b63edb16f..f921715380af 100644 --- a/caffe2/core/blob_test.cc +++ b/caffe2/core/blob_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/common.cc b/caffe2/core/common.cc index 790403d2232b..433303d41490 100644 --- a/caffe2/core/common.cc +++ b/caffe2/core/common.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common.h" diff --git a/caffe2/core/common.h b/caffe2/core/common.h index 5fe0a9df8a9a..855cc20b524b 100644 --- a/caffe2/core/common.h +++ b/caffe2/core/common.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_COMMON_H_ #define CAFFE2_CORE_COMMON_H_ diff --git a/caffe2/core/common_cudnn.cc b/caffe2/core/common_cudnn.cc index 18f741bdad9b..248897c13644 100644 --- a/caffe2/core/common_cudnn.cc +++ b/caffe2/core/common_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_cudnn.h" #include "caffe2/core/cudnn_wrappers.h" diff --git a/caffe2/core/common_cudnn.h b/caffe2/core/common_cudnn.h index f5442dcf7bad..ec5b1b11e61d 100644 --- a/caffe2/core/common_cudnn.h +++ b/caffe2/core/common_cudnn.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_COMMON_CUDNN_H_ #define CAFFE2_CORE_COMMON_CUDNN_H_ diff --git a/caffe2/core/common_gpu.cc b/caffe2/core/common_gpu.cc index c608b55f16ae..9e39a8572118 100644 --- a/caffe2/core/common_gpu.cc +++ b/caffe2/core/common_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include diff --git a/caffe2/core/common_gpu.h b/caffe2/core/common_gpu.h index 8424a997614c..4657e37f3b9e 100644 --- a/caffe2/core/common_gpu.h +++ b/caffe2/core/common_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_COMMON_GPU_H_ #define CAFFE2_CORE_COMMON_GPU_H_ diff --git a/caffe2/core/common_omp.h b/caffe2/core/common_omp.h index 3890cbf36786..36c4b9faa251 100644 --- a/caffe2/core/common_omp.h +++ b/caffe2/core/common_omp.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_COMMON_OMP_H_ #define CAFFE2_CORE_COMMON_OMP_H_ diff --git a/caffe2/core/common_test.cc b/caffe2/core/common_test.cc index 48db0aaae767..8900a78290c4 100644 --- a/caffe2/core/common_test.cc +++ b/caffe2/core/common_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/context.cc b/caffe2/core/context.cc index 844fa648e8e6..427e8bb60aa3 100644 --- a/caffe2/core/context.cc +++ b/caffe2/core/context.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include diff --git a/caffe2/core/context.h b/caffe2/core/context.h index 02a060a11e93..df3b0f20772d 100644 --- a/caffe2/core/context.h +++ b/caffe2/core/context.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_CONTEXT_H_ #define CAFFE2_CORE_CONTEXT_H_ diff --git a/caffe2/core/context_gpu.cu b/caffe2/core/context_gpu.cu index 5c4ce00425bb..c36a3ed90493 100644 --- a/caffe2/core/context_gpu.cu +++ b/caffe2/core/context_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/context_gpu.h b/caffe2/core/context_gpu.h index 2a5dbe5dd9db..f7a2cd255ada 100644 --- a/caffe2/core/context_gpu.h +++ b/caffe2/core/context_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_CONTEXT_GPU_H_ #define CAFFE2_CORE_CONTEXT_GPU_H_ diff --git a/caffe2/core/context_gpu_test.cc b/caffe2/core/context_gpu_test.cc index 9bd5fe7d1766..8b4cebeec897 100644 --- a/caffe2/core/context_gpu_test.cc +++ b/caffe2/core/context_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/context_test.cc b/caffe2/core/context_test.cc index 76730b68efec..e2338d7f7048 100644 --- a/caffe2/core/context_test.cc +++ b/caffe2/core/context_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/db.cc b/caffe2/core/db.cc index 79f645a237e3..b88afce259d0 100644 --- a/caffe2/core/db.cc +++ b/caffe2/core/db.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/db.h" #include diff --git a/caffe2/core/db.h b/caffe2/core/db.h index 87274ea22038..98b1370966a1 100644 --- a/caffe2/core/db.h +++ b/caffe2/core/db.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_DB_H_ #define CAFFE2_CORE_DB_H_ diff --git a/caffe2/core/event.cc b/caffe2/core/event.cc index a81318104f6a..bc2fdb10138d 100644 --- a/caffe2/core/event.cc +++ b/caffe2/core/event.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/event_cpu.h" namespace caffe2 { diff --git a/caffe2/core/event.h b/caffe2/core/event.h index de4ba9412ce0..a9885a5edbbf 100644 --- a/caffe2/core/event.h +++ b/caffe2/core/event.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_EVENT_H_ #define CAFFE2_CORE_EVENT_H_ diff --git a/caffe2/core/event_cpu.h b/caffe2/core/event_cpu.h index 73342087f235..f6aff30553de 100644 --- a/caffe2/core/event_cpu.h +++ b/caffe2/core/event_cpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/event.h" #include "caffe2/core/operator.h" diff --git a/caffe2/core/event_gpu.cc b/caffe2/core/event_gpu.cc index 8a0ed6b39140..f61fac45e0c5 100644 --- a/caffe2/core/event_gpu.cc +++ b/caffe2/core/event_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/event_cpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/core/event_gpu_test.cc b/caffe2/core/event_gpu_test.cc index 17e30863aeb1..ec83d9818e2e 100644 --- a/caffe2/core/event_gpu_test.cc +++ b/caffe2/core/event_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/core/event_test.cc b/caffe2/core/event_test.cc index 15a8181b4ba8..02994ec6c59b 100644 --- a/caffe2/core/event_test.cc +++ b/caffe2/core/event_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context.h" #include "caffe2/core/event.h" diff --git a/caffe2/core/flags.cc b/caffe2/core/flags.cc index 1f83a5c1ef6f..2df6edc7848e 100644 --- a/caffe2/core/flags.cc +++ b/caffe2/core/flags.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/flags.h" #include diff --git a/caffe2/core/flags.h b/caffe2/core/flags.h index 6f340431a90d..6d8904560fe9 100644 --- a/caffe2/core/flags.h +++ b/caffe2/core/flags.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /** * @file flags.h * @brief Commandline flags support for Caffe2. diff --git a/caffe2/core/graph.cc b/caffe2/core/graph.cc index 871d9d2333ce..d7a900f802b4 100644 --- a/caffe2/core/graph.cc +++ b/caffe2/core/graph.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/graph.h" #include "caffe2/core/common.h" diff --git a/caffe2/core/graph.h b/caffe2/core/graph.h index 2e271b8124b0..52adb497202b 100644 --- a/caffe2/core/graph.h +++ b/caffe2/core/graph.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/core/graph_test.cc b/caffe2/core/graph_test.cc index e2b911716913..8aa4f1610793 100644 --- a/caffe2/core/graph_test.cc +++ b/caffe2/core/graph_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/graph.h" #include "caffe2/core/net.h" diff --git a/caffe2/core/init.cc b/caffe2/core/init.cc index fbdf69a161c4..23bdfb2e35d1 100644 --- a/caffe2/core/init.cc +++ b/caffe2/core/init.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/operator.h" // for StaticLinkingProtector diff --git a/caffe2/core/init.h b/caffe2/core/init.h index 0b2a46fd2ae7..b20866ef2637 100644 --- a/caffe2/core/init.h +++ b/caffe2/core/init.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_INIT_H_ #define CAFFE2_CORE_INIT_H_ diff --git a/caffe2/core/init_intrinsics_check.cc b/caffe2/core/init_intrinsics_check.cc index 4b79735446eb..16272192b9c1 100644 --- a/caffe2/core/init_intrinsics_check.cc +++ b/caffe2/core/init_intrinsics_check.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #include "caffe2/core/flags.h" #include "caffe2/core/init.h" diff --git a/caffe2/core/init_omp.cc b/caffe2/core/init_omp.cc index 1ac7a862bea5..b624e8edf595 100644 --- a/caffe2/core/init_omp.cc +++ b/caffe2/core/init_omp.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common.h" diff --git a/caffe2/core/init_test.cc b/caffe2/core/init_test.cc index 05d8aaf67817..902ad7bd3637 100644 --- a/caffe2/core/init_test.cc +++ b/caffe2/core/init_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/logging.cc b/caffe2/core/logging.cc index 352416892132..3681beabbb0b 100644 --- a/caffe2/core/logging.cc +++ b/caffe2/core/logging.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" #include "caffe2/core/flags.h" diff --git a/caffe2/core/logging.h b/caffe2/core/logging.h index 612c3c777cfd..ad9a57ea4f56 100644 --- a/caffe2/core/logging.h +++ b/caffe2/core/logging.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_LOGGING_H_ #define CAFFE2_CORE_LOGGING_H_ diff --git a/caffe2/core/logging_is_google_glog.h b/caffe2/core/logging_is_google_glog.h index 0fb0e6e9b54b..7dd2b4f05ae4 100644 --- a/caffe2/core/logging_is_google_glog.h +++ b/caffe2/core/logging_is_google_glog.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_LOGGING_IS_GOOGLE_GLOG_H_ #define CAFFE2_CORE_LOGGING_IS_GOOGLE_GLOG_H_ diff --git a/caffe2/core/logging_is_not_google_glog.h b/caffe2/core/logging_is_not_google_glog.h index d965d1772b7d..1db23b741b08 100644 --- a/caffe2/core/logging_is_not_google_glog.h +++ b/caffe2/core/logging_is_not_google_glog.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_LOGGING_IS_NOT_GOOGLE_GLOG_H_ #define CAFFE2_CORE_LOGGING_IS_NOT_GOOGLE_GLOG_H_ diff --git a/caffe2/core/logging_test.cc b/caffe2/core/logging_test.cc index 8f6e322b22c2..9249e08fbc3d 100644 --- a/caffe2/core/logging_test.cc +++ b/caffe2/core/logging_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/logging.h" diff --git a/caffe2/core/macros.h b/caffe2/core/macros.h index e8e31bdf4e5c..ccc0b1b3686b 100644 --- a/caffe2/core/macros.h +++ b/caffe2/core/macros.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once // This is a placeholder. The real content will be generated by the cmake diff --git a/caffe2/core/memonger.cc b/caffe2/core/memonger.cc index 24d72f4e817d..4a61ecb1060a 100644 --- a/caffe2/core/memonger.cc +++ b/caffe2/core/memonger.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/memonger.h" #include diff --git a/caffe2/core/memonger.h b/caffe2/core/memonger.h index 1076d29e46d4..fe65ae5dac19 100644 --- a/caffe2/core/memonger.h +++ b/caffe2/core/memonger.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_MEMONGER_H_ #define CAFFE2_CORE_MEMONGER_H_ diff --git a/caffe2/core/module.cc b/caffe2/core/module.cc index 4aa8a83dbce3..2d4793371053 100644 --- a/caffe2/core/module.cc +++ b/caffe2/core/module.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" #include "caffe2/core/module.h" diff --git a/caffe2/core/module.h b/caffe2/core/module.h index 50b798bf7380..ca6112fe533d 100644 --- a/caffe2/core/module.h +++ b/caffe2/core/module.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /** * A global dictionary that holds information about what Caffe2 modules have * been loaded in the current runtime, and also utility functions to load diff --git a/caffe2/core/module_test.cc b/caffe2/core/module_test.cc index d53d93cf7b7e..e5adabac8909 100644 --- a/caffe2/core/module_test.cc +++ b/caffe2/core/module_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/net.cc b/caffe2/core/net.cc index db8a3ba3c1f6..3309547d3c16 100644 --- a/caffe2/core/net.cc +++ b/caffe2/core/net.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net.h" #include "caffe2/core/net_simple.h" diff --git a/caffe2/core/net.h b/caffe2/core/net.h index 3cfe8fec32fb..833ebd7f50da 100644 --- a/caffe2/core/net.h +++ b/caffe2/core/net.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_H_ #define CAFFE2_CORE_NET_H_ diff --git a/caffe2/core/net_async_base.cc b/caffe2/core/net_async_base.cc index 02ae845bc279..5f8391412860 100644 --- a/caffe2/core/net_async_base.cc +++ b/caffe2/core/net_async_base.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_async_polling.h" #include "caffe2/core/operator.h" diff --git a/caffe2/core/net_async_base.h b/caffe2/core/net_async_base.h index a403e7601243..0feb1ae4d29f 100644 --- a/caffe2/core/net_async_base.h +++ b/caffe2/core/net_async_base.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_ASYNC_BASE_H_ #define CAFFE2_CORE_NET_ASYNC_BASE_H_ diff --git a/caffe2/core/net_async_dag_gpu.cc b/caffe2/core/net_async_dag_gpu.cc index cf62498bb64b..1f7e45d89004 100644 --- a/caffe2/core/net_async_dag_gpu.cc +++ b/caffe2/core/net_async_dag_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_async_dag_gpu.h" #include diff --git a/caffe2/core/net_async_dag_gpu.h b/caffe2/core/net_async_dag_gpu.h index 9eecc03a7f9b..f447c6bfe876 100644 --- a/caffe2/core/net_async_dag_gpu.h +++ b/caffe2/core/net_async_dag_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_ASYNC_DAG_GPU_H_ #define CAFFE2_CORE_NET_ASYNC_DAG_GPU_H_ diff --git a/caffe2/core/net_async_gpu_thread_pool.h b/caffe2/core/net_async_gpu_thread_pool.h index 504826835efb..4fa7caf1e8fc 100644 --- a/caffe2/core/net_async_gpu_thread_pool.h +++ b/caffe2/core/net_async_gpu_thread_pool.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_ASYNC_GPU_THREAD_POOL_H_ #define CAFFE2_CORE_NET_ASYNC_GPU_THREAD_POOL_H_ diff --git a/caffe2/core/net_async_gpu_thread_pool_gpu.cc b/caffe2/core/net_async_gpu_thread_pool_gpu.cc index 89242cab716b..93726fbd3394 100644 --- a/caffe2/core/net_async_gpu_thread_pool_gpu.cc +++ b/caffe2/core/net_async_gpu_thread_pool_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_async_gpu_thread_pool.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/core/net_async_polling.cc b/caffe2/core/net_async_polling.cc index 9f1bb2f03bbb..c4b1f6aad23b 100644 --- a/caffe2/core/net_async_polling.cc +++ b/caffe2/core/net_async_polling.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_async_polling.h" #include "caffe2/core/operator.h" diff --git a/caffe2/core/net_async_polling.h b/caffe2/core/net_async_polling.h index 85c0946f0f8c..570d0ec92478 100644 --- a/caffe2/core/net_async_polling.h +++ b/caffe2/core/net_async_polling.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_ASYNC_POLLING_H_ #define CAFFE2_CORE_NET_ASYNC_POLLING_H_ diff --git a/caffe2/core/net_async_scheduling.cc b/caffe2/core/net_async_scheduling.cc index 1b412bb430d4..043319bca0f4 100644 --- a/caffe2/core/net_async_scheduling.cc +++ b/caffe2/core/net_async_scheduling.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_async_scheduling.h" CAFFE2_DEFINE_bool( diff --git a/caffe2/core/net_async_scheduling.h b/caffe2/core/net_async_scheduling.h index 29ddfa539788..79f28440f208 100644 --- a/caffe2/core/net_async_scheduling.h +++ b/caffe2/core/net_async_scheduling.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_ASYNC_SCHEDULING_H_ #define CAFFE2_CORE_NET_ASYNC_SCHEDULING_H_ diff --git a/caffe2/core/net_dag.cc b/caffe2/core/net_dag.cc index 6970cbd65a07..ab65f342aec1 100644 --- a/caffe2/core/net_dag.cc +++ b/caffe2/core/net_dag.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_dag.h" #include diff --git a/caffe2/core/net_dag.h b/caffe2/core/net_dag.h index 4e100a4f5b2f..0fd8813b3152 100644 --- a/caffe2/core/net_dag.h +++ b/caffe2/core/net_dag.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_DAG_H_ #define CAFFE2_CORE_NET_DAG_H_ diff --git a/caffe2/core/net_dag_utils.cc b/caffe2/core/net_dag_utils.cc index 53b9285d7541..b1b23e46523a 100644 --- a/caffe2/core/net_dag_utils.cc +++ b/caffe2/core/net_dag_utils.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_dag_utils.h" #include diff --git a/caffe2/core/net_dag_utils.h b/caffe2/core/net_dag_utils.h index aafef1ddb31a..c0d5b90f0555 100644 --- a/caffe2/core/net_dag_utils.h +++ b/caffe2/core/net_dag_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_DAG_UTILS_H_ #define CAFFE2_CORE_NET_DAG_UTILS_H_ diff --git a/caffe2/core/net_gpu_test.cc b/caffe2/core/net_gpu_test.cc index ddffc5e2bdf9..e093889a6261 100644 --- a/caffe2/core/net_gpu_test.cc +++ b/caffe2/core/net_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common_gpu.h" #include "caffe2/core/net.h" diff --git a/caffe2/core/net_simple.cc b/caffe2/core/net_simple.cc index 9328dadd0a67..2f7d84252872 100644 --- a/caffe2/core/net_simple.cc +++ b/caffe2/core/net_simple.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_simple.h" #include "caffe2/core/net.h" diff --git a/caffe2/core/net_simple.h b/caffe2/core/net_simple.h index b07c410b06a1..e741a3963882 100644 --- a/caffe2/core/net_simple.h +++ b/caffe2/core/net_simple.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_SIMPLE_H_ #define CAFFE2_CORE_NET_SIMPLE_H_ diff --git a/caffe2/core/net_simple_async.cc b/caffe2/core/net_simple_async.cc index b99172f80f1c..738bc1daa0eb 100644 --- a/caffe2/core/net_simple_async.cc +++ b/caffe2/core/net_simple_async.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net_simple_async.h" #include "caffe2/core/net.h" diff --git a/caffe2/core/net_simple_async.h b/caffe2/core/net_simple_async.h index a604c119163a..34a2b64b6db4 100644 --- a/caffe2/core/net_simple_async.h +++ b/caffe2/core/net_simple_async.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_SIMPLE_ASYNC_H_ #define CAFFE2_CORE_NET_SIMPLE_ASYNC_H_ diff --git a/caffe2/core/net_singlethread_async_gpu.cc b/caffe2/core/net_singlethread_async_gpu.cc index bf00c9b14008..0eba1bdc26be 100644 --- a/caffe2/core/net_singlethread_async_gpu.cc +++ b/caffe2/core/net_singlethread_async_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/net_test.cc b/caffe2/core/net_test.cc index 1202f2da02e1..96f12236062a 100644 --- a/caffe2/core/net_test.cc +++ b/caffe2/core/net_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" #include "caffe2/core/net_dag.h" diff --git a/caffe2/core/numa.cc b/caffe2/core/numa.cc index 7c2b2c95c135..26c1284b4c4d 100644 --- a/caffe2/core/numa.cc +++ b/caffe2/core/numa.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/numa.h" CAFFE2_DEFINE_bool( diff --git a/caffe2/core/numa.h b/caffe2/core/numa.h index 7a9433eb537b..3009ce4bb5a5 100644 --- a/caffe2/core/numa.h +++ b/caffe2/core/numa.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NUMA_H_ #define CAFFE2_CORE_NUMA_H_ diff --git a/caffe2/core/observer.h b/caffe2/core/observer.h index 9f1259d04e88..be1dd83aa788 100644 --- a/caffe2/core/observer.h +++ b/caffe2/core/observer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/core/observer_test.cc b/caffe2/core/observer_test.cc index fac7afed23db..73baf28b18ba 100644 --- a/caffe2/core/observer_test.cc +++ b/caffe2/core/observer_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common.h" #include "caffe2/core/net.h" diff --git a/caffe2/core/operator.cc b/caffe2/core/operator.cc index f36b55258083..5aa17781b010 100644 --- a/caffe2/core/operator.cc +++ b/caffe2/core/operator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include diff --git a/caffe2/core/operator.h b/caffe2/core/operator.h index bfcec049a357..614fb00e8ca0 100644 --- a/caffe2/core/operator.h +++ b/caffe2/core/operator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_OPERATOR_H_ #define CAFFE2_CORE_OPERATOR_H_ diff --git a/caffe2/core/operator_gpu_test.cc b/caffe2/core/operator_gpu_test.cc index fcb2b239d302..103370abaa1f 100644 --- a/caffe2/core/operator_gpu_test.cc +++ b/caffe2/core/operator_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/operator_gradient.h b/caffe2/core/operator_gradient.h index 0b378e70dcd9..4072065f515d 100644 --- a/caffe2/core/operator_gradient.h +++ b/caffe2/core/operator_gradient.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_OPERATOR_GRADIENT_H_ #define CAFFE2_CORE_OPERATOR_GRADIENT_H_ diff --git a/caffe2/core/operator_schema.cc b/caffe2/core/operator_schema.cc index ae67f575dea2..807f0e306380 100644 --- a/caffe2/core/operator_schema.cc +++ b/caffe2/core/operator_schema.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator_schema.h" #include "caffe2/core/logging.h" diff --git a/caffe2/core/operator_schema.h b/caffe2/core/operator_schema.h index 7244a91ff098..3b4cf97eeba5 100644 --- a/caffe2/core/operator_schema.h +++ b/caffe2/core/operator_schema.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_OPERATOR_SCHEMA_H_ #define CAFFE2_CORE_OPERATOR_SCHEMA_H_ diff --git a/caffe2/core/operator_schema_test.cc b/caffe2/core/operator_schema_test.cc index bbc935d3d9ae..5e54cf7d37dd 100644 --- a/caffe2/core/operator_schema_test.cc +++ b/caffe2/core/operator_schema_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" #include "caffe2/core/operator.h" #include "caffe2/core/operator_schema.h" diff --git a/caffe2/core/operator_test.cc b/caffe2/core/operator_test.cc index ca463eabd6ec..a1bdf60ea6cb 100644 --- a/caffe2/core/operator_test.cc +++ b/caffe2/core/operator_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" diff --git a/caffe2/core/parallel_net_test.cc b/caffe2/core/parallel_net_test.cc index fd6504e6b366..ad306536b7f8 100644 --- a/caffe2/core/parallel_net_test.cc +++ b/caffe2/core/parallel_net_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include // NOLINT #include #include // NOLINT diff --git a/caffe2/core/plan_executor.cc b/caffe2/core/plan_executor.cc index 91e36d60128d..220a95dc1b95 100644 --- a/caffe2/core/plan_executor.cc +++ b/caffe2/core/plan_executor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/plan_executor.h" #include diff --git a/caffe2/core/plan_executor.h b/caffe2/core/plan_executor.h index 48bd926abd07..891e68cdd29a 100644 --- a/caffe2/core/plan_executor.h +++ b/caffe2/core/plan_executor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/core/predictor.cc b/caffe2/core/predictor.cc index 8a7c67be0516..ce15f8344367 100644 --- a/caffe2/core/predictor.cc +++ b/caffe2/core/predictor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/predictor.h" #include diff --git a/caffe2/core/predictor.h b/caffe2/core/predictor.h index 5ffb171ae806..5797165aa994 100644 --- a/caffe2/core/predictor.h +++ b/caffe2/core/predictor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/core/predictor_test.cc b/caffe2/core/predictor_test.cc index dc6978e751a4..d745f6f0bb48 100644 --- a/caffe2/core/predictor_test.cc +++ b/caffe2/core/predictor_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/core/predictor.h" diff --git a/caffe2/core/qtensor.cc b/caffe2/core/qtensor.cc index a77bd3cb67b3..b97be7851149 100644 --- a/caffe2/core/qtensor.cc +++ b/caffe2/core/qtensor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/qtensor.h" namespace caffe2 { diff --git a/caffe2/core/qtensor.h b/caffe2/core/qtensor.h index e2623581d727..d857cfaf2866 100644 --- a/caffe2/core/qtensor.h +++ b/caffe2/core/qtensor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_QTENSOR_H_ #define CAFFE2_CORE_QTENSOR_H_ diff --git a/caffe2/core/qtensor_serialization.cc b/caffe2/core/qtensor_serialization.cc index 351cc4de61dc..74dd01abe0b4 100644 --- a/caffe2/core/qtensor_serialization.cc +++ b/caffe2/core/qtensor_serialization.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/qtensor_serialization.h" namespace caffe2 { diff --git a/caffe2/core/qtensor_serialization.h b/caffe2/core/qtensor_serialization.h index 969646e48bf3..8efac029ee3a 100644 --- a/caffe2/core/qtensor_serialization.h +++ b/caffe2/core/qtensor_serialization.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_QTENSOR_SERIALIZATION_H_ #define CAFFE2_CORE_QTENSOR_SERIALIZATION_H_ diff --git a/caffe2/core/registry.h b/caffe2/core/registry.h index 5ed7f400ba64..a3858ee8d778 100644 --- a/caffe2/core/registry.h +++ b/caffe2/core/registry.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /** * Simple registry implementation in Caffe2 that uses static variables to * register object creators during program initialization time. diff --git a/caffe2/core/registry_test.cc b/caffe2/core/registry_test.cc index 2408ff1b82be..7ad8ead55346 100644 --- a/caffe2/core/registry_test.cc +++ b/caffe2/core/registry_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/core/scope_guard.h b/caffe2/core/scope_guard.h index 3079f0aef57c..e8dcfe1a936c 100644 --- a/caffe2/core/scope_guard.h +++ b/caffe2/core/scope_guard.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /** * Copyright 2016 Facebook * @author Tudor Bosman (tudorb@fb.com) diff --git a/caffe2/core/static_tracepoint.h b/caffe2/core/static_tracepoint.h index 43fc7b588a92..5666163529a3 100644 --- a/caffe2/core/static_tracepoint.h +++ b/caffe2/core/static_tracepoint.h @@ -1,35 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Copyright 2017 Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #if defined(__ELF__) && (defined(__x86_64__) || defined(__i386__)) diff --git a/caffe2/core/static_tracepoint_elfx86.h b/caffe2/core/static_tracepoint_elfx86.h index 93cd8c090ab3..cfe3368e1c2b 100644 --- a/caffe2/core/static_tracepoint_elfx86.h +++ b/caffe2/core/static_tracepoint_elfx86.h @@ -1,35 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Copyright 2017 Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once // Default constraint for the probe arguments as operands. diff --git a/caffe2/core/stats.cc b/caffe2/core/stats.cc index 578afc9d51cc..c217a61b3af5 100644 --- a/caffe2/core/stats.cc +++ b/caffe2/core/stats.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/stats.h" #include diff --git a/caffe2/core/stats.h b/caffe2/core/stats.h index 30fb8f1021f6..42b5c752fcce 100644 --- a/caffe2/core/stats.h +++ b/caffe2/core/stats.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/core/stats_test.cc b/caffe2/core/stats_test.cc index 297f37f0c4c1..383daaf80d35 100644 --- a/caffe2/core/stats_test.cc +++ b/caffe2/core/stats_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/tensor.cc b/caffe2/core/tensor.cc index b170d4de7dbf..852b605ac2ae 100644 --- a/caffe2/core/tensor.cc +++ b/caffe2/core/tensor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/tensor.h" #include "caffe2/core/blob_stats.h" diff --git a/caffe2/core/tensor.h b/caffe2/core/tensor.h index f4d7365e75c8..338ffe03d705 100644 --- a/caffe2/core/tensor.h +++ b/caffe2/core/tensor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_TENSOR_H_ #define CAFFE2_CORE_TENSOR_H_ diff --git a/caffe2/core/timer.h b/caffe2/core/timer.h index 0cb4a8b839b4..150aabe185ba 100644 --- a/caffe2/core/timer.h +++ b/caffe2/core/timer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_TIMER_H_ #define CAFFE2_CORE_TIMER_H_ diff --git a/caffe2/core/timer_test.cc b/caffe2/core/timer_test.cc index 0cb927d68cdc..765b2042c97d 100644 --- a/caffe2/core/timer_test.cc +++ b/caffe2/core/timer_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/core/transform.cc b/caffe2/core/transform.cc index ca41d85f3b84..51ac5d1297ce 100644 --- a/caffe2/core/transform.cc +++ b/caffe2/core/transform.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/transform.h" #include "caffe2/core/common.h" diff --git a/caffe2/core/transform.h b/caffe2/core/transform.h index 6d2135e4a468..63f7e2646733 100644 --- a/caffe2/core/transform.h +++ b/caffe2/core/transform.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/core/transform_test.cc b/caffe2/core/transform_test.cc index 3b1625973b14..0a5b5c7e9846 100644 --- a/caffe2/core/transform_test.cc +++ b/caffe2/core/transform_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/core/typeid.cc b/caffe2/core/typeid.cc index d23a7f8eacc4..896fd63d98b2 100644 --- a/caffe2/core/typeid.cc +++ b/caffe2/core/typeid.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/typeid.h" #include "caffe2/core/scope_guard.h" diff --git a/caffe2/core/typeid.h b/caffe2/core/typeid.h index 842ebff2865c..3d57baceff7c 100644 --- a/caffe2/core/typeid.h +++ b/caffe2/core/typeid.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_TYPEID_H_ #define CAFFE2_CORE_TYPEID_H_ diff --git a/caffe2/core/typeid_test.cc b/caffe2/core/typeid_test.cc index 58a71099ff5e..cc62a108de7d 100644 --- a/caffe2/core/typeid_test.cc +++ b/caffe2/core/typeid_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/typeid.h" #include "caffe2/core/types.h" #include diff --git a/caffe2/core/types.cc b/caffe2/core/types.cc index 63ab4636d973..cbf0f6eadf3d 100644 --- a/caffe2/core/types.cc +++ b/caffe2/core/types.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/types.h" #include "caffe2/core/typeid.h" diff --git a/caffe2/core/types.h b/caffe2/core/types.h index d69e3ce74d83..b5385bb7faf3 100644 --- a/caffe2/core/types.h +++ b/caffe2/core/types.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_TYPES_H_ #define CAFFE2_CORE_TYPES_H_ diff --git a/caffe2/core/workspace.cc b/caffe2/core/workspace.cc index 319ceabd5ef5..812a6a0475c7 100644 --- a/caffe2/core/workspace.cc +++ b/caffe2/core/workspace.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/workspace.h" #include diff --git a/caffe2/core/workspace.h b/caffe2/core/workspace.h index f85e4c79f1f4..c6bd638de412 100644 --- a/caffe2/core/workspace.h +++ b/caffe2/core/workspace.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_WORKSPACE_H_ #define CAFFE2_CORE_WORKSPACE_H_ diff --git a/caffe2/core/workspace_test.cc b/caffe2/core/workspace_test.cc index e9d6b00eae63..ae966e875c87 100644 --- a/caffe2/core/workspace_test.cc +++ b/caffe2/core/workspace_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/operator.h" diff --git a/caffe2/cuda_rtc/common_rtc.h b/caffe2/cuda_rtc/common_rtc.h index 6eba34581e86..80c2ba2ec582 100644 --- a/caffe2/cuda_rtc/common_rtc.h +++ b/caffe2/cuda_rtc/common_rtc.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CUDA_RTC_COMMON_RTC_H_ #define CAFFE2_CUDA_RTC_COMMON_RTC_H_ diff --git a/caffe2/cuda_rtc/elemenntwise_rtc_gpu.cc b/caffe2/cuda_rtc/elemenntwise_rtc_gpu.cc index 578c8c36ac2d..6b3b62d770f9 100644 --- a/caffe2/cuda_rtc/elemenntwise_rtc_gpu.cc +++ b/caffe2/cuda_rtc/elemenntwise_rtc_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/cuda_rtc/pool_op_rtc_gpu.cc b/caffe2/cuda_rtc/pool_op_rtc_gpu.cc index f787e903a4ca..4dc8d598044b 100644 --- a/caffe2/cuda_rtc/pool_op_rtc_gpu.cc +++ b/caffe2/cuda_rtc/pool_op_rtc_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common_gpu.h" diff --git a/caffe2/db/create_db_op.cc b/caffe2/db/create_db_op.cc index 3148c2ae796a..d5b815f14843 100644 --- a/caffe2/db/create_db_op.cc +++ b/caffe2/db/create_db_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/db/create_db_op.h" namespace caffe2 { diff --git a/caffe2/db/create_db_op.h b/caffe2/db/create_db_op.h index a9772f671e5c..c2d6060b4f03 100644 --- a/caffe2/db/create_db_op.h +++ b/caffe2/db/create_db_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_DB_CREATE_DB_OP_H_ #define CAFFE2_DB_CREATE_DB_OP_H_ diff --git a/caffe2/db/create_db_op_gpu.cc b/caffe2/db/create_db_op_gpu.cc index e8290721612a..07552aa445c6 100644 --- a/caffe2/db/create_db_op_gpu.cc +++ b/caffe2/db/create_db_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/db/create_db_op.h" diff --git a/caffe2/db/db_test.cc b/caffe2/db/db_test.cc index 33c5dcd5ec47..7bbe253dc7b3 100644 --- a/caffe2/db/db_test.cc +++ b/caffe2/db/db_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/db/leveldb.cc b/caffe2/db/leveldb.cc index d789fa952bd2..6c5eff44fa92 100644 --- a/caffe2/db/leveldb.cc +++ b/caffe2/db/leveldb.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/db.h" #include "caffe2/core/logging.h" #include "caffe2/core/flags.h" diff --git a/caffe2/db/lmdb.cc b/caffe2/db/lmdb.cc index 3a1043802e98..0af3af0834dc 100644 --- a/caffe2/db/lmdb.cc +++ b/caffe2/db/lmdb.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "lmdb.h" // NOLINT #if defined(_MSC_VER) diff --git a/caffe2/db/protodb.cc b/caffe2/db/protodb.cc index 58a5ee17a6c6..64d5e952f2e4 100644 --- a/caffe2/db/protodb.cc +++ b/caffe2/db/protodb.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/db.h" diff --git a/caffe2/db/zmqdb.cc b/caffe2/db/zmqdb.cc index 0ed4674af590..e5947eb61752 100644 --- a/caffe2/db/zmqdb.cc +++ b/caffe2/db/zmqdb.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/distributed/file_store_handler.cc b/caffe2/distributed/file_store_handler.cc index d426768e04f8..8f5e639d0909 100644 --- a/caffe2/distributed/file_store_handler.cc +++ b/caffe2/distributed/file_store_handler.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "file_store_handler_op.h" #include diff --git a/caffe2/distributed/file_store_handler.h b/caffe2/distributed/file_store_handler.h index f5920bfd276f..a8818394f526 100644 --- a/caffe2/distributed/file_store_handler.h +++ b/caffe2/distributed/file_store_handler.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/distributed/file_store_handler_op.cc b/caffe2/distributed/file_store_handler_op.cc index bd98da102e85..a018daf200c1 100644 --- a/caffe2/distributed/file_store_handler_op.cc +++ b/caffe2/distributed/file_store_handler_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "file_store_handler_op.h" namespace caffe2 { diff --git a/caffe2/distributed/file_store_handler_op.h b/caffe2/distributed/file_store_handler_op.h index a7764d8cba20..82aeb341f1a4 100644 --- a/caffe2/distributed/file_store_handler_op.h +++ b/caffe2/distributed/file_store_handler_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "file_store_handler.h" diff --git a/caffe2/distributed/file_store_handler_op_gpu.cc b/caffe2/distributed/file_store_handler_op_gpu.cc index d90b10ccc9b5..c2e3ff27c937 100644 --- a/caffe2/distributed/file_store_handler_op_gpu.cc +++ b/caffe2/distributed/file_store_handler_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "file_store_handler_op.h" #include diff --git a/caffe2/distributed/file_store_handler_op_test.py b/caffe2/distributed/file_store_handler_op_test.py index 5108ef2eefa7..cec7c75299b0 100644 --- a/caffe2/distributed/file_store_handler_op_test.py +++ b/caffe2/distributed/file_store_handler_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/distributed/redis_store_handler.cc b/caffe2/distributed/redis_store_handler.cc index d6ae14bd2e0e..a2f41cc90927 100644 --- a/caffe2/distributed/redis_store_handler.cc +++ b/caffe2/distributed/redis_store_handler.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "redis_store_handler.h" #include diff --git a/caffe2/distributed/redis_store_handler.h b/caffe2/distributed/redis_store_handler.h index f25a15aedbd9..ee208d9964ed 100644 --- a/caffe2/distributed/redis_store_handler.h +++ b/caffe2/distributed/redis_store_handler.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/distributed/redis_store_handler_op.cc b/caffe2/distributed/redis_store_handler_op.cc index 6334bb3172e2..1ff32a093c9c 100644 --- a/caffe2/distributed/redis_store_handler_op.cc +++ b/caffe2/distributed/redis_store_handler_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "redis_store_handler_op.h" namespace caffe2 { diff --git a/caffe2/distributed/redis_store_handler_op.h b/caffe2/distributed/redis_store_handler_op.h index 277324a2e88a..5908fbd178ba 100644 --- a/caffe2/distributed/redis_store_handler_op.h +++ b/caffe2/distributed/redis_store_handler_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "redis_store_handler.h" diff --git a/caffe2/distributed/redis_store_handler_op_gpu.cc b/caffe2/distributed/redis_store_handler_op_gpu.cc index a21cf72f5403..9bf8d25bba6c 100644 --- a/caffe2/distributed/redis_store_handler_op_gpu.cc +++ b/caffe2/distributed/redis_store_handler_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "redis_store_handler_op.h" #include diff --git a/caffe2/distributed/redis_store_handler_op_test.py b/caffe2/distributed/redis_store_handler_op_test.py index 4faf54a2a804..b42fd1e2d7a3 100644 --- a/caffe2/distributed/redis_store_handler_op_test.py +++ b/caffe2/distributed/redis_store_handler_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/distributed/store_handler.cc b/caffe2/distributed/store_handler.cc index 44818e8cd540..5c585f8544b9 100644 --- a/caffe2/distributed/store_handler.cc +++ b/caffe2/distributed/store_handler.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "store_handler.h" #include diff --git a/caffe2/distributed/store_handler.h b/caffe2/distributed/store_handler.h index 7f03030f820c..bb16cad76248 100644 --- a/caffe2/distributed/store_handler.h +++ b/caffe2/distributed/store_handler.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/distributed/store_ops.cc b/caffe2/distributed/store_ops.cc index 3326a955c8df..734dfc47801c 100644 --- a/caffe2/distributed/store_ops.cc +++ b/caffe2/distributed/store_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "store_ops.h" namespace caffe2 { diff --git a/caffe2/distributed/store_ops.h b/caffe2/distributed/store_ops.h index da6ea34ef319..b0097a393e3d 100644 --- a/caffe2/distributed/store_ops.h +++ b/caffe2/distributed/store_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "store_handler.h" diff --git a/caffe2/distributed/store_ops_test_util.py b/caffe2/distributed/store_ops_test_util.py index 08f035d6a9b8..2abe697cface 100644 --- a/caffe2/distributed/store_ops_test_util.py +++ b/caffe2/distributed/store_ops_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package store_ops_test_util # Module caffe2.distributed.store_ops_test_util from __future__ import absolute_import diff --git a/caffe2/experiments/operators/fully_connected_op_decomposition.cc b/caffe2/experiments/operators/fully_connected_op_decomposition.cc index 686af179ad57..936e683b4b16 100644 --- a/caffe2/experiments/operators/fully_connected_op_decomposition.cc +++ b/caffe2/experiments/operators/fully_connected_op_decomposition.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/fully_connected_op_decomposition.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/fully_connected_op_decomposition.h b/caffe2/experiments/operators/fully_connected_op_decomposition.h index f06877f188b8..9b22964a75fc 100644 --- a/caffe2/experiments/operators/fully_connected_op_decomposition.h +++ b/caffe2/experiments/operators/fully_connected_op_decomposition.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_OP_DECOMPOSITION_H_ #define CAFFE2_OPERATORS_FULLY_CONNECTED_OP_DECOMPOSITION_H_ diff --git a/caffe2/experiments/operators/fully_connected_op_decomposition_gpu.cc b/caffe2/experiments/operators/fully_connected_op_decomposition_gpu.cc index c2ca90159234..e9c5b0395bc1 100644 --- a/caffe2/experiments/operators/fully_connected_op_decomposition_gpu.cc +++ b/caffe2/experiments/operators/fully_connected_op_decomposition_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/experiments/operators/fully_connected_op_decomposition.h" diff --git a/caffe2/experiments/operators/fully_connected_op_prune.cc b/caffe2/experiments/operators/fully_connected_op_prune.cc index 8ca613e3c0a7..8a09243c3c20 100644 --- a/caffe2/experiments/operators/fully_connected_op_prune.cc +++ b/caffe2/experiments/operators/fully_connected_op_prune.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/fully_connected_op_prune.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/fully_connected_op_prune.h b/caffe2/experiments/operators/fully_connected_op_prune.h index 5b9508f26f2b..bbc13bd96dbb 100644 --- a/caffe2/experiments/operators/fully_connected_op_prune.h +++ b/caffe2/experiments/operators/fully_connected_op_prune.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_OP_PRUNE_H_ #define CAFFE2_OPERATORS_FULLY_CONNECTED_OP_PRUNE_H_ diff --git a/caffe2/experiments/operators/fully_connected_op_sparse.cc b/caffe2/experiments/operators/fully_connected_op_sparse.cc index 2213f1e340a9..37f26d3365c3 100644 --- a/caffe2/experiments/operators/fully_connected_op_sparse.cc +++ b/caffe2/experiments/operators/fully_connected_op_sparse.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/fully_connected_op_sparse.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/fully_connected_op_sparse.h b/caffe2/experiments/operators/fully_connected_op_sparse.h index a5abe18a0748..3025298eacec 100644 --- a/caffe2/experiments/operators/fully_connected_op_sparse.h +++ b/caffe2/experiments/operators/fully_connected_op_sparse.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_OP_SPARSE_H_ #define CAFFE2_OPERATORS_FULLY_CONNECTED_OP_SPARSE_H_ diff --git a/caffe2/experiments/operators/funhash_op.cc b/caffe2/experiments/operators/funhash_op.cc index 0340308d7e41..7438ffc9f0fe 100644 --- a/caffe2/experiments/operators/funhash_op.cc +++ b/caffe2/experiments/operators/funhash_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/funhash_op.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/funhash_op.h b/caffe2/experiments/operators/funhash_op.h index 76bd37aee08e..2f607a48d177 100644 --- a/caffe2/experiments/operators/funhash_op.h +++ b/caffe2/experiments/operators/funhash_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FUNHASH_OP_H_ #define CAFFE2_OPERATORS_FUNHASH_OP_H_ diff --git a/caffe2/experiments/operators/sparse_funhash_op.cc b/caffe2/experiments/operators/sparse_funhash_op.cc index 58caa6334241..219343afefd3 100644 --- a/caffe2/experiments/operators/sparse_funhash_op.cc +++ b/caffe2/experiments/operators/sparse_funhash_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/sparse_funhash_op.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/sparse_funhash_op.h b/caffe2/experiments/operators/sparse_funhash_op.h index 04c2441f297b..6741a5143af1 100644 --- a/caffe2/experiments/operators/sparse_funhash_op.h +++ b/caffe2/experiments/operators/sparse_funhash_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPARSE_FUNHASH_OP_H_ #define CAFFE2_OPERATORS_SPARSE_FUNHASH_OP_H_ diff --git a/caffe2/experiments/operators/sparse_matrix_reshape_op.cc b/caffe2/experiments/operators/sparse_matrix_reshape_op.cc index b7dd5bf0c8d6..be1ff3e6ec04 100644 --- a/caffe2/experiments/operators/sparse_matrix_reshape_op.cc +++ b/caffe2/experiments/operators/sparse_matrix_reshape_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/sparse_matrix_reshape_op.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/sparse_matrix_reshape_op.h b/caffe2/experiments/operators/sparse_matrix_reshape_op.h index b952a72158f4..f533b265baf5 100644 --- a/caffe2/experiments/operators/sparse_matrix_reshape_op.h +++ b/caffe2/experiments/operators/sparse_matrix_reshape_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPARSE_MATRIX_RESHAPE_H_ #define CAFFE2_OPERATORS_SPARSE_MATRIX_RESHAPE_H_ diff --git a/caffe2/experiments/operators/tt_contraction_op.cc b/caffe2/experiments/operators/tt_contraction_op.cc index 68c61d6b4ad4..693311daa7f2 100644 --- a/caffe2/experiments/operators/tt_contraction_op.cc +++ b/caffe2/experiments/operators/tt_contraction_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/tt_contraction_op.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/tt_contraction_op.h b/caffe2/experiments/operators/tt_contraction_op.h index 11ef35bd235a..f58b40c0228b 100644 --- a/caffe2/experiments/operators/tt_contraction_op.h +++ b/caffe2/experiments/operators/tt_contraction_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TT_CONTRACTION_OP_H_ #define CAFFE2_OPERATORS_TT_CONTRACTION_OP_H_ diff --git a/caffe2/experiments/operators/tt_contraction_op_gpu.cc b/caffe2/experiments/operators/tt_contraction_op_gpu.cc index 496d8cb8dfcb..7d0d5235958b 100644 --- a/caffe2/experiments/operators/tt_contraction_op_gpu.cc +++ b/caffe2/experiments/operators/tt_contraction_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/experiments/operators/tt_contraction_op.h" diff --git a/caffe2/experiments/operators/tt_pad_op.cc b/caffe2/experiments/operators/tt_pad_op.cc index 4d8d9f302c64..47816fd70f2e 100644 --- a/caffe2/experiments/operators/tt_pad_op.cc +++ b/caffe2/experiments/operators/tt_pad_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/experiments/operators/tt_pad_op.h" namespace caffe2 { diff --git a/caffe2/experiments/operators/tt_pad_op.h b/caffe2/experiments/operators/tt_pad_op.h index c85101542ce4..220eecccfdc6 100644 --- a/caffe2/experiments/operators/tt_pad_op.h +++ b/caffe2/experiments/operators/tt_pad_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TT_PAD_OP_H_ #define CAFFE2_OPERATORS_TT_PAD_OP_H_ diff --git a/caffe2/experiments/python/SparseTransformer.py b/caffe2/experiments/python/SparseTransformer.py index ff9ab7715c33..c09bb0957479 100644 --- a/caffe2/experiments/python/SparseTransformer.py +++ b/caffe2/experiments/python/SparseTransformer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package SparseTransformer # Module caffe2.experiments.python.SparseTransformer from __future__ import absolute_import diff --git a/caffe2/experiments/python/convnet_benchmarks.py b/caffe2/experiments/python/convnet_benchmarks.py index b02318594e3b..cec67c38e7ad 100644 --- a/caffe2/experiments/python/convnet_benchmarks.py +++ b/caffe2/experiments/python/convnet_benchmarks.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package convnet_benchmarks # Module caffe2.experiments.python.convnet_benchmarks from __future__ import absolute_import diff --git a/caffe2/experiments/python/device_reduce_sum_bench.py b/caffe2/experiments/python/device_reduce_sum_bench.py index dbe0dae4f0c2..7da34fd4bc98 100644 --- a/caffe2/experiments/python/device_reduce_sum_bench.py +++ b/caffe2/experiments/python/device_reduce_sum_bench.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package device_reduce_sum_bench # Module caffe2.experiments.python.device_reduce_sum_bench from __future__ import absolute_import diff --git a/caffe2/experiments/python/funhash_op_test.py b/caffe2/experiments/python/funhash_op_test.py index 6a4eb0e6b5b5..c6371c05f08e 100644 --- a/caffe2/experiments/python/funhash_op_test.py +++ b/caffe2/experiments/python/funhash_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/experiments/python/net_construct_bench.py b/caffe2/experiments/python/net_construct_bench.py index da98100b16cb..762b0fb1aa30 100644 --- a/caffe2/experiments/python/net_construct_bench.py +++ b/caffe2/experiments/python/net_construct_bench.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package net_construct_bench # Module caffe2.experiments.python.net_construct_bench from __future__ import absolute_import diff --git a/caffe2/experiments/python/sparse_funhash_op_test.py b/caffe2/experiments/python/sparse_funhash_op_test.py index 2af006249c7d..10b1c0f52a56 100644 --- a/caffe2/experiments/python/sparse_funhash_op_test.py +++ b/caffe2/experiments/python/sparse_funhash_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/experiments/python/sparse_reshape_op_test.py b/caffe2/experiments/python/sparse_reshape_op_test.py index 5849580f09e1..345427130241 100644 --- a/caffe2/experiments/python/sparse_reshape_op_test.py +++ b/caffe2/experiments/python/sparse_reshape_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/experiments/python/tt_contraction_op_test.py b/caffe2/experiments/python/tt_contraction_op_test.py index 4cd04a16ea23..048145c47a1f 100644 --- a/caffe2/experiments/python/tt_contraction_op_test.py +++ b/caffe2/experiments/python/tt_contraction_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/experiments/python/tt_pad_op_test.py b/caffe2/experiments/python/tt_pad_op_test.py index 10be7adcb453..e66c52af324e 100644 --- a/caffe2/experiments/python/tt_pad_op_test.py +++ b/caffe2/experiments/python/tt_pad_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/image/image_input_op.cc b/caffe2/image/image_input_op.cc index 251563432fe9..25fe290ba845 100644 --- a/caffe2/image/image_input_op.cc +++ b/caffe2/image/image_input_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/image/image_input_op.h" namespace caffe2 { diff --git a/caffe2/image/image_input_op.h b/caffe2/image/image_input_op.h index 87c4311964f4..8633bb8c9100 100644 --- a/caffe2/image/image_input_op.h +++ b/caffe2/image/image_input_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_IMAGE_IMAGE_INPUT_OP_H_ #define CAFFE2_IMAGE_IMAGE_INPUT_OP_H_ diff --git a/caffe2/image/image_input_op_gpu.cc b/caffe2/image/image_input_op_gpu.cc index 32208120d620..c69889c3f812 100644 --- a/caffe2/image/image_input_op_gpu.cc +++ b/caffe2/image/image_input_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" #include "caffe2/image/image_input_op.h" diff --git a/caffe2/image/transform_gpu.cu b/caffe2/image/transform_gpu.cu index 0ffb70b25410..c6d8d775332d 100644 --- a/caffe2/image/transform_gpu.cu +++ b/caffe2/image/transform_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/image/transform_gpu.h" #include "caffe2/utils/conversions.h" diff --git a/caffe2/image/transform_gpu.h b/caffe2/image/transform_gpu.h index 16543e28e3d7..a19b5251f5d7 100644 --- a/caffe2/image/transform_gpu.h +++ b/caffe2/image/transform_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_IMAGE_TRANSFORM_GPU_H_ #define CAFFE2_IMAGE_TRANSFORM_GPU_H_ diff --git a/caffe2/mkl/mkl_operator.cc b/caffe2/mkl/mkl_operator.cc index 47c49675b0c0..fb032051f34a 100644 --- a/caffe2/mkl/mkl_operator.cc +++ b/caffe2/mkl/mkl_operator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/proto/caffe2.pb.h" diff --git a/caffe2/mkl/mkl_utils.h b/caffe2/mkl/mkl_utils.h index 3931a7192833..9514129b89fb 100644 --- a/caffe2/mkl/mkl_utils.h +++ b/caffe2/mkl/mkl_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_UTILS_H_ #define CAFFE2_UTILS_MKL_UTILS_H_ diff --git a/caffe2/mkl/mkl_utils_test.cc b/caffe2/mkl/mkl_utils_test.cc index e8d1a6f533c5..678d643c5253 100644 --- a/caffe2/mkl/mkl_utils_test.cc +++ b/caffe2/mkl/mkl_utils_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob.h" #include "caffe2/core/context.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/mkl/mklmemory_serialization.cc b/caffe2/mkl/mklmemory_serialization.cc index cbde4d0be000..35f787b8f6f6 100644 --- a/caffe2/mkl/mklmemory_serialization.cc +++ b/caffe2/mkl/mklmemory_serialization.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob.h" #include "caffe2/core/blob_serialization.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/mklmemory_serialization_test.cc b/caffe2/mkl/mklmemory_serialization_test.cc index 26fb02bac629..d4b84817dc41 100644 --- a/caffe2/mkl/mklmemory_serialization_test.cc +++ b/caffe2/mkl/mklmemory_serialization_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/blob.h" #include "caffe2/core/blob_serialization.h" #include "caffe2/core/common.h" diff --git a/caffe2/mkl/operators/concat_op.cc b/caffe2/mkl/operators/concat_op.cc index 9fe16746615c..204f1c1cda93 100644 --- a/caffe2/mkl/operators/concat_op.cc +++ b/caffe2/mkl/operators/concat_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mkl/mkl_utils.h" #ifdef CAFFE2_HAS_MKL_DNN diff --git a/caffe2/mkl/operators/conv_op.cc b/caffe2/mkl/operators/conv_op.cc index e4ae7e51ffc9..71618316cbec 100644 --- a/caffe2/mkl/operators/conv_op.cc +++ b/caffe2/mkl/operators/conv_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/operators/conv_op_mkldnn.cc b/caffe2/mkl/operators/conv_op_mkldnn.cc index b485e20cc286..0e363863bc43 100644 --- a/caffe2/mkl/operators/conv_op_mkldnn.cc +++ b/caffe2/mkl/operators/conv_op_mkldnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/operators/elementwise_sum_op.cc b/caffe2/mkl/operators/elementwise_sum_op.cc index 5d3d3773dce8..2ebee27b21de 100644 --- a/caffe2/mkl/operators/elementwise_sum_op.cc +++ b/caffe2/mkl/operators/elementwise_sum_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/operators/fully_connected_op.cc b/caffe2/mkl/operators/fully_connected_op.cc index c788f079a0de..404a67a6b7ac 100644 --- a/caffe2/mkl/operators/fully_connected_op.cc +++ b/caffe2/mkl/operators/fully_connected_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/operators/local_response_normalization_op.cc b/caffe2/mkl/operators/local_response_normalization_op.cc index fd67bb4d41da..f57b4b48b7e7 100644 --- a/caffe2/mkl/operators/local_response_normalization_op.cc +++ b/caffe2/mkl/operators/local_response_normalization_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/local_response_normalization_op.h" #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mkl/operators/operator_fallback_mkl.cc b/caffe2/mkl/operators/operator_fallback_mkl.cc index 982ddbf008ad..e58cc5d856e7 100644 --- a/caffe2/mkl/operators/operator_fallback_mkl.cc +++ b/caffe2/mkl/operators/operator_fallback_mkl.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mkl/operators/operator_fallback_mkl.h" #include "caffe2/mkl/utils/mkl_operator.h" diff --git a/caffe2/mkl/operators/operator_fallback_mkl.h b/caffe2/mkl/operators/operator_fallback_mkl.h index c1aa2337ae6a..cc90bc16c083 100644 --- a/caffe2/mkl/operators/operator_fallback_mkl.h +++ b/caffe2/mkl/operators/operator_fallback_mkl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_OPERATOR_FALLBACK_H_ #define CAFFE2_OPERATORS_OPERATOR_FALLBACK_H_ diff --git a/caffe2/mkl/operators/packed_fc_op.cc b/caffe2/mkl/operators/packed_fc_op.cc index 8610bc93e434..d24bed7b3dbc 100644 --- a/caffe2/mkl/operators/packed_fc_op.cc +++ b/caffe2/mkl/operators/packed_fc_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context.h" diff --git a/caffe2/mkl/operators/pool_op.cc b/caffe2/mkl/operators/pool_op.cc index 115d1f6ccff0..434fad2f46b3 100644 --- a/caffe2/mkl/operators/pool_op.cc +++ b/caffe2/mkl/operators/pool_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/mkl/operators/relu_op.cc b/caffe2/mkl/operators/relu_op.cc index e16fc41b4fd6..ef734eda72f8 100644 --- a/caffe2/mkl/operators/relu_op.cc +++ b/caffe2/mkl/operators/relu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/relu_op.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/operators/spatial_batch_norm_op.cc b/caffe2/mkl/operators/spatial_batch_norm_op.cc index eab10ee24301..41ee61585d71 100644 --- a/caffe2/mkl/operators/spatial_batch_norm_op.cc +++ b/caffe2/mkl/operators/spatial_batch_norm_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/spatial_batch_norm_op.h" #include diff --git a/caffe2/mkl/operators/squeeze_op.cc b/caffe2/mkl/operators/squeeze_op.cc index a41b37299a9a..fb71be56f774 100644 --- a/caffe2/mkl/operators/squeeze_op.cc +++ b/caffe2/mkl/operators/squeeze_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mkl/mkl_utils.h" #include "caffe2/operators/expand_squeeze_dims_op.h" diff --git a/caffe2/mkl/operators/utility_ops.cc b/caffe2/mkl/operators/utility_ops.cc index 51ce9be78686..969450c7c117 100644 --- a/caffe2/mkl/operators/utility_ops.cc +++ b/caffe2/mkl/operators/utility_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/utility_ops.h" #include "caffe2/core/operator.h" #include "caffe2/mkl/mkl_utils.h" diff --git a/caffe2/mkl/utils/mkl_context.cc b/caffe2/mkl/utils/mkl_context.cc index 3aeaefe62716..e13b3ada86fa 100644 --- a/caffe2/mkl/utils/mkl_context.cc +++ b/caffe2/mkl/utils/mkl_context.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // #include "caffe2/mkl/utils/mkl_context.h" #include "caffe2/core/event_cpu.h" diff --git a/caffe2/mkl/utils/mkl_context.h b/caffe2/mkl/utils/mkl_context.h index f86650728ae1..b876894746af 100644 --- a/caffe2/mkl/utils/mkl_context.h +++ b/caffe2/mkl/utils/mkl_context.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_CONTEXT_H_ #define CAFFE2_UTILS_MKL_CONTEXT_H_ diff --git a/caffe2/mkl/utils/mkl_dnn_cppwrapper.h b/caffe2/mkl/utils/mkl_dnn_cppwrapper.h index 541c848e5105..f775c0f3d4a6 100644 --- a/caffe2/mkl/utils/mkl_dnn_cppwrapper.h +++ b/caffe2/mkl/utils/mkl_dnn_cppwrapper.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Do not directl include this file. Include caffe2/mkl/mkl_utils.h instead. #ifndef CAFFE2_UTILS_MKL_MKL_DNN_CPPWRAPPER_H #define CAFFE2_UTILS_MKL_MKL_DNN_CPPWRAPPER_H diff --git a/caffe2/mkl/utils/mkl_memory.cc b/caffe2/mkl/utils/mkl_memory.cc index c89745d5d51c..e71c750b53bd 100644 --- a/caffe2/mkl/utils/mkl_memory.cc +++ b/caffe2/mkl/utils/mkl_memory.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mkl/mkl_utils.h" #include "caffe2/core/init.h" diff --git a/caffe2/mkl/utils/mkl_memory.h b/caffe2/mkl/utils/mkl_memory.h index 43b6f11ca4af..ac74e8ae070b 100644 --- a/caffe2/mkl/utils/mkl_memory.h +++ b/caffe2/mkl/utils/mkl_memory.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_MKL_MEMORY_H_ #define CAFFE2_UTILS_MKL_MKL_MEMORY_H_ diff --git a/caffe2/mkl/utils/mkl_operator.h b/caffe2/mkl/utils/mkl_operator.h index 35bc280bfeb3..5e7b87101599 100644 --- a/caffe2/mkl/utils/mkl_operator.h +++ b/caffe2/mkl/utils/mkl_operator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_OPERATOR_H_ #define CAFFE2_UTILS_MKL_OPERATOR_H_ diff --git a/caffe2/mkl/utils/mkl_version_check.h b/caffe2/mkl/utils/mkl_version_check.h index 8cd7538254ef..7a125c2b527c 100644 --- a/caffe2/mkl/utils/mkl_version_check.h +++ b/caffe2/mkl/utils/mkl_version_check.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_MKL_VERSION_CHECK_H_ #define CAFFE2_UTILS_MKL_MKL_VERSION_CHECK_H_ #ifdef CAFFE2_USE_MKL diff --git a/caffe2/mkl/utils/sgemm_pack.h b/caffe2/mkl/utils/sgemm_pack.h index 58d504edc45f..5d45f8455910 100644 --- a/caffe2/mkl/utils/sgemm_pack.h +++ b/caffe2/mkl/utils/sgemm_pack.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MKL_SGEMM_PACK_H_ #define CAFFE2_UTILS_MKL_SGEMM_PACK_H_ diff --git a/caffe2/mobile/contrib/arm-compute/core/net_gl.cc b/caffe2/mobile/contrib/arm-compute/core/net_gl.cc index 945ed55ec040..4bc9fd5d2411 100644 --- a/caffe2/mobile/contrib/arm-compute/core/net_gl.cc +++ b/caffe2/mobile/contrib/arm-compute/core/net_gl.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mobile/contrib/arm-compute/core/net_gl.h" #include "caffe2/mobile/contrib/arm-compute/core/context.h" #include "caffe2/core/net.h" diff --git a/caffe2/mobile/contrib/arm-compute/core/net_gl.h b/caffe2/mobile/contrib/arm-compute/core/net_gl.h index 27654ba87564..dc8643b8e019 100644 --- a/caffe2/mobile/contrib/arm-compute/core/net_gl.h +++ b/caffe2/mobile/contrib/arm-compute/core/net_gl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CORE_NET_GL_H_ #define CAFFE2_CORE_NET_GL_H_ diff --git a/caffe2/mobile/contrib/arm-compute/core/rewrite_net.cc b/caffe2/mobile/contrib/arm-compute/core/rewrite_net.cc index b858103270a0..8ee07692a31d 100644 --- a/caffe2/mobile/contrib/arm-compute/core/rewrite_net.cc +++ b/caffe2/mobile/contrib/arm-compute/core/rewrite_net.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rewrite_net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/arm-compute/core/rewrite_net.h b/caffe2/mobile/contrib/arm-compute/core/rewrite_net.h index 1dde30b5ce5b..8d508786f71b 100644 --- a/caffe2/mobile/contrib/arm-compute/core/rewrite_net.h +++ b/caffe2/mobile/contrib/arm-compute/core/rewrite_net.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/mobile/contrib/arm-compute/core/net_gl.h" diff --git a/caffe2/mobile/contrib/ios/ios_caffe.cc b/caffe2/mobile/contrib/ios/ios_caffe.cc index 435efe40c039..12e0e5598c6a 100644 --- a/caffe2/mobile/contrib/ios/ios_caffe.cc +++ b/caffe2/mobile/contrib/ios/ios_caffe.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ios_caffe.h" #include "caffe2/core/predictor.h" diff --git a/caffe2/mobile/contrib/ios/ios_caffe.h b/caffe2/mobile/contrib/ios/ios_caffe.h index 79eae933d45b..3fbd235a74f7 100644 --- a/caffe2/mobile/contrib/ios/ios_caffe.h +++ b/caffe2/mobile/contrib/ios/ios_caffe.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifdef __cplusplus diff --git a/caffe2/mobile/contrib/ios/ios_caffe_defines.h b/caffe2/mobile/contrib/ios/ios_caffe_defines.h index 9ace570f73ff..57b4858d6456 100644 --- a/caffe2/mobile/contrib/ios/ios_caffe_defines.h +++ b/caffe2/mobile/contrib/ios/ios_caffe_defines.h @@ -1,18 +1,2 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #define IOS_CAFFE_EXPORT __attribute__((visibility("default"))) diff --git a/caffe2/mobile/contrib/ios/ios_caffe_predictor.cc b/caffe2/mobile/contrib/ios/ios_caffe_predictor.cc index 02d618a7b4c7..d497c9b7b704 100644 --- a/caffe2/mobile/contrib/ios/ios_caffe_predictor.cc +++ b/caffe2/mobile/contrib/ios/ios_caffe_predictor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mobile/contrib/ios/ios_caffe_predictor.h" #include "caffe2/core/flags.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/mobile/contrib/ios/ios_caffe_predictor.h b/caffe2/mobile/contrib/ios/ios_caffe_predictor.h index 413dbe4b902b..0b065d3c4269 100644 --- a/caffe2/mobile/contrib/ios/ios_caffe_predictor.h +++ b/caffe2/mobile/contrib/ios/ios_caffe_predictor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn.h b/caffe2/mobile/contrib/ios/mpscnn/mpscnn.h index a46834192b3e..ec7b8f17373f 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn.h +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/net.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn.mm b/caffe2/mobile/contrib/ios/mpscnn/mpscnn.mm index 4e309f28adb3..f768b6ee26bc 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn.mm +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #include "caffe2/core/context.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.h b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.h index f5f3c964be27..58cb54c88a7f 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.h +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.mm b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.mm index c95b11dc4557..e52534fa64b2 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.mm +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_context.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph.mm b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph.mm index f57583dc3bdb..b2945d58a103 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph.mm +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "mpscnn.h" #include "mpscnn_context.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.h b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.h index 9cda6f91f4e8..19fc59ca38de 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.h +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/net.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.mm b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.mm index 2c81c7c2dce1..bec56de77000 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.mm +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "mpscnn_graph_mask.h" #include "caffe2/core/operator.h" #include "mpscnn_context.h" diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_kernels.h b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_kernels.h index ae7f90fc706d..56a081b106a2 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_kernels.h +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_kernels.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // @generated static const char* MPSCNN_KERNELS = R"V0G0N( diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.h b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.h index f3b691aa3a34..7fd4a6df413d 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.h +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/net.h" #pragma once diff --git a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.mm b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.mm index cb094fb3c16b..63c487cb39c4 100644 --- a/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.mm +++ b/caffe2/mobile/contrib/ios/mpscnn/mpscnn_test.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #if CAFFE2_MOBILE && defined(CAFFE2_USE_MPSCNN_TEST) diff --git a/caffe2/mobile/contrib/ios/pool_test.cc b/caffe2/mobile/contrib/ios/pool_test.cc index 165fef513419..e6d9daa0e70d 100644 --- a/caffe2/mobile/contrib/ios/pool_test.cc +++ b/caffe2/mobile/contrib/ios/pool_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/mobile/contrib/ios/resize_test.cc b/caffe2/mobile/contrib/ios/resize_test.cc index 4a34d04fb3be..5a14f4606635 100644 --- a/caffe2/mobile/contrib/ios/resize_test.cc +++ b/caffe2/mobile/contrib/ios/resize_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/mobile/contrib/nnapi/dlnnapi.h b/caffe2/mobile/contrib/nnapi/dlnnapi.h index 4b25a2e5e505..989d32be9076 100644 --- a/caffe2/mobile/contrib/nnapi/dlnnapi.h +++ b/caffe2/mobile/contrib/nnapi/dlnnapi.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/mobile/contrib/nnapi/nnapi.cc b/caffe2/mobile/contrib/nnapi/nnapi.cc index 838999d92f57..3f05149c7045 100644 --- a/caffe2/mobile/contrib/nnapi/nnapi.cc +++ b/caffe2/mobile/contrib/nnapi/nnapi.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" #include "caffe2/core/types.h" diff --git a/caffe2/mobile/contrib/nnapi/nnapi.h b/caffe2/mobile/contrib/nnapi/nnapi.h index 5cd69e3c767e..04d51aae81bf 100644 --- a/caffe2/mobile/contrib/nnapi/nnapi.h +++ b/caffe2/mobile/contrib/nnapi/nnapi.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" #include "caffe2/core/types.h" diff --git a/caffe2/mobile/contrib/nnapi/nnapi_test.cc b/caffe2/mobile/contrib/nnapi/nnapi_test.cc index 8f0e2dcf0aa4..76278c8ef8fb 100644 --- a/caffe2/mobile/contrib/nnapi/nnapi_test.cc +++ b/caffe2/mobile/contrib/nnapi/nnapi_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/init.h" diff --git a/caffe2/mobile/contrib/opengl/android/AndroidGLContext.cc b/caffe2/mobile/contrib/opengl/android/AndroidGLContext.cc index e04faf41b4bc..14a23c40208b 100644 --- a/caffe2/mobile/contrib/opengl/android/AndroidGLContext.cc +++ b/caffe2/mobile/contrib/opengl/android/AndroidGLContext.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "AndroidGLContext.h" #include "caffe2/core/logging.h" #include "gl3stub.h" diff --git a/caffe2/mobile/contrib/opengl/android/AndroidGLContext.h b/caffe2/mobile/contrib/opengl/android/AndroidGLContext.h index 6d1bd1049bd3..51f197030365 100644 --- a/caffe2/mobile/contrib/opengl/android/AndroidGLContext.h +++ b/caffe2/mobile/contrib/opengl/android/AndroidGLContext.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/android/GLContext.cc b/caffe2/mobile/contrib/opengl/android/GLContext.cc index f2fa31873844..ea707e1fd71a 100644 --- a/caffe2/mobile/contrib/opengl/android/GLContext.cc +++ b/caffe2/mobile/contrib/opengl/android/GLContext.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "AndroidGLContext.h" diff --git a/caffe2/mobile/contrib/opengl/android/GLImageAllocator.cc b/caffe2/mobile/contrib/opengl/android/GLImageAllocator.cc index e593b730d1bf..1c058339d310 100644 --- a/caffe2/mobile/contrib/opengl/android/GLImageAllocator.cc +++ b/caffe2/mobile/contrib/opengl/android/GLImageAllocator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLImageAllocator.h" #include "../core/arm_neon_support.h" diff --git a/caffe2/mobile/contrib/opengl/android/arm_neon_support.h b/caffe2/mobile/contrib/opengl/android/arm_neon_support.h index ea0e1fc36cfc..ddd9a853805b 100644 --- a/caffe2/mobile/contrib/opengl/android/arm_neon_support.h +++ b/caffe2/mobile/contrib/opengl/android/arm_neon_support.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/android/gl3stub.h b/caffe2/mobile/contrib/opengl/android/gl3stub.h index afaf92caab4b..49637b69cf9e 100644 --- a/caffe2/mobile/contrib/opengl/android/gl3stub.h +++ b/caffe2/mobile/contrib/opengl/android/gl3stub.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef __gl3_h_ #define __gl3_h_ diff --git a/caffe2/mobile/contrib/opengl/core/DataTransfer.cc b/caffe2/mobile/contrib/opengl/core/DataTransfer.cc index 0e58328fdf27..775d9210a4ce 100644 --- a/caffe2/mobile/contrib/opengl/core/DataTransfer.cc +++ b/caffe2/mobile/contrib/opengl/core/DataTransfer.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "DataTransfer.h" #include "GLLogging.h" diff --git a/caffe2/mobile/contrib/opengl/core/DataTransfer.h b/caffe2/mobile/contrib/opengl/core/DataTransfer.h index e6a36f941657..59a91dd946ef 100644 --- a/caffe2/mobile/contrib/opengl/core/DataTransfer.h +++ b/caffe2/mobile/contrib/opengl/core/DataTransfer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GL.h b/caffe2/mobile/contrib/opengl/core/GL.h index 171669ed25e4..31e1c0d1089a 100644 --- a/caffe2/mobile/contrib/opengl/core/GL.h +++ b/caffe2/mobile/contrib/opengl/core/GL.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLContext.cc b/caffe2/mobile/contrib/opengl/core/GLContext.cc index 6b5fc9182ff3..0f5086c51e1e 100644 --- a/caffe2/mobile/contrib/opengl/core/GLContext.cc +++ b/caffe2/mobile/contrib/opengl/core/GLContext.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLContext.h b/caffe2/mobile/contrib/opengl/core/GLContext.h index 15eac5ee8549..fc84f8fed0e6 100644 --- a/caffe2/mobile/contrib/opengl/core/GLContext.h +++ b/caffe2/mobile/contrib/opengl/core/GLContext.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "GLTexture.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLFilter.cc b/caffe2/mobile/contrib/opengl/core/GLFilter.cc index e4a62ed5f870..7c039e97ab92 100644 --- a/caffe2/mobile/contrib/opengl/core/GLFilter.cc +++ b/caffe2/mobile/contrib/opengl/core/GLFilter.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLFilter.h" #include diff --git a/caffe2/mobile/contrib/opengl/core/GLFilter.h b/caffe2/mobile/contrib/opengl/core/GLFilter.h index 300bd7c63173..d34eac02440c 100644 --- a/caffe2/mobile/contrib/opengl/core/GLFilter.h +++ b/caffe2/mobile/contrib/opengl/core/GLFilter.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLImage.cc b/caffe2/mobile/contrib/opengl/core/GLImage.cc index 3a45fa71e544..7c7f2429e6fd 100644 --- a/caffe2/mobile/contrib/opengl/core/GLImage.cc +++ b/caffe2/mobile/contrib/opengl/core/GLImage.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLImage.h" #include "arm_neon_support.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLImage.h b/caffe2/mobile/contrib/opengl/core/GLImage.h index 61d4993f344b..4b3a057f8c90 100644 --- a/caffe2/mobile/contrib/opengl/core/GLImage.h +++ b/caffe2/mobile/contrib/opengl/core/GLImage.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLImageAllocator.cc b/caffe2/mobile/contrib/opengl/core/GLImageAllocator.cc index de14ab412405..5f15840ab7e9 100644 --- a/caffe2/mobile/contrib/opengl/core/GLImageAllocator.cc +++ b/caffe2/mobile/contrib/opengl/core/GLImageAllocator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLImageAllocator.h" #include "arm_neon_support.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLImageAllocator.h b/caffe2/mobile/contrib/opengl/core/GLImageAllocator.h index a8dc3acd6a15..a6764e665c8d 100644 --- a/caffe2/mobile/contrib/opengl/core/GLImageAllocator.h +++ b/caffe2/mobile/contrib/opengl/core/GLImageAllocator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLLogging.h b/caffe2/mobile/contrib/opengl/core/GLLogging.h index 577bd283f6ed..9e57660b0e9e 100644 --- a/caffe2/mobile/contrib/opengl/core/GLLogging.h +++ b/caffe2/mobile/contrib/opengl/core/GLLogging.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLPBO.cc b/caffe2/mobile/contrib/opengl/core/GLPBO.cc index cbe283ec5c4a..eea3bedd77e0 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPBO.cc +++ b/caffe2/mobile/contrib/opengl/core/GLPBO.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLPBO.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLPBO.h b/caffe2/mobile/contrib/opengl/core/GLPBO.h index f63ae14855dd..c904656b224e 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPBO.h +++ b/caffe2/mobile/contrib/opengl/core/GLPBO.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLPlainTexture.cc b/caffe2/mobile/contrib/opengl/core/GLPlainTexture.cc index 27eca30ba34d..71b69c5bcc04 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPlainTexture.cc +++ b/caffe2/mobile/contrib/opengl/core/GLPlainTexture.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLPlainTexture.h" #include "GLPBO.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLPlainTexture.h b/caffe2/mobile/contrib/opengl/core/GLPlainTexture.h index e7f047609862..4a211ac1cba5 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPlainTexture.h +++ b/caffe2/mobile/contrib/opengl/core/GLPlainTexture.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLPredictor.cc b/caffe2/mobile/contrib/opengl/core/GLPredictor.cc index c482d124cfd2..405292ae16eb 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPredictor.cc +++ b/caffe2/mobile/contrib/opengl/core/GLPredictor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLPredictor.h" #include "GLContext.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLPredictor.h b/caffe2/mobile/contrib/opengl/core/GLPredictor.h index ab7d9f11d989..2806f8a04082 100644 --- a/caffe2/mobile/contrib/opengl/core/GLPredictor.h +++ b/caffe2/mobile/contrib/opengl/core/GLPredictor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/GLTexture.cc b/caffe2/mobile/contrib/opengl/core/GLTexture.cc index b6ca604f4b71..2e3e4063a570 100644 --- a/caffe2/mobile/contrib/opengl/core/GLTexture.cc +++ b/caffe2/mobile/contrib/opengl/core/GLTexture.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLTexture.h" #include "DataTransfer.h" diff --git a/caffe2/mobile/contrib/opengl/core/GLTexture.h b/caffe2/mobile/contrib/opengl/core/GLTexture.h index d0998ec0881f..c12152e7cf01 100644 --- a/caffe2/mobile/contrib/opengl/core/GLTexture.h +++ b/caffe2/mobile/contrib/opengl/core/GLTexture.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "GL.h" diff --git a/caffe2/mobile/contrib/opengl/core/ImageAllocator.h b/caffe2/mobile/contrib/opengl/core/ImageAllocator.h index 9a8fde938a71..22eb25d39393 100644 --- a/caffe2/mobile/contrib/opengl/core/ImageAllocator.h +++ b/caffe2/mobile/contrib/opengl/core/ImageAllocator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/arm_neon_support.h b/caffe2/mobile/contrib/opengl/core/arm_neon_support.h index f971450031b8..d1e1a585e1ea 100644 --- a/caffe2/mobile/contrib/opengl/core/arm_neon_support.h +++ b/caffe2/mobile/contrib/opengl/core/arm_neon_support.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/core/rewrite_net.cc b/caffe2/mobile/contrib/opengl/core/rewrite_net.cc index 39a2f08b1e80..1919c90963c3 100644 --- a/caffe2/mobile/contrib/opengl/core/rewrite_net.cc +++ b/caffe2/mobile/contrib/opengl/core/rewrite_net.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rewrite_net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/opengl/core/rewrite_net.h b/caffe2/mobile/contrib/opengl/core/rewrite_net.h index 46feb4994b8b..c3c47d63f750 100644 --- a/caffe2/mobile/contrib/opengl/core/rewrite_net.h +++ b/caffe2/mobile/contrib/opengl/core/rewrite_net.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "GLPredictor.h" diff --git a/caffe2/mobile/contrib/opengl/ios/GLContext.cc b/caffe2/mobile/contrib/opengl/ios/GLContext.cc index 8b852a3e16da..f708ce6b15ce 100644 --- a/caffe2/mobile/contrib/opengl/ios/GLContext.cc +++ b/caffe2/mobile/contrib/opengl/ios/GLContext.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "IOSGLContext.h" diff --git a/caffe2/mobile/contrib/opengl/ios/GLImageAllocator.cc b/caffe2/mobile/contrib/opengl/ios/GLImageAllocator.cc index f5bcb58a9942..9f6e04a3ca21 100644 --- a/caffe2/mobile/contrib/opengl/ios/GLImageAllocator.cc +++ b/caffe2/mobile/contrib/opengl/ios/GLImageAllocator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "IOSGLImageAllocator.h" #include diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLContext.h b/caffe2/mobile/contrib/opengl/ios/IOSGLContext.h index 2846cd48bd5e..09e807a59385 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLContext.h +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLContext.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLContext.mm b/caffe2/mobile/contrib/opengl/ios/IOSGLContext.mm index 73f09a3fd1d3..c436e59576a3 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLContext.mm +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLContext.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "IOSGLContext.h" #include "IOSGLTexture.h" diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.cc b/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.cc index d8c511873000..2c4824a4c343 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.cc +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "IOSGLImageAllocator.h" diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.h b/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.h index 6d0c4f1ec093..ced28bc82180 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.h +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLImageAllocator.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.h b/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.h index de7c4dc03a19..94eb7a8d7a0b 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.h +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.mm b/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.mm index 432657560cdf..7fc1bbc393ad 100644 --- a/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.mm +++ b/caffe2/mobile/contrib/opengl/ios/IOSGLTexture.mm @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "IOSGLTexture.h" #include "../core/DataTransfer.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLAdd.cc b/caffe2/mobile/contrib/opengl/operators/GLAdd.cc index 19a98232523d..755678f91a83 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLAdd.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLAdd.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLConcat.cc b/caffe2/mobile/contrib/opengl/operators/GLConcat.cc index 78fa8f2685ff..5da06de3e793 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLConcat.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLConcat.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLConvolution.cc b/caffe2/mobile/contrib/opengl/operators/GLConvolution.cc index e1835652594f..0926a6177fe9 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLConvolution.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLConvolution.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "GLConvolution.h" #include "../core/GLContext.h" #include "../core/ImageAllocator.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLConvolution.h b/caffe2/mobile/contrib/opengl/operators/GLConvolution.h index ba308d1b91a4..fe6e6a001029 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLConvolution.h +++ b/caffe2/mobile/contrib/opengl/operators/GLConvolution.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "../core/GLFilter.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLCopyOps.cc b/caffe2/mobile/contrib/opengl/operators/GLCopyOps.cc index 87ad2fb31c6c..1d32c4966ee4 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLCopyOps.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLCopyOps.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLInstanceNorm.cc b/caffe2/mobile/contrib/opengl/operators/GLInstanceNorm.cc index 10e8a200e52b..301b057d42b6 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLInstanceNorm.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLInstanceNorm.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLMul.cc b/caffe2/mobile/contrib/opengl/operators/GLMul.cc index 4923bb2fbadb..0d41fce502fc 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLMul.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLMul.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLNormPlanarYUV.cc b/caffe2/mobile/contrib/opengl/operators/GLNormPlanarYUV.cc index 33b5abcbd118..39468f6effe0 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLNormPlanarYUV.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLNormPlanarYUV.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLPRelu.cc b/caffe2/mobile/contrib/opengl/operators/GLPRelu.cc index 687b334160d1..2d9d06a1b18c 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLPRelu.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLPRelu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLPadImage.cc b/caffe2/mobile/contrib/opengl/operators/GLPadImage.cc index ba3ac9d6eaf0..c0e7261dcd54 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLPadImage.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLPadImage.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLPool.cc b/caffe2/mobile/contrib/opengl/operators/GLPool.cc index d94a3e8203f1..5f4426f378a6 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLPool.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLPool.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLResize.cc b/caffe2/mobile/contrib/opengl/operators/GLResize.cc index ffbbf29e064f..2f5a47c904aa 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLResize.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLResize.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc b/caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc index 4256b335738b..a8ac83184d41 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLSoftmax.cc b/caffe2/mobile/contrib/opengl/operators/GLSoftmax.cc index adf4f4f21474..0f120f82f5d7 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLSoftmax.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLSoftmax.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLStylizer.cc b/caffe2/mobile/contrib/opengl/operators/GLStylizer.cc index 5a69b86b2ee8..af3f8ac6aee4 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLStylizer.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLStylizer.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLContext.h" #include "../core/GLFilter.h" diff --git a/caffe2/mobile/contrib/opengl/operators/GLSub.cc b/caffe2/mobile/contrib/opengl/operators/GLSub.cc index eeb695e1c981..a35e1b833c6b 100644 --- a/caffe2/mobile/contrib/opengl/operators/GLSub.cc +++ b/caffe2/mobile/contrib/opengl/operators/GLSub.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "../core/GLFilter.h" #include "../core/GLImage.h" diff --git a/caffe2/mobile/contrib/opengl/operators/gl_tiling_utils.h b/caffe2/mobile/contrib/opengl/operators/gl_tiling_utils.h index 477f659070dd..8b0c24dcc037 100644 --- a/caffe2/mobile/contrib/opengl/operators/gl_tiling_utils.h +++ b/caffe2/mobile/contrib/opengl/operators/gl_tiling_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/mobile/contrib/opengl/test/TestGLConvolution.cc b/caffe2/mobile/contrib/opengl/test/TestGLConvolution.cc index 8e2fe11ff7f9..13c5a72dcd8d 100644 --- a/caffe2/mobile/contrib/opengl/test/TestGLConvolution.cc +++ b/caffe2/mobile/contrib/opengl/test/TestGLConvolution.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/core/timer.h" diff --git a/caffe2/mobile/contrib/opengl/test/TestGLConvolution.h b/caffe2/mobile/contrib/opengl/test/TestGLConvolution.h index 404a1b663f09..63f5d3b8f8bb 100644 --- a/caffe2/mobile/contrib/opengl/test/TestGLConvolution.h +++ b/caffe2/mobile/contrib/opengl/test/TestGLConvolution.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/mobile/contrib/opengl/test/opengl_test.cc b/caffe2/mobile/contrib/opengl/test/opengl_test.cc index 12b0518ebf83..f9ede815f5a9 100644 --- a/caffe2/mobile/contrib/opengl/test/opengl_test.cc +++ b/caffe2/mobile/contrib/opengl/test/opengl_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "opengl_test.h" diff --git a/caffe2/mobile/contrib/opengl/test/opengl_test.h b/caffe2/mobile/contrib/opengl/test/opengl_test.h index 30cf6ed06b31..5de80b4a3de4 100644 --- a/caffe2/mobile/contrib/opengl/test/opengl_test.h +++ b/caffe2/mobile/contrib/opengl/test/opengl_test.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/proto/caffe2.pb.h" diff --git a/caffe2/mobile/contrib/snpe/snpe_ffi.cc b/caffe2/mobile/contrib/snpe/snpe_ffi.cc index 327d672a677a..b57bacd4af0a 100644 --- a/caffe2/mobile/contrib/snpe/snpe_ffi.cc +++ b/caffe2/mobile/contrib/snpe/snpe_ffi.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "snpe_ffi.h" #include "DiagLog/IDiagLog.hpp" diff --git a/caffe2/mobile/contrib/snpe/snpe_ffi.h b/caffe2/mobile/contrib/snpe/snpe_ffi.h index a37f38b68323..54c713d5bab5 100644 --- a/caffe2/mobile/contrib/snpe/snpe_ffi.h +++ b/caffe2/mobile/contrib/snpe/snpe_ffi.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_SNPE_FFI_H_ #define CAFFE2_SNPE_FFI_H_ diff --git a/caffe2/mobile/contrib/snpe/snpe_globals.cc b/caffe2/mobile/contrib/snpe/snpe_globals.cc index 86c3530c3048..0df8ac1c99db 100644 --- a/caffe2/mobile/contrib/snpe/snpe_globals.cc +++ b/caffe2/mobile/contrib/snpe/snpe_globals.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "snpe_ffi.h" #include #include diff --git a/caffe2/mobile/contrib/snpe/snpe_op.cc b/caffe2/mobile/contrib/snpe/snpe_op.cc index a0e37cb97038..fa015960183d 100644 --- a/caffe2/mobile/contrib/snpe/snpe_op.cc +++ b/caffe2/mobile/contrib/snpe/snpe_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/logging.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/snpe/snpe_op_benchmark.cc b/caffe2/mobile/contrib/snpe/snpe_op_benchmark.cc index 9d0123c3ffc8..58e3ccbb8a7b 100644 --- a/caffe2/mobile/contrib/snpe/snpe_op_benchmark.cc +++ b/caffe2/mobile/contrib/snpe/snpe_op_benchmark.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifdef __ARM_NEON__ #include "caffe2/core/init.h" #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/ulp2/ulp.cc b/caffe2/mobile/contrib/ulp2/ulp.cc index 85b11661f83e..6ac1466487c5 100644 --- a/caffe2/mobile/contrib/ulp2/ulp.cc +++ b/caffe2/mobile/contrib/ulp2/ulp.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ulp.h" #include "caffe2/operators/conv_pool_op_base.h" #include "ulp_neon.h" diff --git a/caffe2/mobile/contrib/ulp2/ulp.h b/caffe2/mobile/contrib/ulp2/ulp.h index cf9d8d27627a..bddbf85bb053 100644 --- a/caffe2/mobile/contrib/ulp2/ulp.h +++ b/caffe2/mobile/contrib/ulp2/ulp.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/mobile/contrib/ulp2/ulp_neon.cc b/caffe2/mobile/contrib/ulp2/ulp_neon.cc index 2eb0e464d3f5..a341a3f6434b 100644 --- a/caffe2/mobile/contrib/ulp2/ulp_neon.cc +++ b/caffe2/mobile/contrib/ulp2/ulp_neon.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ulp_neon.h" #include "caffe2/core/timer.h" #include "caffe2/utils/math.h" diff --git a/caffe2/mobile/contrib/ulp2/ulp_neon.h b/caffe2/mobile/contrib/ulp2/ulp_neon.h index 413214807687..6ec1bd1021fb 100644 --- a/caffe2/mobile/contrib/ulp2/ulp_neon.h +++ b/caffe2/mobile/contrib/ulp2/ulp_neon.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "ulp.h" diff --git a/caffe2/mobile/contrib/ulp2/ulp_test.cc b/caffe2/mobile/contrib/ulp2/ulp_test.cc index 386244115c4c..58bc5e713283 100644 --- a/caffe2/mobile/contrib/ulp2/ulp_test.cc +++ b/caffe2/mobile/contrib/ulp2/ulp_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ulp.h" #include "ulp_neon.h" #include "gtest/gtest.h" diff --git a/caffe2/mpi/mpi_common.cc b/caffe2/mpi/mpi_common.cc index 202dd4542263..ff5bef64d156 100644 --- a/caffe2/mpi/mpi_common.cc +++ b/caffe2/mpi/mpi_common.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mpi/mpi_common.h" #include diff --git a/caffe2/mpi/mpi_common.h b/caffe2/mpi/mpi_common.h index b6eec5a41960..3e1e7a5625bd 100644 --- a/caffe2/mpi/mpi_common.h +++ b/caffe2/mpi/mpi_common.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_MPI_MPI_COMMON_H_ #define CAFFE2_MPI_MPI_COMMON_H_ diff --git a/caffe2/mpi/mpi_gpu_test.cc b/caffe2/mpi/mpi_gpu_test.cc index 31047bded155..087a87575510 100644 --- a/caffe2/mpi/mpi_gpu_test.cc +++ b/caffe2/mpi/mpi_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/context_gpu.h" #include "caffe2/core/net.h" diff --git a/caffe2/mpi/mpi_ops.cc b/caffe2/mpi/mpi_ops.cc index 7e1f456c899f..819fe04166dd 100644 --- a/caffe2/mpi/mpi_ops.cc +++ b/caffe2/mpi/mpi_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mpi/mpi_ops.h" namespace caffe2 { diff --git a/caffe2/mpi/mpi_ops.h b/caffe2/mpi/mpi_ops.h index c5a8909a9ccf..108bf45afdb0 100644 --- a/caffe2/mpi/mpi_ops.h +++ b/caffe2/mpi/mpi_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_MPI_MPI_OPS_H_ #define CAFFE2_MPI_MPI_OPS_H_ diff --git a/caffe2/mpi/mpi_ops_gpu.cc b/caffe2/mpi/mpi_ops_gpu.cc index d5287ebb6284..b28a31f00cda 100644 --- a/caffe2/mpi/mpi_ops_gpu.cc +++ b/caffe2/mpi/mpi_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/mpi/mpi_ops.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/operator_fallback_gpu.h" diff --git a/caffe2/mpi/mpi_test.cc b/caffe2/mpi/mpi_test.cc index 0787c81425aa..c53325935912 100644 --- a/caffe2/mpi/mpi_test.cc +++ b/caffe2/mpi/mpi_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/observers/operator_attaching_net_observer.h b/caffe2/observers/operator_attaching_net_observer.h index 660d043602e1..41419309a40f 100644 --- a/caffe2/observers/operator_attaching_net_observer.h +++ b/caffe2/observers/operator_attaching_net_observer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/net.h" diff --git a/caffe2/observers/time_observer.cc b/caffe2/observers/time_observer.cc index ae39efabf363..e82efe6b6b69 100644 --- a/caffe2/observers/time_observer.cc +++ b/caffe2/observers/time_observer.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "time_observer.h" #include "caffe2/core/logging.h" diff --git a/caffe2/observers/time_observer.h b/caffe2/observers/time_observer.h index ecf5b3c83970..0cc71cb20a44 100644 --- a/caffe2/observers/time_observer.h +++ b/caffe2/observers/time_observer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_CONTRIB_OBSERVERS_TIME_OBSERVER_H_ #define CAFFE2_CONTRIB_OBSERVERS_TIME_OBSERVER_H_ diff --git a/caffe2/observers/time_observer_test.cc b/caffe2/observers/time_observer_test.cc index af133854a010..5aa3c8587828 100644 --- a/caffe2/observers/time_observer_test.cc +++ b/caffe2/observers/time_observer_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #include "caffe2/core/net.h" #include "caffe2/core/observer.h" diff --git a/caffe2/onnx/backend.cc b/caffe2/onnx/backend.cc index e776922196b1..b3c84366228b 100644 --- a/caffe2/onnx/backend.cc +++ b/caffe2/onnx/backend.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" #include "caffe2/core/operator.h" #include "caffe2/onnx/backend.h" diff --git a/caffe2/onnx/backend.h b/caffe2/onnx/backend.h index 3d3c9f1d2147..65ebec8e7bb2 100644 --- a/caffe2/onnx/backend.h +++ b/caffe2/onnx/backend.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/onnx/backend_rep.h" diff --git a/caffe2/onnx/backend_rep.cc b/caffe2/onnx/backend_rep.cc index 996f9c0f4c8a..092e40ce6e97 100644 --- a/caffe2/onnx/backend_rep.cc +++ b/caffe2/onnx/backend_rep.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common.h" #include "caffe2/onnx/backend_rep.h" diff --git a/caffe2/onnx/backend_rep.h b/caffe2/onnx/backend_rep.h index 0548dadf28d3..5fe503bbe7ad 100644 --- a/caffe2/onnx/backend_rep.h +++ b/caffe2/onnx/backend_rep.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/predictor.h" diff --git a/caffe2/onnx/device.cc b/caffe2/onnx/device.cc index a769fdd1b8ea..7808c54f307a 100644 --- a/caffe2/onnx/device.cc +++ b/caffe2/onnx/device.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/onnx/device.h" #include diff --git a/caffe2/onnx/device.h b/caffe2/onnx/device.h index 6a367bb07415..447d9fd6ac12 100644 --- a/caffe2/onnx/device.h +++ b/caffe2/onnx/device.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/onnx/helper.cc b/caffe2/onnx/helper.cc index 7b5cd5893d36..35b1da21eaf9 100644 --- a/caffe2/onnx/helper.cc +++ b/caffe2/onnx/helper.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/onnx/helper.h" #include "caffe2/core/logging.h" diff --git a/caffe2/onnx/helper.h b/caffe2/onnx/helper.h index 065502ec3a94..cf09fcb18cda 100644 --- a/caffe2/onnx/helper.h +++ b/caffe2/onnx/helper.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "onnx/onnx_pb.h" diff --git a/caffe2/onnx/onnx_exporter.cc b/caffe2/onnx/onnx_exporter.cc index 3b0393c1b957..44ef47fe91ae 100644 --- a/caffe2/onnx/onnx_exporter.cc +++ b/caffe2/onnx/onnx_exporter.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/logging.h" #include "caffe2/onnx/onnx_exporter.h" #include "caffe2/onnx/helper.h" diff --git a/caffe2/onnx/onnx_exporter.h b/caffe2/onnx/onnx_exporter.h index 4eb3f3ff3c9c..6e6a75108eda 100644 --- a/caffe2/onnx/onnx_exporter.h +++ b/caffe2/onnx/onnx_exporter.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/operators/abs_op.cc b/caffe2/operators/abs_op.cc index 8769b2fde79e..75379beb4a6c 100644 --- a/caffe2/operators/abs_op.cc +++ b/caffe2/operators/abs_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/abs_op.cu b/caffe2/operators/abs_op.cu index cd87d198cf81..c4ccdd7ffde2 100644 --- a/caffe2/operators/abs_op.cu +++ b/caffe2/operators/abs_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/accumulate_op.cc b/caffe2/operators/accumulate_op.cc index ddebb76c7914..0037bd7c95bb 100644 --- a/caffe2/operators/accumulate_op.cc +++ b/caffe2/operators/accumulate_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/accumulate_op.h" namespace caffe2 { diff --git a/caffe2/operators/accumulate_op.cu b/caffe2/operators/accumulate_op.cu index 4bd73ab72717..96f0d0c5ba7d 100644 --- a/caffe2/operators/accumulate_op.cu +++ b/caffe2/operators/accumulate_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/accumulate_op.h" diff --git a/caffe2/operators/accumulate_op.h b/caffe2/operators/accumulate_op.h index fe4dac3e09cd..20cd4a386605 100644 --- a/caffe2/operators/accumulate_op.h +++ b/caffe2/operators/accumulate_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ACCUMULATE_OP_H_ #define CAFFE2_OPERATORS_ACCUMULATE_OP_H_ diff --git a/caffe2/operators/accuracy_op.cc b/caffe2/operators/accuracy_op.cc index 243f1241bc4f..03733ed89a3b 100644 --- a/caffe2/operators/accuracy_op.cc +++ b/caffe2/operators/accuracy_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/accuracy_op.h" namespace caffe2 { diff --git a/caffe2/operators/accuracy_op.cu b/caffe2/operators/accuracy_op.cu index 86f1e3dcf23e..949a077ec9a8 100644 --- a/caffe2/operators/accuracy_op.cu +++ b/caffe2/operators/accuracy_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/accuracy_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/accuracy_op.h b/caffe2/operators/accuracy_op.h index 1b5bc7ae8926..e2dfb95512c2 100644 --- a/caffe2/operators/accuracy_op.h +++ b/caffe2/operators/accuracy_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ACCURACY_OP_H_ #define CAFFE2_OPERATORS_ACCURACY_OP_H_ diff --git a/caffe2/operators/apmeter_op.cc b/caffe2/operators/apmeter_op.cc index 6e652f14cf84..7965c81cad2e 100644 --- a/caffe2/operators/apmeter_op.cc +++ b/caffe2/operators/apmeter_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/apmeter_op.h" namespace caffe2 { diff --git a/caffe2/operators/apmeter_op.h b/caffe2/operators/apmeter_op.h index 441199a2701b..4023e4ac0e28 100644 --- a/caffe2/operators/apmeter_op.h +++ b/caffe2/operators/apmeter_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_MAP_OP_H_ #define CAFFE2_MAP_OP_H_ diff --git a/caffe2/operators/arg_max_op.cc b/caffe2/operators/arg_max_op.cc index 552a1edb6b21..ba055a86313a 100644 --- a/caffe2/operators/arg_max_op.cc +++ b/caffe2/operators/arg_max_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/arg_max_op.h" namespace caffe2 { diff --git a/caffe2/operators/arg_max_op.h b/caffe2/operators/arg_max_op.h index be7f2ab77ed1..916ded1f8fbb 100644 --- a/caffe2/operators/arg_max_op.h +++ b/caffe2/operators/arg_max_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ARG_MAX_OP_H_ #define CAFFE2_OPERATORS_ARG_MAX_OP_H_ diff --git a/caffe2/operators/arg_ops.cc b/caffe2/operators/arg_ops.cc index 3145b93de448..c449a76af937 100644 --- a/caffe2/operators/arg_ops.cc +++ b/caffe2/operators/arg_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/arg_ops.h" #include diff --git a/caffe2/operators/arg_ops.cu b/caffe2/operators/arg_ops.cu index 3cb732520371..99c31dfa8cf7 100644 --- a/caffe2/operators/arg_ops.cu +++ b/caffe2/operators/arg_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #define EIGEN_USE_GPU #include "caffe2/operators/arg_ops.h" diff --git a/caffe2/operators/arg_ops.h b/caffe2/operators/arg_ops.h index 13e434ea47d1..9f5a090c53fd 100644 --- a/caffe2/operators/arg_ops.h +++ b/caffe2/operators/arg_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ARG_OPS_H_ #define CAFFE2_OPERATORS_ARG_OPS_H_ diff --git a/caffe2/operators/arg_ops_eigen.h b/caffe2/operators/arg_ops_eigen.h index dffda21b956b..ed438054ae63 100644 --- a/caffe2/operators/arg_ops_eigen.h +++ b/caffe2/operators/arg_ops_eigen.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ARG_OPS_EIGEN_H_ #define CAFFE2_OPERATORS_ARG_OPS_EIGEN_H_ diff --git a/caffe2/operators/assert_op.cc b/caffe2/operators/assert_op.cc index c58837daf082..b9c5ba9f632c 100644 --- a/caffe2/operators/assert_op.cc +++ b/caffe2/operators/assert_op.cc @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ #include "caffe2/operators/assert_op.h" namespace caffe2 { diff --git a/caffe2/operators/assert_op.cu b/caffe2/operators/assert_op.cu index 3f3908083aec..8e563e004e03 100644 --- a/caffe2/operators/assert_op.cu +++ b/caffe2/operators/assert_op.cu @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ #include "caffe2/core/context_gpu.h" #include "caffe2/operators/assert_op.h" diff --git a/caffe2/operators/assert_op.h b/caffe2/operators/assert_op.h index c1359e939b75..65bddaca64ca 100644 --- a/caffe2/operators/assert_op.h +++ b/caffe2/operators/assert_op.h @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ #ifndef CAFFE2_OPERATORS_ASSERT_OP_H_ #define CAFFE2_OPERATORS_ASSERT_OP_H_ diff --git a/caffe2/operators/atomic_ops.cc b/caffe2/operators/atomic_ops.cc index 5ded58cbf3a2..111302446d90 100644 --- a/caffe2/operators/atomic_ops.cc +++ b/caffe2/operators/atomic_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/batch_box_cox_op.cc b/caffe2/operators/batch_box_cox_op.cc index 959300d8bae9..e35c726d185a 100644 --- a/caffe2/operators/batch_box_cox_op.cc +++ b/caffe2/operators/batch_box_cox_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/batch_box_cox_op.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/batch_box_cox_op.h b/caffe2/operators/batch_box_cox_op.h index a91655303132..3d5e360e9872 100644 --- a/caffe2/operators/batch_box_cox_op.h +++ b/caffe2/operators/batch_box_cox_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE_OPERATORS_BATCH_BOX_COX_OPS_H_ #define CAFFE_OPERATORS_BATCH_BOX_COX_OPS_H_ diff --git a/caffe2/operators/batch_gather_ops.cc b/caffe2/operators/batch_gather_ops.cc index 55f078c1bd63..26bb44b409e6 100644 --- a/caffe2/operators/batch_gather_ops.cc +++ b/caffe2/operators/batch_gather_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/batch_gather_ops.h" namespace caffe2 { diff --git a/caffe2/operators/batch_gather_ops.cu b/caffe2/operators/batch_gather_ops.cu index 127b50933426..8aa8cb42a3e0 100644 --- a/caffe2/operators/batch_gather_ops.cu +++ b/caffe2/operators/batch_gather_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/batch_gather_ops.h b/caffe2/operators/batch_gather_ops.h index 4e29009be9fb..b9d3491132c8 100644 --- a/caffe2/operators/batch_gather_ops.h +++ b/caffe2/operators/batch_gather_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_BATCH_GATHER_OPS_H_ #define CAFFE2_OPERATORS_BATCH_GATHER_OPS_H_ diff --git a/caffe2/operators/batch_matmul_op.cc b/caffe2/operators/batch_matmul_op.cc index 8acfa188e2ab..de6da6c0947d 100644 --- a/caffe2/operators/batch_matmul_op.cc +++ b/caffe2/operators/batch_matmul_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/batch_matmul_op.h" #include "caffe2/core/operator_schema.h" diff --git a/caffe2/operators/batch_matmul_op.cu b/caffe2/operators/batch_matmul_op.cu index 50de45e51fd9..2eee5f7b2d39 100644 --- a/caffe2/operators/batch_matmul_op.cu +++ b/caffe2/operators/batch_matmul_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/batch_matmul_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/batch_matmul_op.h b/caffe2/operators/batch_matmul_op.h index ff8cd535ade9..99df277482fe 100644 --- a/caffe2/operators/batch_matmul_op.h +++ b/caffe2/operators/batch_matmul_op.h @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ #ifndef CAFFE2_OPERATORS_MATMUL_OP_H_ #define CAFFE2_OPERATORS_MATMUL_OP_H_ diff --git a/caffe2/operators/batch_matmul_op_gpu_test.cc b/caffe2/operators/batch_matmul_op_gpu_test.cc index 4ea841b28f45..e8424f0837d6 100644 --- a/caffe2/operators/batch_matmul_op_gpu_test.cc +++ b/caffe2/operators/batch_matmul_op_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/batch_matmul_op_test.cc b/caffe2/operators/batch_matmul_op_test.cc index 54f250dc810f..0ec179917983 100644 --- a/caffe2/operators/batch_matmul_op_test.cc +++ b/caffe2/operators/batch_matmul_op_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/boolean_mask_ops.cc b/caffe2/operators/boolean_mask_ops.cc index 5d565f229962..52b13350c8db 100644 --- a/caffe2/operators/boolean_mask_ops.cc +++ b/caffe2/operators/boolean_mask_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/boolean_mask_ops.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/boolean_mask_ops.cu b/caffe2/operators/boolean_mask_ops.cu index 7f2145f1da50..a976e7159309 100644 --- a/caffe2/operators/boolean_mask_ops.cu +++ b/caffe2/operators/boolean_mask_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/boolean_mask_ops.h" diff --git a/caffe2/operators/boolean_mask_ops.h b/caffe2/operators/boolean_mask_ops.h index ee97d4ca2943..78629ea927d9 100644 --- a/caffe2/operators/boolean_mask_ops.h +++ b/caffe2/operators/boolean_mask_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef BOOLEAN_MASK_OPS_H #define BOOLEAN_MASK_OPS_H diff --git a/caffe2/operators/boolean_unmask_ops.cc b/caffe2/operators/boolean_unmask_ops.cc index 36f51215fb31..9840579ad5b9 100644 --- a/caffe2/operators/boolean_unmask_ops.cc +++ b/caffe2/operators/boolean_unmask_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/boolean_unmask_ops.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/boolean_unmask_ops.cu b/caffe2/operators/boolean_unmask_ops.cu index fcf4061f757d..42801e17a648 100644 --- a/caffe2/operators/boolean_unmask_ops.cu +++ b/caffe2/operators/boolean_unmask_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/boolean_unmask_ops.h" diff --git a/caffe2/operators/boolean_unmask_ops.h b/caffe2/operators/boolean_unmask_ops.h index 0512d8291ffc..41c6693c71ed 100644 --- a/caffe2/operators/boolean_unmask_ops.h +++ b/caffe2/operators/boolean_unmask_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef BOOLEAN_UNMASK_OPS_H #define BOOLEAN_UNMASK_OPS_H diff --git a/caffe2/operators/boolean_unmask_ops_test.cc b/caffe2/operators/boolean_unmask_ops_test.cc index 80bf31dacb33..05c588f36aa0 100644 --- a/caffe2/operators/boolean_unmask_ops_test.cc +++ b/caffe2/operators/boolean_unmask_ops_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/cast_op.cc b/caffe2/operators/cast_op.cc index 873b03855f14..750b72a464ea 100644 --- a/caffe2/operators/cast_op.cc +++ b/caffe2/operators/cast_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/cast_op.h" namespace caffe2 { diff --git a/caffe2/operators/cast_op.cu b/caffe2/operators/cast_op.cu index c421a6a08b18..229c510c309a 100644 --- a/caffe2/operators/cast_op.cu +++ b/caffe2/operators/cast_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/cast_op.h" #include "caffe2/utils/conversions.h" diff --git a/caffe2/operators/cast_op.h b/caffe2/operators/cast_op.h index 2fd72d34c738..491028c8105a 100644 --- a/caffe2/operators/cast_op.h +++ b/caffe2/operators/cast_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/ceil_op.cc b/caffe2/operators/ceil_op.cc index deb62bfa5f53..9f4e3b35179a 100644 --- a/caffe2/operators/ceil_op.cc +++ b/caffe2/operators/ceil_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/ceil_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/ceil_op.cu b/caffe2/operators/ceil_op.cu index 0497f41674a6..de382ada4186 100644 --- a/caffe2/operators/ceil_op.cu +++ b/caffe2/operators/ceil_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/ceil_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/ceil_op.h b/caffe2/operators/ceil_op.h index 2395572f1014..f2b96170dfcb 100644 --- a/caffe2/operators/ceil_op.h +++ b/caffe2/operators/ceil_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CEIL_OP_H_ #define CAFFE2_OPERATORS_CEIL_OP_H_ diff --git a/caffe2/operators/channel_backprop_stats_op.cc b/caffe2/operators/channel_backprop_stats_op.cc index bc9e67c3056e..c5d26247f049 100644 --- a/caffe2/operators/channel_backprop_stats_op.cc +++ b/caffe2/operators/channel_backprop_stats_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/channel_backprop_stats_op.h" namespace caffe2 { diff --git a/caffe2/operators/channel_backprop_stats_op.cu b/caffe2/operators/channel_backprop_stats_op.cu index d9d260178c61..372677384311 100644 --- a/caffe2/operators/channel_backprop_stats_op.cu +++ b/caffe2/operators/channel_backprop_stats_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/channel_backprop_stats_op.h" diff --git a/caffe2/operators/channel_backprop_stats_op.h b/caffe2/operators/channel_backprop_stats_op.h index 77e166a628a1..7678c00d96f8 100644 --- a/caffe2/operators/channel_backprop_stats_op.h +++ b/caffe2/operators/channel_backprop_stats_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CHANNEL_BACKPROP_STATS_OP_H #define CHANNEL_BACKPROP_STATS_OP_H diff --git a/caffe2/operators/channel_shuffle_op.cc b/caffe2/operators/channel_shuffle_op.cc index e1dfbb2807fc..307f6d039761 100644 --- a/caffe2/operators/channel_shuffle_op.cc +++ b/caffe2/operators/channel_shuffle_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "channel_shuffle_op.h" namespace caffe2 { diff --git a/caffe2/operators/channel_shuffle_op.h b/caffe2/operators/channel_shuffle_op.h index 55060630ec10..ae43e37bed64 100644 --- a/caffe2/operators/channel_shuffle_op.h +++ b/caffe2/operators/channel_shuffle_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/operators/channel_shuffle_op_gpu.cu b/caffe2/operators/channel_shuffle_op_gpu.cu index 1fdc6f672eba..731ac9c47c49 100644 --- a/caffe2/operators/channel_shuffle_op_gpu.cu +++ b/caffe2/operators/channel_shuffle_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "channel_shuffle_op.h" diff --git a/caffe2/operators/channel_stats_op.cc b/caffe2/operators/channel_stats_op.cc index 5398860c6698..4cf9ce68743c 100644 --- a/caffe2/operators/channel_stats_op.cc +++ b/caffe2/operators/channel_stats_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/channel_stats_op.h" namespace caffe2 { diff --git a/caffe2/operators/channel_stats_op.cu b/caffe2/operators/channel_stats_op.cu index a5d510bcadc0..fff23ffe4610 100644 --- a/caffe2/operators/channel_stats_op.cu +++ b/caffe2/operators/channel_stats_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/channel_stats_op.h" diff --git a/caffe2/operators/channel_stats_op.h b/caffe2/operators/channel_stats_op.h index 0bee58f42ac7..eb6b062068c0 100644 --- a/caffe2/operators/channel_stats_op.h +++ b/caffe2/operators/channel_stats_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CHANNEL_STATS_OP_H #define CAFFE2_OPERATORS_CHANNEL_STATS_OP_H diff --git a/caffe2/operators/clip_op.cc b/caffe2/operators/clip_op.cc index b7f2b2f56b93..ced1975b76a2 100644 --- a/caffe2/operators/clip_op.cc +++ b/caffe2/operators/clip_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/clip_op.h" namespace caffe2 { diff --git a/caffe2/operators/clip_op.cu b/caffe2/operators/clip_op.cu index 337232c0ff45..91b6dca882f3 100644 --- a/caffe2/operators/clip_op.cu +++ b/caffe2/operators/clip_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/clip_op.h" diff --git a/caffe2/operators/clip_op.h b/caffe2/operators/clip_op.h index 5e62d83e574f..d2d899eaf878 100644 --- a/caffe2/operators/clip_op.h +++ b/caffe2/operators/clip_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CLIP_OP_H_ #define CAFFE2_OPERATORS_CLIP_OP_H_ diff --git a/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc b/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc index 3e0976be935a..477761262463 100644 --- a/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc +++ b/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h" #ifdef CAFFE2_USE_MKL diff --git a/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h b/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h index 1aee2bd48053..d41aedcab852 100644 --- a/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h +++ b/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_COLLECT_AND_DISTRIBUTE_FPN_RPN_PROPOSALS_OP_H_ #define CAFFE2_OPERATORS_COLLECT_AND_DISTRIBUTE_FPN_RPN_PROPOSALS_OP_H_ diff --git a/caffe2/operators/communicator_op.cc b/caffe2/operators/communicator_op.cc index e4d6faee4416..d5d8f4df7aed 100644 --- a/caffe2/operators/communicator_op.cc +++ b/caffe2/operators/communicator_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/operators/no_default_engine_op.h" diff --git a/caffe2/operators/communicator_op_gpu.cc b/caffe2/operators/communicator_op_gpu.cc index 517f02dd70e9..aef6d037806a 100644 --- a/caffe2/operators/communicator_op_gpu.cc +++ b/caffe2/operators/communicator_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" #include "caffe2/operators/no_default_engine_op.h" diff --git a/caffe2/operators/concat_split_op.cc b/caffe2/operators/concat_split_op.cc index c99ee6e7589e..32b1ee0e6432 100644 --- a/caffe2/operators/concat_split_op.cc +++ b/caffe2/operators/concat_split_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/concat_split_op.h" namespace caffe2 { diff --git a/caffe2/operators/concat_split_op.h b/caffe2/operators/concat_split_op.h index bd5edc02fbbe..4940f9c7b022 100644 --- a/caffe2/operators/concat_split_op.h +++ b/caffe2/operators/concat_split_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONCAT_SPLIT_OP_H_ #define CAFFE2_OPERATORS_CONCAT_SPLIT_OP_H_ diff --git a/caffe2/operators/concat_split_op_gpu.cc b/caffe2/operators/concat_split_op_gpu.cc index 98ab9aa0f210..5e9d8bc34a22 100644 --- a/caffe2/operators/concat_split_op_gpu.cc +++ b/caffe2/operators/concat_split_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/concat_split_op.h" diff --git a/caffe2/operators/conditional_op.cc b/caffe2/operators/conditional_op.cc index ae215a31d3aa..18d89c2174fc 100644 --- a/caffe2/operators/conditional_op.cc +++ b/caffe2/operators/conditional_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conditional_op.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/conditional_op.h b/caffe2/operators/conditional_op.h index f7a5c9bf2d7f..3f511232694e 100644 --- a/caffe2/operators/conditional_op.h +++ b/caffe2/operators/conditional_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CONDITIONAL_OP_H #define CONDITIONAL_OP_H diff --git a/caffe2/operators/conv_gradient_op.cc b/caffe2/operators/conv_gradient_op.cc index 23d099d919c1..8e357e1224c7 100644 --- a/caffe2/operators/conv_gradient_op.cc +++ b/caffe2/operators/conv_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_op.h" #include "caffe2/operators/conv_op_impl.h" #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/operators/conv_op.cc b/caffe2/operators/conv_op.cc index e9da05dedd4b..6724eaa9a5bf 100644 --- a/caffe2/operators/conv_op.cc +++ b/caffe2/operators/conv_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_op.h" #include "caffe2/operators/conv_op_impl.h" #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/operators/conv_op.h b/caffe2/operators/conv_op.h index d9f8ae016a0c..7153b1422996 100644 --- a/caffe2/operators/conv_op.h +++ b/caffe2/operators/conv_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_OP_H_ #define CAFFE2_OPERATORS_CONV_OP_H_ diff --git a/caffe2/operators/conv_op_cache_cudnn.cc b/caffe2/operators/conv_op_cache_cudnn.cc index f930cf0c883f..90bdb07636ca 100644 --- a/caffe2/operators/conv_op_cache_cudnn.cc +++ b/caffe2/operators/conv_op_cache_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_op_cache_cudnn.h" #include diff --git a/caffe2/operators/conv_op_cache_cudnn.h b/caffe2/operators/conv_op_cache_cudnn.h index 8052c1f9cf8f..ee3bae2363bc 100644 --- a/caffe2/operators/conv_op_cache_cudnn.h +++ b/caffe2/operators/conv_op_cache_cudnn.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_OP_CACHE_H_ #define CAFFE2_OPERATORS_CONV_OP_CACHE_H_ diff --git a/caffe2/operators/conv_op_cache_cudnn_test.cc b/caffe2/operators/conv_op_cache_cudnn_test.cc index 1e5f0addf246..2d2da0d465f6 100644 --- a/caffe2/operators/conv_op_cache_cudnn_test.cc +++ b/caffe2/operators/conv_op_cache_cudnn_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/conv_op_cudnn.cc b/caffe2/operators/conv_op_cudnn.cc index 31d1ba3de5e5..52d9544606a2 100644 --- a/caffe2/operators/conv_op_cudnn.cc +++ b/caffe2/operators/conv_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/common_gpu.h" diff --git a/caffe2/operators/conv_op_eigen.cc b/caffe2/operators/conv_op_eigen.cc index b2da84ae681b..e9976cdfd5cd 100644 --- a/caffe2/operators/conv_op_eigen.cc +++ b/caffe2/operators/conv_op_eigen.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/operators/conv_op_gpu.cc b/caffe2/operators/conv_op_gpu.cc index 75936d13bcdc..d147cb5b8c11 100644 --- a/caffe2/operators/conv_op_gpu.cc +++ b/caffe2/operators/conv_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_op.h" #include "caffe2/operators/conv_op_impl.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/conv_op_impl.h b/caffe2/operators/conv_op_impl.h index bd10d3e2050c..10d5c0ef5091 100644 --- a/caffe2/operators/conv_op_impl.h +++ b/caffe2/operators/conv_op_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // conv_op_impl.h is the templated implementation of the conv_op.h file. #ifndef CAFFE2_OPERATORS_CONV_OP_IMPL_H_ #define CAFFE2_OPERATORS_CONV_OP_IMPL_H_ diff --git a/caffe2/operators/conv_op_shared.cc b/caffe2/operators/conv_op_shared.cc index ca607129cf02..b0ad152a56f9 100644 --- a/caffe2/operators/conv_op_shared.cc +++ b/caffe2/operators/conv_op_shared.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "conv_op_shared.h" #include "caffe2/core/context.h" #include "caffe2/core/flags.h" diff --git a/caffe2/operators/conv_op_shared.h b/caffe2/operators/conv_op_shared.h index 23fa93c9ad20..18f7aa898a6b 100644 --- a/caffe2/operators/conv_op_shared.h +++ b/caffe2/operators/conv_op_shared.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_OP_SHARED_H_ #define CAFFE2_OPERATORS_CONV_OP_SHARED_H_ diff --git a/caffe2/operators/conv_op_shared_gpu.cc b/caffe2/operators/conv_op_shared_gpu.cc index 24c6872de760..70570bde1c41 100644 --- a/caffe2/operators/conv_op_shared_gpu.cc +++ b/caffe2/operators/conv_op_shared_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "conv_op_shared.h" diff --git a/caffe2/operators/conv_pool_op_base.h b/caffe2/operators/conv_pool_op_base.h index 41369a2185b2..d94e4dbe47b2 100644 --- a/caffe2/operators/conv_pool_op_base.h +++ b/caffe2/operators/conv_pool_op_base.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_POOL_OP_BASE_H_ #define CAFFE2_OPERATORS_CONV_POOL_OP_BASE_H_ diff --git a/caffe2/operators/conv_transpose_gradient_op.cc b/caffe2/operators/conv_transpose_gradient_op.cc index 1fecc471e788..f54af6a8a479 100644 --- a/caffe2/operators/conv_transpose_gradient_op.cc +++ b/caffe2/operators/conv_transpose_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_transpose_op.h" #include "caffe2/operators/conv_transpose_op_impl.h" diff --git a/caffe2/operators/conv_transpose_op.cc b/caffe2/operators/conv_transpose_op.cc index 74563dc03963..1af55e0b4224 100644 --- a/caffe2/operators/conv_transpose_op.cc +++ b/caffe2/operators/conv_transpose_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_transpose_op.h" #include "caffe2/operators/conv_transpose_op_impl.h" diff --git a/caffe2/operators/conv_transpose_op.h b/caffe2/operators/conv_transpose_op.h index a37d0fbef9a5..6dcdbb81b1ce 100644 --- a/caffe2/operators/conv_transpose_op.h +++ b/caffe2/operators/conv_transpose_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_TRANSPOSE_OP_H_ #define CAFFE2_OPERATORS_CONV_TRANSPOSE_OP_H_ diff --git a/caffe2/operators/conv_transpose_op_cudnn.cc b/caffe2/operators/conv_transpose_op_cudnn.cc index c9e0262b342b..28435325f231 100644 --- a/caffe2/operators/conv_transpose_op_cudnn.cc +++ b/caffe2/operators/conv_transpose_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/operators/conv_op_cache_cudnn.h" diff --git a/caffe2/operators/conv_transpose_op_gpu.cc b/caffe2/operators/conv_transpose_op_gpu.cc index f793db74f50c..d7993cf82d7b 100644 --- a/caffe2/operators/conv_transpose_op_gpu.cc +++ b/caffe2/operators/conv_transpose_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/conv_transpose_op.h" #include "caffe2/operators/conv_transpose_op_impl.h" diff --git a/caffe2/operators/conv_transpose_op_impl.h b/caffe2/operators/conv_transpose_op_impl.h index c9cce0be6955..e12c328f7444 100644 --- a/caffe2/operators/conv_transpose_op_impl.h +++ b/caffe2/operators/conv_transpose_op_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // conv_transpose_op_impl.h is the templated implementation of the // conv_transpose_op.h file. #ifndef CAFFE2_OPERATORS_CONV_TRANSPOSE_OP_IMPL_H_ diff --git a/caffe2/operators/conv_transpose_op_mobile.cc b/caffe2/operators/conv_transpose_op_mobile.cc index d17c465d9a37..468d46c7f856 100644 --- a/caffe2/operators/conv_transpose_op_mobile.cc +++ b/caffe2/operators/conv_transpose_op_mobile.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_transpose_op_mobile.h" #include "caffe2/operators/conv_transpose_op_mobile_impl.h" diff --git a/caffe2/operators/conv_transpose_op_mobile.h b/caffe2/operators/conv_transpose_op_mobile.h index 5322390f2f7c..ddfe365e678d 100644 --- a/caffe2/operators/conv_transpose_op_mobile.h +++ b/caffe2/operators/conv_transpose_op_mobile.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_TRANSPOSE_MOBILE_OP_H_ #define CAFFE2_OPERATORS_CONV_TRANSPOSE_MOBILE_OP_H_ diff --git a/caffe2/operators/conv_transpose_op_mobile_impl.h b/caffe2/operators/conv_transpose_op_mobile_impl.h index b3551b74b605..2514fd1386bc 100644 --- a/caffe2/operators/conv_transpose_op_mobile_impl.h +++ b/caffe2/operators/conv_transpose_op_mobile_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // conv_transpose_op_impl.h is the templated implementation of the // conv_transpose_op.h file. #ifndef CAFFE2_OPERATORS_CONV_TRANSPOSE_MOBILE_OP_IMPL_H_ diff --git a/caffe2/operators/conv_transpose_op_mobile_test.cc b/caffe2/operators/conv_transpose_op_mobile_test.cc index 9b46f83806e0..0fb4ea5f6587 100644 --- a/caffe2/operators/conv_transpose_op_mobile_test.cc +++ b/caffe2/operators/conv_transpose_op_mobile_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/conv_transpose_unpool_op_base.h b/caffe2/operators/conv_transpose_unpool_op_base.h index 080b509e1d04..bf2708d22733 100644 --- a/caffe2/operators/conv_transpose_unpool_op_base.h +++ b/caffe2/operators/conv_transpose_unpool_op_base.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CONV_TRANSPOSE_UNPOOL_OP_BASE_H_ #define CAFFE2_OPERATORS_CONV_TRANSPOSE_UNPOOL_OP_BASE_H_ diff --git a/caffe2/operators/cos_op.cc b/caffe2/operators/cos_op.cc index 6e086ed4defc..8328a3c47046 100644 --- a/caffe2/operators/cos_op.cc +++ b/caffe2/operators/cos_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/cos_op.cu b/caffe2/operators/cos_op.cu index 72aa75e139d8..76aa1e443ac9 100644 --- a/caffe2/operators/cos_op.cu +++ b/caffe2/operators/cos_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/cosine_embedding_criterion_op.cc b/caffe2/operators/cosine_embedding_criterion_op.cc index 2462a3e7841b..26f477fe62cd 100644 --- a/caffe2/operators/cosine_embedding_criterion_op.cc +++ b/caffe2/operators/cosine_embedding_criterion_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/cosine_embedding_criterion_op.h" #include diff --git a/caffe2/operators/cosine_embedding_criterion_op.cu b/caffe2/operators/cosine_embedding_criterion_op.cu index 2c62a6ce2180..792062f086b5 100644 --- a/caffe2/operators/cosine_embedding_criterion_op.cu +++ b/caffe2/operators/cosine_embedding_criterion_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/cosine_embedding_criterion_op.h" diff --git a/caffe2/operators/cosine_embedding_criterion_op.h b/caffe2/operators/cosine_embedding_criterion_op.h index 29224cd85965..0d9599d2b77b 100644 --- a/caffe2/operators/cosine_embedding_criterion_op.h +++ b/caffe2/operators/cosine_embedding_criterion_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_COSINE_EMBEDDING_CRITERION_OP_H_ #define CAFFE2_OPERATORS_COSINE_EMBEDDING_CRITERION_OP_H_ diff --git a/caffe2/operators/counter_ops.cc b/caffe2/operators/counter_ops.cc index 9f52d833b8c4..e636b083802a 100644 --- a/caffe2/operators/counter_ops.cc +++ b/caffe2/operators/counter_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "counter_ops.h" #include "caffe2/core/blob_serialization.h" diff --git a/caffe2/operators/counter_ops.h b/caffe2/operators/counter_ops.h index d947b7a2111f..3b7bf7dd8271 100644 --- a/caffe2/operators/counter_ops.h +++ b/caffe2/operators/counter_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_COUNTER_OPS_H #define CAFFE2_OPERATORS_COUNTER_OPS_H diff --git a/caffe2/operators/counter_ops_gpu.cc b/caffe2/operators/counter_ops_gpu.cc index 80d59a3b1b89..7880aeeb4193 100644 --- a/caffe2/operators/counter_ops_gpu.cc +++ b/caffe2/operators/counter_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "counter_ops.h" diff --git a/caffe2/operators/create_scope_op.cc b/caffe2/operators/create_scope_op.cc index b3222e4873c1..9e85b615be4f 100644 --- a/caffe2/operators/create_scope_op.cc +++ b/caffe2/operators/create_scope_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/create_scope_op.h" CAFFE2_DEFINE_bool( diff --git a/caffe2/operators/create_scope_op.h b/caffe2/operators/create_scope_op.h index f13290349cde..41dcb170dfce 100644 --- a/caffe2/operators/create_scope_op.h +++ b/caffe2/operators/create_scope_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CREATE_SCOPE_OP_H_ #define CAFFE2_OPERATORS_CREATE_SCOPE_OP_H_ diff --git a/caffe2/operators/cross_entropy_op.cc b/caffe2/operators/cross_entropy_op.cc index 00b717211dab..c706203a1e07 100644 --- a/caffe2/operators/cross_entropy_op.cc +++ b/caffe2/operators/cross_entropy_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/cross_entropy_op.h" namespace caffe2 { diff --git a/caffe2/operators/cross_entropy_op.cu b/caffe2/operators/cross_entropy_op.cu index e63138c65072..e9b660303da2 100644 --- a/caffe2/operators/cross_entropy_op.cu +++ b/caffe2/operators/cross_entropy_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/cross_entropy_op.h b/caffe2/operators/cross_entropy_op.h index 4f68aa75df9f..16e78552a94b 100644 --- a/caffe2/operators/cross_entropy_op.h +++ b/caffe2/operators/cross_entropy_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CROSS_ENTROPY_OP_H_ #define CAFFE2_OPERATORS_CROSS_ENTROPY_OP_H_ diff --git a/caffe2/operators/dataset_ops.cc b/caffe2/operators/dataset_ops.cc index 35c3e27d4970..8bb1cee3810f 100644 --- a/caffe2/operators/dataset_ops.cc +++ b/caffe2/operators/dataset_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/dataset_ops.h" #include diff --git a/caffe2/operators/dataset_ops.h b/caffe2/operators/dataset_ops.h index 52881a3efdbf..161a82b0d101 100644 --- a/caffe2/operators/dataset_ops.h +++ b/caffe2/operators/dataset_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_DATASET_OPS_H_ #define CAFFE2_OPERATORS_DATASET_OPS_H_ diff --git a/caffe2/operators/deform_conv_gradient_op.cc b/caffe2/operators/deform_conv_gradient_op.cc index a1e653ef82e7..180827914fa1 100644 --- a/caffe2/operators/deform_conv_gradient_op.cc +++ b/caffe2/operators/deform_conv_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/conv_pool_op_base.h" #include "caffe2/operators/deform_conv_op.h" #include "caffe2/operators/deform_conv_op_impl.h" diff --git a/caffe2/operators/deform_conv_op.cc b/caffe2/operators/deform_conv_op.cc index cf5bb63727fa..cf1018ac72fa 100644 --- a/caffe2/operators/deform_conv_op.cc +++ b/caffe2/operators/deform_conv_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/deform_conv_op.h" #include "caffe2/operators/conv_pool_op_base.h" #include "caffe2/operators/deform_conv_op_impl.h" diff --git a/caffe2/operators/deform_conv_op.cu b/caffe2/operators/deform_conv_op.cu index c202f713a8a6..29e5552612bf 100644 --- a/caffe2/operators/deform_conv_op.cu +++ b/caffe2/operators/deform_conv_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /*! ******************* BEGIN Caffe Copyright Notice and Disclaimer **************** * diff --git a/caffe2/operators/deform_conv_op.h b/caffe2/operators/deform_conv_op.h index 9d1dcd0caba6..56b4d3228b1d 100644 --- a/caffe2/operators/deform_conv_op.h +++ b/caffe2/operators/deform_conv_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_DEFORM_CONV_OP_H_ #define CAFFE2_OPERATORS_DEFORM_CONV_OP_H_ diff --git a/caffe2/operators/deform_conv_op_impl.h b/caffe2/operators/deform_conv_op_impl.h index 1a87e3c43033..072c156cf5ba 100644 --- a/caffe2/operators/deform_conv_op_impl.h +++ b/caffe2/operators/deform_conv_op_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // conv_op_impl.h is the templated implementation of the conv_op.h file. #ifndef CAFFE2_OPERATORS_DEFORM_CONV_OP_IMPL_H_ #define CAFFE2_OPERATORS_DEFORM_CONV_OP_IMPL_H_ diff --git a/caffe2/operators/distance_op.cc b/caffe2/operators/distance_op.cc index 3c99e153af68..665f3016da33 100644 --- a/caffe2/operators/distance_op.cc +++ b/caffe2/operators/distance_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/distance_op.h" namespace caffe2 { diff --git a/caffe2/operators/distance_op.cu b/caffe2/operators/distance_op.cu index b17e4677a605..49450f9b98ed 100644 --- a/caffe2/operators/distance_op.cu +++ b/caffe2/operators/distance_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/distance_op.h b/caffe2/operators/distance_op.h index 98d382d93bbb..aad57e955dac 100644 --- a/caffe2/operators/distance_op.h +++ b/caffe2/operators/distance_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_DISTANCE_OP_H_ #define CAFFE2_OPERATORS_DISTANCE_OP_H_ diff --git a/caffe2/operators/do_op.cc b/caffe2/operators/do_op.cc index 26270fbbcae3..3bfd59ae64f8 100644 --- a/caffe2/operators/do_op.cc +++ b/caffe2/operators/do_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/do_op.h" namespace caffe2 { diff --git a/caffe2/operators/do_op.h b/caffe2/operators/do_op.h index 4146735475d0..40eac753242c 100644 --- a/caffe2/operators/do_op.h +++ b/caffe2/operators/do_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_DO_OP_H_ #define CAFFE2_OPERATORS_DO_OP_H_ diff --git a/caffe2/operators/do_op_gpu.cc b/caffe2/operators/do_op_gpu.cc index 67a29973b220..1f7b7b118136 100644 --- a/caffe2/operators/do_op_gpu.cc +++ b/caffe2/operators/do_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/do_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/dropout_op.cc b/caffe2/operators/dropout_op.cc index ac8102ae4e2b..cf9680c29601 100644 --- a/caffe2/operators/dropout_op.cc +++ b/caffe2/operators/dropout_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/dropout_op.h" namespace caffe2 { diff --git a/caffe2/operators/dropout_op.cu b/caffe2/operators/dropout_op.cu index 6d1cc8c55984..745840e82aff 100644 --- a/caffe2/operators/dropout_op.cu +++ b/caffe2/operators/dropout_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/dropout_op.h" diff --git a/caffe2/operators/dropout_op.h b/caffe2/operators/dropout_op.h index fd55b88ae55d..f368886b9e81 100644 --- a/caffe2/operators/dropout_op.h +++ b/caffe2/operators/dropout_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_DROPOUT_OP_H_ #define CAFFE2_OPERATORS_DROPOUT_OP_H_ diff --git a/caffe2/operators/dropout_op_cudnn.cc b/caffe2/operators/dropout_op_cudnn.cc index 3ddfa28c860f..906c2563aa0e 100644 --- a/caffe2/operators/dropout_op_cudnn.cc +++ b/caffe2/operators/dropout_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/elementwise_add_op.cc b/caffe2/operators/elementwise_add_op.cc index cf3f1e85c1dc..d914876e2ae0 100644 --- a/caffe2/operators/elementwise_add_op.cc +++ b/caffe2/operators/elementwise_add_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_div_op.cc b/caffe2/operators/elementwise_div_op.cc index 2873366c4f81..955ab848d566 100644 --- a/caffe2/operators/elementwise_div_op.cc +++ b/caffe2/operators/elementwise_div_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_linear_op.cc b/caffe2/operators/elementwise_linear_op.cc index cab7e9b5a40b..be2dedf6310b 100644 --- a/caffe2/operators/elementwise_linear_op.cc +++ b/caffe2/operators/elementwise_linear_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "elementwise_linear_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_linear_op.cu b/caffe2/operators/elementwise_linear_op.cu index 9c4ae66ac056..503675a86d7d 100644 --- a/caffe2/operators/elementwise_linear_op.cu +++ b/caffe2/operators/elementwise_linear_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "elementwise_linear_op.h" diff --git a/caffe2/operators/elementwise_linear_op.h b/caffe2/operators/elementwise_linear_op.h index f117e888d619..f2811aa080ae 100644 --- a/caffe2/operators/elementwise_linear_op.h +++ b/caffe2/operators/elementwise_linear_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ELEMENTWISE_LINEAR_OP_H_ #define CAFFE2_OPERATORS_ELEMENTWISE_LINEAR_OP_H_ diff --git a/caffe2/operators/elementwise_logical_ops.cc b/caffe2/operators/elementwise_logical_ops.cc index 6c429e90bb9b..e729caec390c 100644 --- a/caffe2/operators/elementwise_logical_ops.cc +++ b/caffe2/operators/elementwise_logical_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_logical_ops.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_logical_ops.h b/caffe2/operators/elementwise_logical_ops.h index 541acb924f4c..90ec047e390a 100644 --- a/caffe2/operators/elementwise_logical_ops.h +++ b/caffe2/operators/elementwise_logical_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ELEMENTWISE_LOGICAL_OPS_H_ #define CAFFE2_OPERATORS_ELEMENTWISE_LOGICAL_OPS_H_ diff --git a/caffe2/operators/elementwise_mul_op.cc b/caffe2/operators/elementwise_mul_op.cc index a0835bd96271..75a5e076aef1 100644 --- a/caffe2/operators/elementwise_mul_op.cc +++ b/caffe2/operators/elementwise_mul_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_op.cc b/caffe2/operators/elementwise_op.cc index 3f2f5408caf2..43499beaa234 100644 --- a/caffe2/operators/elementwise_op.cc +++ b/caffe2/operators/elementwise_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_op.cu b/caffe2/operators/elementwise_op.cu index 9d83e1cbf1e7..567537f1e7fa 100644 --- a/caffe2/operators/elementwise_op.cu +++ b/caffe2/operators/elementwise_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #define CUB_STDERR #include #include diff --git a/caffe2/operators/elementwise_op.h b/caffe2/operators/elementwise_op.h index 03ea5d03caa0..d310df31c926 100644 --- a/caffe2/operators/elementwise_op.h +++ b/caffe2/operators/elementwise_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ELEMENTWISE_OP_H_ #define CAFFE2_OPERATORS_ELEMENTWISE_OP_H_ diff --git a/caffe2/operators/elementwise_op_gpu_test.cc b/caffe2/operators/elementwise_op_gpu_test.cc index f4dc9da38bea..b152f96847bf 100644 --- a/caffe2/operators/elementwise_op_gpu_test.cc +++ b/caffe2/operators/elementwise_op_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op_test.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/elementwise_op_schema.cc b/caffe2/operators/elementwise_op_schema.cc index a67466d713b6..f1669f1d304d 100644 --- a/caffe2/operators/elementwise_op_schema.cc +++ b/caffe2/operators/elementwise_op_schema.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator_gradient.h" #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/proto_utils.h" diff --git a/caffe2/operators/elementwise_op_test.cc b/caffe2/operators/elementwise_op_test.cc index 1e832d3ce144..ad0fe08bd219 100644 --- a/caffe2/operators/elementwise_op_test.cc +++ b/caffe2/operators/elementwise_op_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op_test.h" #include "caffe2/core/flags.h" diff --git a/caffe2/operators/elementwise_op_test.h b/caffe2/operators/elementwise_op_test.h index 7b26aaaa27a5..a284b1cd196d 100644 --- a/caffe2/operators/elementwise_op_test.h +++ b/caffe2/operators/elementwise_op_test.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ELEMENTWISE_OP_TEST_H_ #define CAFFE2_OPERATORS_ELEMENTWISE_OP_TEST_H_ diff --git a/caffe2/operators/elementwise_sub_op.cc b/caffe2/operators/elementwise_sub_op.cc index ae8e487c98ad..5cfa15cf75d5 100644 --- a/caffe2/operators/elementwise_sub_op.cc +++ b/caffe2/operators/elementwise_sub_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/elementwise_sum_op.cc b/caffe2/operators/elementwise_sum_op.cc index f975584942a4..1ffa7e5b1868 100644 --- a/caffe2/operators/elementwise_sum_op.cc +++ b/caffe2/operators/elementwise_sum_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/utility_ops.h" namespace caffe2 { diff --git a/caffe2/operators/elu_op.cc b/caffe2/operators/elu_op.cc index 6bbccac3050d..fcc220d9bcf8 100644 --- a/caffe2/operators/elu_op.cc +++ b/caffe2/operators/elu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elu_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/elu_op.cu b/caffe2/operators/elu_op.cu index 2a492a37ea08..ba2d82edfffa 100644 --- a/caffe2/operators/elu_op.cu +++ b/caffe2/operators/elu_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elu_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/elu_op.h b/caffe2/operators/elu_op.h index f14f3f110383..0f2e7e7945a0 100644 --- a/caffe2/operators/elu_op.h +++ b/caffe2/operators/elu_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/exp_op.cc b/caffe2/operators/exp_op.cc index 2af8495de7a5..d02f4b6b1f68 100644 --- a/caffe2/operators/exp_op.cc +++ b/caffe2/operators/exp_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/exp_op.cu b/caffe2/operators/exp_op.cu index fe596fc7bd7f..c31b5441d7a4 100644 --- a/caffe2/operators/exp_op.cu +++ b/caffe2/operators/exp_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/expand_squeeze_dims_op.cc b/caffe2/operators/expand_squeeze_dims_op.cc index 6ce3d1649e18..e9dc0ce0f18d 100644 --- a/caffe2/operators/expand_squeeze_dims_op.cc +++ b/caffe2/operators/expand_squeeze_dims_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/expand_squeeze_dims_op.h" namespace caffe2 { diff --git a/caffe2/operators/expand_squeeze_dims_op.h b/caffe2/operators/expand_squeeze_dims_op.h index fca542eee241..ef025edd3dde 100644 --- a/caffe2/operators/expand_squeeze_dims_op.h +++ b/caffe2/operators/expand_squeeze_dims_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_EXPAND_SQUEEZE_DIMS_OP_H_ #define CAFFE2_OPERATORS_EXPAND_SQUEEZE_DIMS_OP_H_ diff --git a/caffe2/operators/expand_squeeze_dims_op_gpu.cc b/caffe2/operators/expand_squeeze_dims_op_gpu.cc index 03732ab80b43..23f65200e8dc 100644 --- a/caffe2/operators/expand_squeeze_dims_op_gpu.cc +++ b/caffe2/operators/expand_squeeze_dims_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/expand_squeeze_dims_op.h" diff --git a/caffe2/operators/extend_tensor_op.cc b/caffe2/operators/extend_tensor_op.cc index ee5836886df4..6ac1be087ae3 100644 --- a/caffe2/operators/extend_tensor_op.cc +++ b/caffe2/operators/extend_tensor_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/feed_blob_op.cc b/caffe2/operators/feed_blob_op.cc index feb7d0ad79bc..f86bddb08d55 100644 --- a/caffe2/operators/feed_blob_op.cc +++ b/caffe2/operators/feed_blob_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/feed_blob_op.h" namespace caffe2 { diff --git a/caffe2/operators/feed_blob_op.h b/caffe2/operators/feed_blob_op.h index 805aeb7c9f7f..412121441114 100644 --- a/caffe2/operators/feed_blob_op.h +++ b/caffe2/operators/feed_blob_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FEED_BLOB_OP_H_ #define CAFFE2_OPERATORS_FEED_BLOB_OP_H_ diff --git a/caffe2/operators/filler_op.cc b/caffe2/operators/filler_op.cc index 0f875d7e8cc0..90498c458011 100644 --- a/caffe2/operators/filler_op.cc +++ b/caffe2/operators/filler_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/filler_op.h" namespace caffe2 { diff --git a/caffe2/operators/filler_op.cu b/caffe2/operators/filler_op.cu index a66e17e989ae..55db9a57756e 100644 --- a/caffe2/operators/filler_op.cu +++ b/caffe2/operators/filler_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" #include "caffe2/operators/filler_op.h" diff --git a/caffe2/operators/filler_op.h b/caffe2/operators/filler_op.h index 616bf65a5133..8fac761bdbb3 100644 --- a/caffe2/operators/filler_op.h +++ b/caffe2/operators/filler_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FILLER_OP_H_ #define CAFFE2_OPERATORS_FILLER_OP_H_ diff --git a/caffe2/operators/filler_op_gpu.cc b/caffe2/operators/filler_op_gpu.cc index d6dd45d75876..b34236018afb 100644 --- a/caffe2/operators/filler_op_gpu.cc +++ b/caffe2/operators/filler_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/filler_op.h" #include "caffe2/operators/operator_fallback_gpu.h" diff --git a/caffe2/operators/find_duplicate_elements_op.cc b/caffe2/operators/find_duplicate_elements_op.cc index f18560febd06..05525f9d9272 100644 --- a/caffe2/operators/find_duplicate_elements_op.cc +++ b/caffe2/operators/find_duplicate_elements_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/find_duplicate_elements_op.h" namespace caffe2 { diff --git a/caffe2/operators/find_duplicate_elements_op.h b/caffe2/operators/find_duplicate_elements_op.h index 456eb5816e71..3dd89db1ca60 100644 --- a/caffe2/operators/find_duplicate_elements_op.h +++ b/caffe2/operators/find_duplicate_elements_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FIND_DUPLICATE_ELEMENTS_OP_H #define CAFFE2_OPERATORS_FIND_DUPLICATE_ELEMENTS_OP_H diff --git a/caffe2/operators/find_op.cc b/caffe2/operators/find_op.cc index 558ccd2540cc..71a47468febd 100644 --- a/caffe2/operators/find_op.cc +++ b/caffe2/operators/find_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/find_op.h" namespace caffe2 { diff --git a/caffe2/operators/find_op.cu b/caffe2/operators/find_op.cu index 57d6ba29de17..32bceda79acc 100644 --- a/caffe2/operators/find_op.cu +++ b/caffe2/operators/find_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" #include "caffe2/operators/find_op.h" diff --git a/caffe2/operators/find_op.h b/caffe2/operators/find_op.h index c6aad600996e..8ba28a8b0812 100644 --- a/caffe2/operators/find_op.h +++ b/caffe2/operators/find_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FIND_OP_H_ #define CAFFE2_OPERATORS_FIND_OP_H_ diff --git a/caffe2/operators/flatten_op.cc b/caffe2/operators/flatten_op.cc index 4c69f19c4d75..c17a51ec00af 100644 --- a/caffe2/operators/flatten_op.cc +++ b/caffe2/operators/flatten_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/flatten_op.h" namespace caffe2 { diff --git a/caffe2/operators/flatten_op.h b/caffe2/operators/flatten_op.h index db0a1b7696a2..a250cd4c272b 100644 --- a/caffe2/operators/flatten_op.h +++ b/caffe2/operators/flatten_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FLATTEN_OP_H_ #define CAFFE2_OPERATORS_FLATTEN_OP_H_ diff --git a/caffe2/operators/floor_op.cc b/caffe2/operators/floor_op.cc index bd1412925ede..f0d1d322692e 100644 --- a/caffe2/operators/floor_op.cc +++ b/caffe2/operators/floor_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/floor_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/floor_op.cu b/caffe2/operators/floor_op.cu index a7c9f72adddf..a1bd383e1821 100644 --- a/caffe2/operators/floor_op.cu +++ b/caffe2/operators/floor_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/floor_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/floor_op.h b/caffe2/operators/floor_op.h index d6c640b2df12..ee4451169821 100644 --- a/caffe2/operators/floor_op.h +++ b/caffe2/operators/floor_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FLOOR_OP_H_ #define CAFFE2_OPERATORS_FLOOR_OP_H_ diff --git a/caffe2/operators/free_op.cc b/caffe2/operators/free_op.cc index 3b4ffacd276b..702981ae4051 100644 --- a/caffe2/operators/free_op.cc +++ b/caffe2/operators/free_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/free_op.h" namespace caffe2 { diff --git a/caffe2/operators/free_op.h b/caffe2/operators/free_op.h index 7ca09673cda5..7fc38aea7bfb 100644 --- a/caffe2/operators/free_op.h +++ b/caffe2/operators/free_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FREE_OP_H_ #define CAFFE2_OPERATORS_FREE_OP_H_ diff --git a/caffe2/operators/free_op_gpu.cc b/caffe2/operators/free_op_gpu.cc index 12f481f955ad..4b297a8dc91b 100644 --- a/caffe2/operators/free_op_gpu.cc +++ b/caffe2/operators/free_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/free_op.h" diff --git a/caffe2/operators/fully_connected_op.cc b/caffe2/operators/fully_connected_op.cc index f4e393afc095..3c95ed28dcdf 100644 --- a/caffe2/operators/fully_connected_op.cc +++ b/caffe2/operators/fully_connected_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/operators/fully_connected_op.h" diff --git a/caffe2/operators/fully_connected_op.h b/caffe2/operators/fully_connected_op.h index 61d79e77e8a2..aec48314295d 100644 --- a/caffe2/operators/fully_connected_op.h +++ b/caffe2/operators/fully_connected_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_OP_H_ #define CAFFE2_OPERATORS_FULLY_CONNECTED_OP_H_ diff --git a/caffe2/operators/fully_connected_op_gpu.cc b/caffe2/operators/fully_connected_op_gpu.cc index 896dbce6cc1c..f21d825e2fa8 100644 --- a/caffe2/operators/fully_connected_op_gpu.cc +++ b/caffe2/operators/fully_connected_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/fully_connected_op.h" diff --git a/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc b/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc index 672b89c1a54d..387e475880ef 100644 --- a/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc +++ b/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/fused_rowwise_8bit_conversion_ops.h" #include "caffe2/core/registry.h" diff --git a/caffe2/operators/fused_rowwise_8bit_conversion_ops.h b/caffe2/operators/fused_rowwise_8bit_conversion_ops.h index 4e4e581b8de0..bf098a610f2c 100644 --- a/caffe2/operators/fused_rowwise_8bit_conversion_ops.h +++ b/caffe2/operators/fused_rowwise_8bit_conversion_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_FUSED_ROWWISE_8BIT_CONVERSION_OPS_H_ #define CAFFE2_OPERATORS_FUSED_ROWWISE_8BIT_CONVERSION_OPS_H_ diff --git a/caffe2/operators/gather_ranges_to_dense_op.cc b/caffe2/operators/gather_ranges_to_dense_op.cc index 650f0db51787..79dfc009a2d3 100644 --- a/caffe2/operators/gather_ranges_to_dense_op.cc +++ b/caffe2/operators/gather_ranges_to_dense_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/gather_ranges_to_dense_op.h" namespace caffe2 { diff --git a/caffe2/operators/gather_ranges_to_dense_op.h b/caffe2/operators/gather_ranges_to_dense_op.h index 25f9546e59ef..c9a4084b9158 100644 --- a/caffe2/operators/gather_ranges_to_dense_op.h +++ b/caffe2/operators/gather_ranges_to_dense_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_GATHER_RANGES_TO_DENSE_OPS_H_ #define CAFFE2_OPERATORS_GATHER_RANGES_TO_DENSE_OPS_H_ diff --git a/caffe2/operators/generate_proposals_op.cc b/caffe2/operators/generate_proposals_op.cc index c001ab957525..bb1f2f6bf2bd 100644 --- a/caffe2/operators/generate_proposals_op.cc +++ b/caffe2/operators/generate_proposals_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/generate_proposals_op.h" #include "caffe2/operators/generate_proposals_op_util_boxes.h" #include "generate_proposals_op_util_nms.h" diff --git a/caffe2/operators/generate_proposals_op.h b/caffe2/operators/generate_proposals_op.h index 1dd269c5314a..d05f98d42de5 100644 --- a/caffe2/operators/generate_proposals_op.h +++ b/caffe2/operators/generate_proposals_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_GENERATE_PROPOSALS_OP_H_ #define CAFFE2_OPERATORS_GENERATE_PROPOSALS_OP_H_ diff --git a/caffe2/operators/generate_proposals_op_test.cc b/caffe2/operators/generate_proposals_op_test.cc index 501d5e99c879..b8edacd2c729 100644 --- a/caffe2/operators/generate_proposals_op_test.cc +++ b/caffe2/operators/generate_proposals_op_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/generate_proposals_op.h" #include diff --git a/caffe2/operators/generate_proposals_op_util_boxes.h b/caffe2/operators/generate_proposals_op_util_boxes.h index e1d908295588..660e1ade722c 100644 --- a/caffe2/operators/generate_proposals_op_util_boxes.h +++ b/caffe2/operators/generate_proposals_op_util_boxes.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_UTILS_BOXES_H_ #define CAFFE2_OPERATORS_UTILS_BOXES_H_ diff --git a/caffe2/operators/generate_proposals_op_util_boxes_test.cc b/caffe2/operators/generate_proposals_op_util_boxes_test.cc index 17ec3b04f1bb..3ba38929b6b7 100644 --- a/caffe2/operators/generate_proposals_op_util_boxes_test.cc +++ b/caffe2/operators/generate_proposals_op_util_boxes_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/generate_proposals_op_util_boxes.h" #include diff --git a/caffe2/operators/generate_proposals_op_util_nms.h b/caffe2/operators/generate_proposals_op_util_nms.h index eba560e8acdc..563a1080f008 100644 --- a/caffe2/operators/generate_proposals_op_util_nms.h +++ b/caffe2/operators/generate_proposals_op_util_nms.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_UTILS_NMS_H_ #define CAFFE2_OPERATORS_UTILS_NMS_H_ diff --git a/caffe2/operators/generate_proposals_op_util_nms_test.cc b/caffe2/operators/generate_proposals_op_util_nms_test.cc index 1f416ae4c2a1..a7825c81b635 100644 --- a/caffe2/operators/generate_proposals_op_util_nms_test.cc +++ b/caffe2/operators/generate_proposals_op_util_nms_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "generate_proposals_op_util_nms.h" #include diff --git a/caffe2/operators/given_tensor_fill_op.cc b/caffe2/operators/given_tensor_fill_op.cc index d7dd98e72640..b1866d52857b 100644 --- a/caffe2/operators/given_tensor_fill_op.cc +++ b/caffe2/operators/given_tensor_fill_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/given_tensor_fill_op.h" namespace caffe2 { diff --git a/caffe2/operators/given_tensor_fill_op.cu b/caffe2/operators/given_tensor_fill_op.cu index f6042b623568..af0b8863fb2c 100644 --- a/caffe2/operators/given_tensor_fill_op.cu +++ b/caffe2/operators/given_tensor_fill_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/given_tensor_fill_op.h" diff --git a/caffe2/operators/given_tensor_fill_op.h b/caffe2/operators/given_tensor_fill_op.h index e092bcd7d5d6..bf2119d0f5a4 100644 --- a/caffe2/operators/given_tensor_fill_op.h +++ b/caffe2/operators/given_tensor_fill_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/gru_unit_op.cc b/caffe2/operators/gru_unit_op.cc index 2be2563407dd..045be6c62425 100644 --- a/caffe2/operators/gru_unit_op.cc +++ b/caffe2/operators/gru_unit_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "gru_unit_op.h" namespace caffe2 { diff --git a/caffe2/operators/gru_unit_op.h b/caffe2/operators/gru_unit_op.h index 4edd7367f085..ecbaac2c3c15 100644 --- a/caffe2/operators/gru_unit_op.h +++ b/caffe2/operators/gru_unit_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_GRU_UNIT_OP_H_ #define CAFFE2_OPERATORS_GRU_UNIT_OP_H_ diff --git a/caffe2/operators/gru_unit_op_gpu.cu b/caffe2/operators/gru_unit_op_gpu.cu index 957907aa4849..2df357bf0578 100644 --- a/caffe2/operators/gru_unit_op_gpu.cu +++ b/caffe2/operators/gru_unit_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/h_softmax_op.cc b/caffe2/operators/h_softmax_op.cc index 6e0cf623a5ad..1a8689d9c76f 100644 --- a/caffe2/operators/h_softmax_op.cc +++ b/caffe2/operators/h_softmax_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/h_softmax_op.h" #include diff --git a/caffe2/operators/h_softmax_op.h b/caffe2/operators/h_softmax_op.h index c598f2fd61d6..423f5b7a4f2e 100644 --- a/caffe2/operators/h_softmax_op.h +++ b/caffe2/operators/h_softmax_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_H_SOFTMAX_OP_H_ #define CAFFE2_OPERATORS_H_SOFTMAX_OP_H_ diff --git a/caffe2/operators/half_float_ops.cc b/caffe2/operators/half_float_ops.cc index 0156966edb31..208bfce13743 100644 --- a/caffe2/operators/half_float_ops.cc +++ b/caffe2/operators/half_float_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/half_float_ops.h" namespace caffe2 { diff --git a/caffe2/operators/half_float_ops.cu b/caffe2/operators/half_float_ops.cu index 650f1414a0d8..fb1cd16db404 100644 --- a/caffe2/operators/half_float_ops.cu +++ b/caffe2/operators/half_float_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/half_float_ops.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/half_float_ops.h b/caffe2/operators/half_float_ops.h index 72bcce3609f0..f65720b8b32c 100644 --- a/caffe2/operators/half_float_ops.h +++ b/caffe2/operators/half_float_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_HALF_FLOAT_OPS_H_ #define CAFFE2_OPERATORS_HALF_FLOAT_OPS_H_ diff --git a/caffe2/operators/if_op.cc b/caffe2/operators/if_op.cc index 30d37fef35e8..8abc146aa5a7 100644 --- a/caffe2/operators/if_op.cc +++ b/caffe2/operators/if_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/if_op.h" namespace caffe2 { diff --git a/caffe2/operators/if_op.h b/caffe2/operators/if_op.h index a5cbe1b63c83..355dc31d8e55 100644 --- a/caffe2/operators/if_op.h +++ b/caffe2/operators/if_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_IF_OP_H_ #define CAFFE2_OPERATORS_IF_OP_H_ diff --git a/caffe2/operators/if_op_gpu.cc b/caffe2/operators/if_op_gpu.cc index 2651b6f2405e..6e89812965ec 100644 --- a/caffe2/operators/if_op_gpu.cc +++ b/caffe2/operators/if_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/if_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/im2col_op.cc b/caffe2/operators/im2col_op.cc index a7e4cc4bfab0..f8bb7118d51c 100644 --- a/caffe2/operators/im2col_op.cc +++ b/caffe2/operators/im2col_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/im2col_op.h" namespace caffe2 { diff --git a/caffe2/operators/im2col_op.h b/caffe2/operators/im2col_op.h index bb72de887e8b..f89131efec1c 100644 --- a/caffe2/operators/im2col_op.h +++ b/caffe2/operators/im2col_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_IM2COL_OP_H_ #define CAFFE2_OPERATORS_IM2COL_OP_H_ diff --git a/caffe2/operators/im2col_op_gpu.cc b/caffe2/operators/im2col_op_gpu.cc index 9e441466d6f7..ebfec0f19875 100644 --- a/caffe2/operators/im2col_op_gpu.cc +++ b/caffe2/operators/im2col_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/im2col_op.h" diff --git a/caffe2/operators/index_hash_ops.cc b/caffe2/operators/index_hash_ops.cc index b06c388b5166..4f374895451c 100644 --- a/caffe2/operators/index_hash_ops.cc +++ b/caffe2/operators/index_hash_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/index_hash_ops.h" namespace caffe2 { diff --git a/caffe2/operators/index_hash_ops.h b/caffe2/operators/index_hash_ops.h index 696590adbe38..a43fadf5e261 100644 --- a/caffe2/operators/index_hash_ops.h +++ b/caffe2/operators/index_hash_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_INDEX_HASH_OPS_H_ #define CAFFE2_OPERATORS_INDEX_HASH_OPS_H_ diff --git a/caffe2/operators/index_ops.cc b/caffe2/operators/index_ops.cc index dc7a6d50c983..dd04c87b7587 100644 --- a/caffe2/operators/index_ops.cc +++ b/caffe2/operators/index_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/instance_norm_gradient_op.cc b/caffe2/operators/instance_norm_gradient_op.cc index 04d1646b694d..079992140022 100644 --- a/caffe2/operators/instance_norm_gradient_op.cc +++ b/caffe2/operators/instance_norm_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/instance_norm_op.h" namespace caffe2 { diff --git a/caffe2/operators/instance_norm_op.cc b/caffe2/operators/instance_norm_op.cc index 0d31a02c9705..3d7931408439 100644 --- a/caffe2/operators/instance_norm_op.cc +++ b/caffe2/operators/instance_norm_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/instance_norm_op.h" namespace caffe2 { diff --git a/caffe2/operators/instance_norm_op.cu b/caffe2/operators/instance_norm_op.cu index 31f95d08419d..5a5010dc608b 100644 --- a/caffe2/operators/instance_norm_op.cu +++ b/caffe2/operators/instance_norm_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/instance_norm_op.h b/caffe2/operators/instance_norm_op.h index 09264f42e8bc..90f11b3d49c0 100644 --- a/caffe2/operators/instance_norm_op.h +++ b/caffe2/operators/instance_norm_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_INSTANCE_NORM_OP_H_ #define CAFFE2_OPERATORS_INSTANCE_NORM_OP_H_ diff --git a/caffe2/operators/jsd_op.cc b/caffe2/operators/jsd_op.cc index 1d7f49e09b5a..44648838f4a2 100644 --- a/caffe2/operators/jsd_op.cc +++ b/caffe2/operators/jsd_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/jsd_op.h" namespace caffe2 { diff --git a/caffe2/operators/jsd_op.h b/caffe2/operators/jsd_op.h index 4463d75bc907..f6eb3f014737 100644 --- a/caffe2/operators/jsd_op.h +++ b/caffe2/operators/jsd_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_JSD_OP_H_ #define CAFFE2_OPERATORS_JSD_OP_H_ diff --git a/caffe2/operators/key_split_ops.cc b/caffe2/operators/key_split_ops.cc index 2f6779cc487a..8c49110382cc 100644 --- a/caffe2/operators/key_split_ops.cc +++ b/caffe2/operators/key_split_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/key_split_ops.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/key_split_ops.h b/caffe2/operators/key_split_ops.h index 0a536bfd59d0..69b6c22b5b1a 100644 --- a/caffe2/operators/key_split_ops.h +++ b/caffe2/operators/key_split_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/operators/last_n_window_collector.cc b/caffe2/operators/last_n_window_collector.cc index 865325d4a822..c9d1a777538d 100644 --- a/caffe2/operators/last_n_window_collector.cc +++ b/caffe2/operators/last_n_window_collector.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/layer_norm_op.cc b/caffe2/operators/layer_norm_op.cc index 95d63acf3e4b..119dfa855551 100644 --- a/caffe2/operators/layer_norm_op.cc +++ b/caffe2/operators/layer_norm_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/layer_norm_op.h" namespace caffe2 { diff --git a/caffe2/operators/layer_norm_op.cu b/caffe2/operators/layer_norm_op.cu index 23ced9c8fd08..0309b4e6d7fe 100644 --- a/caffe2/operators/layer_norm_op.cu +++ b/caffe2/operators/layer_norm_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/layer_norm_op.h" #include diff --git a/caffe2/operators/layer_norm_op.h b/caffe2/operators/layer_norm_op.h index 6e69deecee95..da74f8339881 100644 --- a/caffe2/operators/layer_norm_op.h +++ b/caffe2/operators/layer_norm_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LAYER_NORM_OP_H #define CAFFE2_OPERATORS_LAYER_NORM_OP_H diff --git a/caffe2/operators/leaky_relu_op.cc b/caffe2/operators/leaky_relu_op.cc index 6081097b8e01..6e4a465060e1 100644 --- a/caffe2/operators/leaky_relu_op.cc +++ b/caffe2/operators/leaky_relu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/leaky_relu_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/leaky_relu_op.cu b/caffe2/operators/leaky_relu_op.cu index c90a7bea40e2..ece07b786a51 100644 --- a/caffe2/operators/leaky_relu_op.cu +++ b/caffe2/operators/leaky_relu_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/leaky_relu_op.h" diff --git a/caffe2/operators/leaky_relu_op.h b/caffe2/operators/leaky_relu_op.h index c29e15be6fa3..5a4238d12378 100644 --- a/caffe2/operators/leaky_relu_op.h +++ b/caffe2/operators/leaky_relu_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc b/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc index af9108af8ff6..5b0f1870555d 100644 --- a/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc +++ b/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h" #include "caffe2/core/registry.h" diff --git a/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h b/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h index 0d047f52df8a..5fdcb1d13058 100644 --- a/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h +++ b/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LENGTHS_REDUCER_FUSED_8BIT_ROWWISE_OPS_H_ #define CAFFE2_OPERATORS_LENGTHS_REDUCER_FUSED_8BIT_ROWWISE_OPS_H_ diff --git a/caffe2/operators/lengths_reducer_ops.cc b/caffe2/operators/lengths_reducer_ops.cc index b7dc57de764e..999b3f3d6df2 100644 --- a/caffe2/operators/lengths_reducer_ops.cc +++ b/caffe2/operators/lengths_reducer_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lengths_reducer_ops.h" #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/lengths_reducer_ops.h b/caffe2/operators/lengths_reducer_ops.h index b02652251a26..fc9295a02a07 100644 --- a/caffe2/operators/lengths_reducer_ops.h +++ b/caffe2/operators/lengths_reducer_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc b/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc index f97bb58fee47..b84a239aa24a 100644 --- a/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc +++ b/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lengths_reducer_rowwise_8bit_ops.h" #include "caffe2/core/registry.h" diff --git a/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h b/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h index f1f4cba63a02..0423fcf34a27 100644 --- a/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h +++ b/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LENGTHS_REDUCER_ROWWISE_8bits_OP_H_ #define CAFFE2_OPERATORS_LENGTHS_REDUCER_ROWWISE_8bits_OP_H_ diff --git a/caffe2/operators/lengths_tile_op.cc b/caffe2/operators/lengths_tile_op.cc index 4b572e76ebe1..e832fe8723a0 100644 --- a/caffe2/operators/lengths_tile_op.cc +++ b/caffe2/operators/lengths_tile_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lengths_tile_op.h" namespace caffe2 { diff --git a/caffe2/operators/lengths_tile_op.h b/caffe2/operators/lengths_tile_op.h index 5c8439ed7017..fb525bd9b972 100644 --- a/caffe2/operators/lengths_tile_op.h +++ b/caffe2/operators/lengths_tile_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LENGTHS_TILE_OP_H_ #define CAFFE2_OPERATORS_LENGTHS_TILE_OP_H_ diff --git a/caffe2/operators/lengths_tile_op_gpu.cc b/caffe2/operators/lengths_tile_op_gpu.cc index 72eb9c92fd21..65ed44b735de 100644 --- a/caffe2/operators/lengths_tile_op_gpu.cc +++ b/caffe2/operators/lengths_tile_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/lengths_tile_op.h" diff --git a/caffe2/operators/lengths_top_k_op.cc b/caffe2/operators/lengths_top_k_op.cc index 9995e09251fe..c871d53caf95 100644 --- a/caffe2/operators/lengths_top_k_op.cc +++ b/caffe2/operators/lengths_top_k_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lengths_top_k_op.h" namespace caffe2 { diff --git a/caffe2/operators/lengths_top_k_op.h b/caffe2/operators/lengths_top_k_op.h index 1f75b8099946..9f5d1cbade40 100644 --- a/caffe2/operators/lengths_top_k_op.h +++ b/caffe2/operators/lengths_top_k_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LENGTHS_TOP_K_OP_H_ #define CAFFE2_OPERATORS_LENGTHS_TOP_K_OP_H_ diff --git a/caffe2/operators/load_save_op.cc b/caffe2/operators/load_save_op.cc index 4ce9522d3b9a..4bade0c37783 100644 --- a/caffe2/operators/load_save_op.cc +++ b/caffe2/operators/load_save_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/load_save_op.h" namespace caffe2 { diff --git a/caffe2/operators/load_save_op.h b/caffe2/operators/load_save_op.h index 10d732da68e6..4b21fb2660d1 100644 --- a/caffe2/operators/load_save_op.h +++ b/caffe2/operators/load_save_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LOAD_SAVE_OP_H_ #define CAFFE2_OPERATORS_LOAD_SAVE_OP_H_ diff --git a/caffe2/operators/load_save_op_gpu.cc b/caffe2/operators/load_save_op_gpu.cc index fb4909425eb6..54a495926c14 100644 --- a/caffe2/operators/load_save_op_gpu.cc +++ b/caffe2/operators/load_save_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/load_save_op.h" diff --git a/caffe2/operators/local_response_normalization_op.cc b/caffe2/operators/local_response_normalization_op.cc index 292fb501521d..ce4307e380da 100644 --- a/caffe2/operators/local_response_normalization_op.cc +++ b/caffe2/operators/local_response_normalization_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/local_response_normalization_op.h" namespace caffe2 { diff --git a/caffe2/operators/local_response_normalization_op.cu b/caffe2/operators/local_response_normalization_op.cu index f6c52595ab30..a6a8f5011e33 100644 --- a/caffe2/operators/local_response_normalization_op.cu +++ b/caffe2/operators/local_response_normalization_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/local_response_normalization_op.h" diff --git a/caffe2/operators/local_response_normalization_op.h b/caffe2/operators/local_response_normalization_op.h index 3ba20591c240..79f388caea23 100644 --- a/caffe2/operators/local_response_normalization_op.h +++ b/caffe2/operators/local_response_normalization_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LOCAL_RESPONSE_NORMALIZATION_OP_H_ #define CAFFE2_OPERATORS_LOCAL_RESPONSE_NORMALIZATION_OP_H_ diff --git a/caffe2/operators/local_response_normalization_op_cudnn.cc b/caffe2/operators/local_response_normalization_op_cudnn.cc index fbfc457e50cb..1df006255cfd 100644 --- a/caffe2/operators/local_response_normalization_op_cudnn.cc +++ b/caffe2/operators/local_response_normalization_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/locally_connected_op.cc b/caffe2/operators/locally_connected_op.cc index 3a18c294f793..046befe14650 100644 --- a/caffe2/operators/locally_connected_op.cc +++ b/caffe2/operators/locally_connected_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/locally_connected_op.h b/caffe2/operators/locally_connected_op.h index 4d152292db8c..411945e8774a 100644 --- a/caffe2/operators/locally_connected_op.h +++ b/caffe2/operators/locally_connected_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_H_ #define CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_H_ diff --git a/caffe2/operators/locally_connected_op_gpu.cc b/caffe2/operators/locally_connected_op_gpu.cc index 5db177d3acdf..4bac2d2ad6ce 100644 --- a/caffe2/operators/locally_connected_op_gpu.cc +++ b/caffe2/operators/locally_connected_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/locally_connected_op.h" #include "caffe2/operators/locally_connected_op_impl.h" diff --git a/caffe2/operators/locally_connected_op_impl.h b/caffe2/operators/locally_connected_op_impl.h index da11628063a0..a8fbc399ccd0 100644 --- a/caffe2/operators/locally_connected_op_impl.h +++ b/caffe2/operators/locally_connected_op_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // locally_connected_impl.h is the templated implementation of the // locally_connected.h file. diff --git a/caffe2/operators/locally_connected_op_util.h b/caffe2/operators/locally_connected_op_util.h index 6b6a38d30eac..a2414d5ac653 100644 --- a/caffe2/operators/locally_connected_op_util.h +++ b/caffe2/operators/locally_connected_op_util.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_UTIL_H_ #define CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_UTIL_H_ diff --git a/caffe2/operators/log_op.cc b/caffe2/operators/log_op.cc index d2e7cc992cd1..1aa2bc4791f5 100644 --- a/caffe2/operators/log_op.cc +++ b/caffe2/operators/log_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/math_ops.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/log_op.cu b/caffe2/operators/log_op.cu index bb81a4f19a81..3fb422cd7a30 100644 --- a/caffe2/operators/log_op.cu +++ b/caffe2/operators/log_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/math_ops.h" diff --git a/caffe2/operators/logit_op.cc b/caffe2/operators/logit_op.cc index 8b37651e23b6..e9eff0feb503 100644 --- a/caffe2/operators/logit_op.cc +++ b/caffe2/operators/logit_op.cc @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ #include "caffe2/operators/logit_op.h" #include "caffe2/operators/elementwise_op.h" diff --git a/caffe2/operators/logit_op.cu b/caffe2/operators/logit_op.cu index 390923ad9a7d..fd419e15fe57 100644 --- a/caffe2/operators/logit_op.cu +++ b/caffe2/operators/logit_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/elementwise_op.h" #include "caffe2/operators/logit_op.h" diff --git a/caffe2/operators/loss_op.cc b/caffe2/operators/loss_op.cc index bac0b040d67b..67e0f5d1db38 100644 --- a/caffe2/operators/loss_op.cc +++ b/caffe2/operators/loss_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/loss_op.h" namespace caffe2 { diff --git a/caffe2/operators/loss_op.cu b/caffe2/operators/loss_op.cu index 203b58d4869c..6ad56d21a2b5 100644 --- a/caffe2/operators/loss_op.cu +++ b/caffe2/operators/loss_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/loss_op.h" diff --git a/caffe2/operators/loss_op.h b/caffe2/operators/loss_op.h index e04fb24f6548..aa61a89a8073 100644 --- a/caffe2/operators/loss_op.h +++ b/caffe2/operators/loss_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LOSS_OP_H_ #define CAFFE2_OPERATORS_LOSS_OP_H_ diff --git a/caffe2/operators/lp_pool_op.cc b/caffe2/operators/lp_pool_op.cc index 5c790b578b9f..57d3591182a8 100644 --- a/caffe2/operators/lp_pool_op.cc +++ b/caffe2/operators/lp_pool_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // TODO: reduce the apparent redundancy of all the code below. #include "caffe2/operators/pool_op.h" diff --git a/caffe2/operators/lp_pool_op.cu b/caffe2/operators/lp_pool_op.cu index 85570785f6b7..53f611029442 100644 --- a/caffe2/operators/lp_pool_op.cu +++ b/caffe2/operators/lp_pool_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // TODO: reduce the apparent redundancy of all the code below. #include diff --git a/caffe2/operators/lpnorm_op.cc b/caffe2/operators/lpnorm_op.cc index dc7fe7ed5f2a..4d8225f75c96 100644 --- a/caffe2/operators/lpnorm_op.cc +++ b/caffe2/operators/lpnorm_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/lpnorm_op.h" namespace caffe2 { diff --git a/caffe2/operators/lpnorm_op.h b/caffe2/operators/lpnorm_op.h index 28e5699a3271..0cfd173d8bef 100644 --- a/caffe2/operators/lpnorm_op.h +++ b/caffe2/operators/lpnorm_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LPNORM_OP_H_ #define CAFFE2_OPERATORS_LPNORM_OP_H_ diff --git a/caffe2/operators/lstm_unit_op.cc b/caffe2/operators/lstm_unit_op.cc index f7ff8efa8782..ecd0655fe16e 100644 --- a/caffe2/operators/lstm_unit_op.cc +++ b/caffe2/operators/lstm_unit_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "lstm_unit_op.h" namespace caffe2 { diff --git a/caffe2/operators/lstm_unit_op.h b/caffe2/operators/lstm_unit_op.h index ffb6ed17ba2f..73afcbe08684 100644 --- a/caffe2/operators/lstm_unit_op.h +++ b/caffe2/operators/lstm_unit_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LSTM_UNIT_OP_H_ #define CAFFE2_OPERATORS_LSTM_UNIT_OP_H_ diff --git a/caffe2/operators/lstm_unit_op_gpu.cu b/caffe2/operators/lstm_unit_op_gpu.cu index 56ad910dedad..bdd62e5c3c42 100644 --- a/caffe2/operators/lstm_unit_op_gpu.cu +++ b/caffe2/operators/lstm_unit_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/map_ops.cc b/caffe2/operators/map_ops.cc index 4fb9252ef37d..4862165bea11 100644 --- a/caffe2/operators/map_ops.cc +++ b/caffe2/operators/map_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/map_ops.h" namespace caffe2 { diff --git a/caffe2/operators/map_ops.h b/caffe2/operators/map_ops.h index ee0490ebd3e8..8d1a18f8fc13 100644 --- a/caffe2/operators/map_ops.h +++ b/caffe2/operators/map_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MAP_OPS_H_ #define CAFFE2_OPERATORS_MAP_OPS_H_ diff --git a/caffe2/operators/margin_ranking_criterion_op.cc b/caffe2/operators/margin_ranking_criterion_op.cc index 85c7517549ea..0ea39b4e0ded 100644 --- a/caffe2/operators/margin_ranking_criterion_op.cc +++ b/caffe2/operators/margin_ranking_criterion_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/margin_ranking_criterion_op.h" #include diff --git a/caffe2/operators/margin_ranking_criterion_op.cu b/caffe2/operators/margin_ranking_criterion_op.cu index d959a1c8a2fd..bd6ae376565b 100644 --- a/caffe2/operators/margin_ranking_criterion_op.cu +++ b/caffe2/operators/margin_ranking_criterion_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/margin_ranking_criterion_op.h" diff --git a/caffe2/operators/margin_ranking_criterion_op.h b/caffe2/operators/margin_ranking_criterion_op.h index cf4be09756a7..933db52ecfff 100644 --- a/caffe2/operators/margin_ranking_criterion_op.h +++ b/caffe2/operators/margin_ranking_criterion_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MARGIN_RANKING_CRITERION_OP_H_ #define CAFFE2_OPERATORS_MARGIN_RANKING_CRITERION_OP_H_ diff --git a/caffe2/operators/math_ops.cc b/caffe2/operators/math_ops.cc index 36b2f867b0d0..72fe0eb59a53 100644 --- a/caffe2/operators/math_ops.cc +++ b/caffe2/operators/math_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/math_ops.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/math_ops.cu b/caffe2/operators/math_ops.cu index f98a3bf27f35..9cd6ad64ac66 100644 --- a/caffe2/operators/math_ops.cu +++ b/caffe2/operators/math_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/math_ops.h" diff --git a/caffe2/operators/math_ops.h b/caffe2/operators/math_ops.h index 75a3d7be0394..b411b8ed6920 100644 --- a/caffe2/operators/math_ops.h +++ b/caffe2/operators/math_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MATH_OP_H_ #define CAFFE2_OPERATORS_MATH_OP_H_ diff --git a/caffe2/operators/matmul_op.cc b/caffe2/operators/matmul_op.cc index 50b9b5767b17..4775f7fbb35e 100644 --- a/caffe2/operators/matmul_op.cc +++ b/caffe2/operators/matmul_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/matmul_op.h" namespace caffe2 { diff --git a/caffe2/operators/matmul_op.h b/caffe2/operators/matmul_op.h index f0c56895d551..ccc7138d6c8c 100644 --- a/caffe2/operators/matmul_op.h +++ b/caffe2/operators/matmul_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MATMUL_OP_H_ #define CAFFE2_OPERATORS_MATMUL_OP_H_ diff --git a/caffe2/operators/matmul_op_gpu.cc b/caffe2/operators/matmul_op_gpu.cc index 1799c8026808..973bb2628287 100644 --- a/caffe2/operators/matmul_op_gpu.cc +++ b/caffe2/operators/matmul_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/matmul_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/max_pool_with_index.cu b/caffe2/operators/max_pool_with_index.cu index a792a23de3b8..b8e6d2b469e5 100644 --- a/caffe2/operators/max_pool_with_index.cu +++ b/caffe2/operators/max_pool_with_index.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/max_pool_with_index.h" #include "caffe2/utils/conversions.h" diff --git a/caffe2/operators/max_pool_with_index.h b/caffe2/operators/max_pool_with_index.h index eb3718bf6f4b..64337dc56088 100644 --- a/caffe2/operators/max_pool_with_index.h +++ b/caffe2/operators/max_pool_with_index.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MAX_POOL_WITH_INDEX_H_ #define CAFFE2_OPERATORS_MAX_POOL_WITH_INDEX_H_ diff --git a/caffe2/operators/mean_op.cc b/caffe2/operators/mean_op.cc index ab41cfc8d7f1..56dcd9379eac 100644 --- a/caffe2/operators/mean_op.cc +++ b/caffe2/operators/mean_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/mean_op.h" namespace caffe2 { diff --git a/caffe2/operators/mean_op.cu b/caffe2/operators/mean_op.cu index e71f7180741c..70f5f3740125 100644 --- a/caffe2/operators/mean_op.cu +++ b/caffe2/operators/mean_op.cu @@ -1,18 +1,3 @@ -/* Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/mean_op.h" diff --git a/caffe2/operators/mean_op.h b/caffe2/operators/mean_op.h index 503d8961d278..975288fae98c 100644 --- a/caffe2/operators/mean_op.h +++ b/caffe2/operators/mean_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MEAN_OPS_H_ #define CAFFE2_OPERATORS_MEAN_OPS_H_ diff --git a/caffe2/operators/mem_query_op.cu b/caffe2/operators/mem_query_op.cu index 35c9d3b82c21..767be8af2c38 100644 --- a/caffe2/operators/mem_query_op.cu +++ b/caffe2/operators/mem_query_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/merge_id_lists_op.cc b/caffe2/operators/merge_id_lists_op.cc index 86f5de03a642..2505123d7656 100644 --- a/caffe2/operators/merge_id_lists_op.cc +++ b/caffe2/operators/merge_id_lists_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/merge_id_lists_op.h" namespace caffe2 { diff --git a/caffe2/operators/merge_id_lists_op.h b/caffe2/operators/merge_id_lists_op.h index 6aae617a8bd9..9858b98706d7 100644 --- a/caffe2/operators/merge_id_lists_op.h +++ b/caffe2/operators/merge_id_lists_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MERGE_ID_LISTS_OP_H_ #define CAFFE2_OPERATORS_MERGE_ID_LISTS_OP_H_ diff --git a/caffe2/operators/minmax_gradient_ops.cc b/caffe2/operators/minmax_gradient_ops.cc index 4eb091b9f43f..5b223b255133 100644 --- a/caffe2/operators/minmax_gradient_ops.cc +++ b/caffe2/operators/minmax_gradient_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/minmax_ops.h" namespace caffe2 { diff --git a/caffe2/operators/minmax_ops.cc b/caffe2/operators/minmax_ops.cc index be04c27625f6..be5e5516c225 100644 --- a/caffe2/operators/minmax_ops.cc +++ b/caffe2/operators/minmax_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/minmax_ops.h" namespace caffe2 { diff --git a/caffe2/operators/minmax_ops.h b/caffe2/operators/minmax_ops.h index c4cc642b1b20..247e27c068ab 100644 --- a/caffe2/operators/minmax_ops.h +++ b/caffe2/operators/minmax_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MINMAX_OPS_H_ #define CAFFE2_OPERATORS_MINMAX_OPS_H_ diff --git a/caffe2/operators/mod_op.cc b/caffe2/operators/mod_op.cc index 54d338ecfb20..309e289db341 100644 --- a/caffe2/operators/mod_op.cc +++ b/caffe2/operators/mod_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/mod_op.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/mod_op.h b/caffe2/operators/mod_op.h index 2d8196ee0f75..a08c7062a250 100644 --- a/caffe2/operators/mod_op.h +++ b/caffe2/operators/mod_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE_OPERATORS_MOD_OP_H_ #define CAFFE_OPERATORS_MOD_OP_H_ diff --git a/caffe2/operators/multi_class_accuracy_op.cc b/caffe2/operators/multi_class_accuracy_op.cc index 9a75f39025f5..9eda6fbe2c1b 100644 --- a/caffe2/operators/multi_class_accuracy_op.cc +++ b/caffe2/operators/multi_class_accuracy_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/multi_class_accuracy_op.h" namespace caffe2 { diff --git a/caffe2/operators/multi_class_accuracy_op.cu b/caffe2/operators/multi_class_accuracy_op.cu index 8d5f1a8ed283..f5672146fd41 100644 --- a/caffe2/operators/multi_class_accuracy_op.cu +++ b/caffe2/operators/multi_class_accuracy_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/multi_class_accuracy_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/multi_class_accuracy_op.h b/caffe2/operators/multi_class_accuracy_op.h index a0f0c49c68e6..5710f5ade75c 100644 --- a/caffe2/operators/multi_class_accuracy_op.h +++ b/caffe2/operators/multi_class_accuracy_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_MULTI_CLASS_ACCURACY_OP_H_ #define CAFFE2_OPERATORS_MULTI_CLASS_ACCURACY_OP_H_ diff --git a/caffe2/operators/negative_op.cc b/caffe2/operators/negative_op.cc index 2bbe188f5429..239cd972d086 100644 --- a/caffe2/operators/negative_op.cc +++ b/caffe2/operators/negative_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" namespace caffe2 { diff --git a/caffe2/operators/negative_op.cu b/caffe2/operators/negative_op.cu index 39c552e9bb4c..1bd5cea474ae 100644 --- a/caffe2/operators/negative_op.cu +++ b/caffe2/operators/negative_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/elementwise_op.h" diff --git a/caffe2/operators/ngram_ops.cc b/caffe2/operators/ngram_ops.cc index 39ce213e9740..f2c009f69782 100644 --- a/caffe2/operators/ngram_ops.cc +++ b/caffe2/operators/ngram_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/ngram_ops.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/ngram_ops.h b/caffe2/operators/ngram_ops.h index 482b9d22bc8d..0d9bb60b7168 100644 --- a/caffe2/operators/ngram_ops.h +++ b/caffe2/operators/ngram_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/operators/no_default_engine_op.h b/caffe2/operators/no_default_engine_op.h index 04740e2bef88..c148094a4f73 100644 --- a/caffe2/operators/no_default_engine_op.h +++ b/caffe2/operators/no_default_engine_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_NO_DEFAULT_ENGINE_OP_H_ #define CAFFE2_OPERATORS_NO_DEFAULT_ENGINE_OP_H_ diff --git a/caffe2/operators/norm_planar_yuv_op.cc b/caffe2/operators/norm_planar_yuv_op.cc index e37e5fcf52a4..b9d9b9c44ecc 100644 --- a/caffe2/operators/norm_planar_yuv_op.cc +++ b/caffe2/operators/norm_planar_yuv_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/operator.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/normalize_l1_op.cc b/caffe2/operators/normalize_l1_op.cc index 812438832b58..cb02ff7d5239 100644 --- a/caffe2/operators/normalize_l1_op.cc +++ b/caffe2/operators/normalize_l1_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/normalize_l1_op.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/normalize_l1_op.h b/caffe2/operators/normalize_l1_op.h index bffff04a794b..1a23f397b413 100644 --- a/caffe2/operators/normalize_l1_op.h +++ b/caffe2/operators/normalize_l1_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_NORMALIZE_L1_OP_H_ #define CAFFE2_OPERATORS_NORMALIZE_L1_OP_H_ diff --git a/caffe2/operators/normalize_op.cc b/caffe2/operators/normalize_op.cc index dcd010df6237..4a1aac7f02a9 100644 --- a/caffe2/operators/normalize_op.cc +++ b/caffe2/operators/normalize_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/normalize_op.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/normalize_op.h b/caffe2/operators/normalize_op.h index 7e92d5a717c1..05e90245df3f 100644 --- a/caffe2/operators/normalize_op.h +++ b/caffe2/operators/normalize_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_NORMALIZE_OP_H_ #define CAFFE2_OPERATORS_NORMALIZE_OP_H_ diff --git a/caffe2/operators/normalize_ops.cu b/caffe2/operators/normalize_ops.cu index 9fb1926615b8..343a8cee24ec 100644 --- a/caffe2/operators/normalize_ops.cu +++ b/caffe2/operators/normalize_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/one_hot_ops.cc b/caffe2/operators/one_hot_ops.cc index aa7161c61212..e2ea7b1e53f4 100644 --- a/caffe2/operators/one_hot_ops.cc +++ b/caffe2/operators/one_hot_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/one_hot_ops.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/one_hot_ops.cu b/caffe2/operators/one_hot_ops.cu index e3e57e07228b..9cca0a5b2ffe 100644 --- a/caffe2/operators/one_hot_ops.cu +++ b/caffe2/operators/one_hot_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/one_hot_ops.h b/caffe2/operators/one_hot_ops.h index 84bd97647177..1b48b69326f3 100644 --- a/caffe2/operators/one_hot_ops.h +++ b/caffe2/operators/one_hot_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE_OPERATORS_ONE_HOT_OPS_H_ #define CAFFE_OPERATORS_ONE_HOT_OPS_H_ diff --git a/caffe2/operators/onnx_while_op.cc b/caffe2/operators/onnx_while_op.cc index d2642956e8a1..0d38e527f682 100644 --- a/caffe2/operators/onnx_while_op.cc +++ b/caffe2/operators/onnx_while_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/onnx_while_op.h" namespace caffe2 { diff --git a/caffe2/operators/onnx_while_op.h b/caffe2/operators/onnx_while_op.h index a869833b4d27..223c0d381634 100644 --- a/caffe2/operators/onnx_while_op.h +++ b/caffe2/operators/onnx_while_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ONNX_WHILE_OP_H_ #define CAFFE2_OPERATORS_ONNX_WHILE_OP_H_ diff --git a/caffe2/operators/op_utils_cudnn.h b/caffe2/operators/op_utils_cudnn.h index 61e37cf96a9e..b76a1826d33c 100644 --- a/caffe2/operators/op_utils_cudnn.h +++ b/caffe2/operators/op_utils_cudnn.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CUDNN_OP_UTILS_H_ #define CAFFE2_OPERATORS_CUDNN_OP_UTILS_H_ diff --git a/caffe2/operators/operator_fallback_gpu.h b/caffe2/operators/operator_fallback_gpu.h index 61d34c61ba1c..62d9cdbdaef0 100644 --- a/caffe2/operators/operator_fallback_gpu.h +++ b/caffe2/operators/operator_fallback_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_OPERATOR_FALLBACK_H_ #define CAFFE2_OPERATORS_OPERATOR_FALLBACK_H_ diff --git a/caffe2/operators/operator_fallback_gpu_test.cc b/caffe2/operators/operator_fallback_gpu_test.cc index 6ec67e58dd1b..eb6c225478cb 100644 --- a/caffe2/operators/operator_fallback_gpu_test.cc +++ b/caffe2/operators/operator_fallback_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/operator.h" diff --git a/caffe2/operators/order_switch_ops.cc b/caffe2/operators/order_switch_ops.cc index 40efdddb660d..11cc6dedc24f 100644 --- a/caffe2/operators/order_switch_ops.cc +++ b/caffe2/operators/order_switch_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/order_switch_ops.h" namespace caffe2 { diff --git a/caffe2/operators/order_switch_ops.cu b/caffe2/operators/order_switch_ops.cu index f1690c0caff7..2d77b5da85a2 100644 --- a/caffe2/operators/order_switch_ops.cu +++ b/caffe2/operators/order_switch_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/order_switch_ops.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/order_switch_ops.h b/caffe2/operators/order_switch_ops.h index 10fb0b01fa04..b8420d67f80c 100644 --- a/caffe2/operators/order_switch_ops.h +++ b/caffe2/operators/order_switch_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ORDER_SWITCH_OPS_H_ #define CAFFE2_OPERATORS_ORDER_SWITCH_OPS_H_ diff --git a/caffe2/operators/pack_rnn_sequence_op.cc b/caffe2/operators/pack_rnn_sequence_op.cc index 9bd4bcf4a5ba..b4fd8a0f1090 100644 --- a/caffe2/operators/pack_rnn_sequence_op.cc +++ b/caffe2/operators/pack_rnn_sequence_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/pack_rnn_sequence_op.h" namespace caffe2 { diff --git a/caffe2/operators/pack_rnn_sequence_op.h b/caffe2/operators/pack_rnn_sequence_op.h index 332091f3fc70..c2fcb7d6beb0 100644 --- a/caffe2/operators/pack_rnn_sequence_op.h +++ b/caffe2/operators/pack_rnn_sequence_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PACK_RNN_SEQUENCE_OP_H_ #define CAFFE2_OPERATORS_PACK_RNN_SEQUENCE_OP_H_ diff --git a/caffe2/operators/pack_segments.cc b/caffe2/operators/pack_segments.cc index 4793401bf915..f6451048fa09 100644 --- a/caffe2/operators/pack_segments.cc +++ b/caffe2/operators/pack_segments.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/pack_segments.h" namespace caffe2 { diff --git a/caffe2/operators/pack_segments.h b/caffe2/operators/pack_segments.h index d2aaae134e72..ed7062c85cb7 100644 --- a/caffe2/operators/pack_segments.h +++ b/caffe2/operators/pack_segments.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PACK_SEGMENTS_H_ #define CAFFE2_OPERATORS_PACK_SEGMENTS_H_ diff --git a/caffe2/operators/pad_op.cc b/caffe2/operators/pad_op.cc index 4abe0b8b4def..74de23e2a976 100644 --- a/caffe2/operators/pad_op.cc +++ b/caffe2/operators/pad_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/pad_op.h" #include diff --git a/caffe2/operators/pad_op.h b/caffe2/operators/pad_op.h index e6f97710b878..5ab4f37c4243 100644 --- a/caffe2/operators/pad_op.h +++ b/caffe2/operators/pad_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PAD_OP_H_ #define CAFFE2_OPERATORS_PAD_OP_H_ diff --git a/caffe2/operators/pad_op_gpu.cu b/caffe2/operators/pad_op_gpu.cu index 0256f7a1b58e..bfb4542ca81d 100644 --- a/caffe2/operators/pad_op_gpu.cu +++ b/caffe2/operators/pad_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/partition_ops.cc b/caffe2/operators/partition_ops.cc index 9334119770a8..68582ee08123 100644 --- a/caffe2/operators/partition_ops.cc +++ b/caffe2/operators/partition_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/partition_ops.h" namespace caffe2 { diff --git a/caffe2/operators/partition_ops.h b/caffe2/operators/partition_ops.h index c912fe38e99f..563a02638edd 100644 --- a/caffe2/operators/partition_ops.h +++ b/caffe2/operators/partition_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PARTITION_OPS_H_ #define CAFFE2_OPERATORS_PARTITION_OPS_H_ diff --git a/caffe2/operators/perplexity_op.cc b/caffe2/operators/perplexity_op.cc index cd0879a92eea..a7c4d52285e3 100644 --- a/caffe2/operators/perplexity_op.cc +++ b/caffe2/operators/perplexity_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/perplexity_op.h" namespace caffe2 { diff --git a/caffe2/operators/perplexity_op.cu b/caffe2/operators/perplexity_op.cu index a3fea7a779f1..afb4d3dc2726 100644 --- a/caffe2/operators/perplexity_op.cu +++ b/caffe2/operators/perplexity_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/perplexity_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/perplexity_op.h b/caffe2/operators/perplexity_op.h index c1eacdf6d180..4fda547d87d4 100644 --- a/caffe2/operators/perplexity_op.h +++ b/caffe2/operators/perplexity_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PERPLEXITY_OP_H_ #define CAFFE2_OPERATORS_PERPLEXITY_OP_H_ diff --git a/caffe2/operators/piecewise_linear_transform_op.cc b/caffe2/operators/piecewise_linear_transform_op.cc index 44ce0e87e5d4..528b33619b22 100644 --- a/caffe2/operators/piecewise_linear_transform_op.cc +++ b/caffe2/operators/piecewise_linear_transform_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/piecewise_linear_transform_op.h" namespace caffe2 { diff --git a/caffe2/operators/piecewise_linear_transform_op.cu b/caffe2/operators/piecewise_linear_transform_op.cu index 19e8047f6d8b..877b795c1907 100644 --- a/caffe2/operators/piecewise_linear_transform_op.cu +++ b/caffe2/operators/piecewise_linear_transform_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/piecewise_linear_transform_op.h" diff --git a/caffe2/operators/piecewise_linear_transform_op.h b/caffe2/operators/piecewise_linear_transform_op.h index 70d1478ac4e9..701acb87f9ad 100644 --- a/caffe2/operators/piecewise_linear_transform_op.h +++ b/caffe2/operators/piecewise_linear_transform_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PIECEWISE_LINEAR_TRANSFORM_OP_H_ #define CAFFE2_OPERATORS_PIECEWISE_LINEAR_TRANSFORM_OP_H_ diff --git a/caffe2/operators/pool_gradient_op.cc b/caffe2/operators/pool_gradient_op.cc index 3fbca8278f0f..048d8fc06177 100644 --- a/caffe2/operators/pool_gradient_op.cc +++ b/caffe2/operators/pool_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/pool_op.h" namespace caffe2 { diff --git a/caffe2/operators/pool_op.cc b/caffe2/operators/pool_op.cc index dae6e919b12b..66db60a06875 100644 --- a/caffe2/operators/pool_op.cc +++ b/caffe2/operators/pool_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // TODO(ataei): reduce the apparent redundancy of all the code below. #include "caffe2/operators/pool_op.h" #include "caffe2/utils/cpu_neon.h" diff --git a/caffe2/operators/pool_op.cu b/caffe2/operators/pool_op.cu index c29eaaba763b..48b30afaa4d0 100644 --- a/caffe2/operators/pool_op.cu +++ b/caffe2/operators/pool_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // TODO(ataei): reduce the apparent redundancy of all the code below. #include diff --git a/caffe2/operators/pool_op.h b/caffe2/operators/pool_op.h index f6de749c061d..fa77492e4db6 100644 --- a/caffe2/operators/pool_op.h +++ b/caffe2/operators/pool_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_POOL_OP_H_ #define CAFFE2_OPERATORS_POOL_OP_H_ diff --git a/caffe2/operators/pool_op_cudnn.cu b/caffe2/operators/pool_op_cudnn.cu index 93386b141bcd..00f719b81997 100644 --- a/caffe2/operators/pool_op_cudnn.cu +++ b/caffe2/operators/pool_op_cudnn.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/operators/conv_pool_op_base.h" diff --git a/caffe2/operators/pow_op.cc b/caffe2/operators/pow_op.cc index f59658365451..5263cce18688 100644 --- a/caffe2/operators/pow_op.cc +++ b/caffe2/operators/pow_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/pow_op.h" #include "caffe2/utils/math.h" // definition of NumericTypes and SameTypeAsInput is in below header file diff --git a/caffe2/operators/pow_op.cu b/caffe2/operators/pow_op.cu index 9f8d46645bdf..34e5d72dd7e2 100644 --- a/caffe2/operators/pow_op.cu +++ b/caffe2/operators/pow_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #define CUB_STDERR #include #include diff --git a/caffe2/operators/pow_op.h b/caffe2/operators/pow_op.h index 4eeacca850dc..054ed7278ab3 100644 --- a/caffe2/operators/pow_op.h +++ b/caffe2/operators/pow_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_POW_OP_H_ #define CAFFE2_OPERATORS_POW_OP_H_ diff --git a/caffe2/operators/prefetch_op.h b/caffe2/operators/prefetch_op.h index e1c1b674e256..6876bd873c81 100644 --- a/caffe2/operators/prefetch_op.h +++ b/caffe2/operators/prefetch_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PREFETCH_OP_H_ #define CAFFE2_OPERATORS_PREFETCH_OP_H_ diff --git a/caffe2/operators/prelu_op.cc b/caffe2/operators/prelu_op.cc index 3f8bce4cb71c..4c6249b7566a 100644 --- a/caffe2/operators/prelu_op.cc +++ b/caffe2/operators/prelu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/prelu_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/prelu_op.cu b/caffe2/operators/prelu_op.cu index 6e130b28537f..b14393d81b50 100644 --- a/caffe2/operators/prelu_op.cu +++ b/caffe2/operators/prelu_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/prelu_op.h" diff --git a/caffe2/operators/prelu_op.h b/caffe2/operators/prelu_op.h index ef54b90b2dc1..1c1a4aa40760 100644 --- a/caffe2/operators/prelu_op.h +++ b/caffe2/operators/prelu_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/prepend_dim_op.cc b/caffe2/operators/prepend_dim_op.cc index 9ea1e41921eb..2796fec36728 100644 --- a/caffe2/operators/prepend_dim_op.cc +++ b/caffe2/operators/prepend_dim_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/prepend_dim_op.h" namespace caffe2 { diff --git a/caffe2/operators/prepend_dim_op.h b/caffe2/operators/prepend_dim_op.h index 73f7dd10c0e2..f1ff691cb060 100644 --- a/caffe2/operators/prepend_dim_op.h +++ b/caffe2/operators/prepend_dim_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_PREPEND_DIM_OP_H_ #define CAFFE2_OPERATORS_PREPEND_DIM_OP_H_ diff --git a/caffe2/operators/prepend_dim_op_gpu.cc b/caffe2/operators/prepend_dim_op_gpu.cc index d6b42a016a82..aade1b09846e 100644 --- a/caffe2/operators/prepend_dim_op_gpu.cc +++ b/caffe2/operators/prepend_dim_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/prepend_dim_op.h" diff --git a/caffe2/operators/quant_decode_op.cc b/caffe2/operators/quant_decode_op.cc index ec439d3ca2b2..9f4f7b62c283 100644 --- a/caffe2/operators/quant_decode_op.cc +++ b/caffe2/operators/quant_decode_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "quant_decode_op.h" #include #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/quant_decode_op.h b/caffe2/operators/quant_decode_op.h index 0a6c13ca095d..768d879fdf0b 100644 --- a/caffe2/operators/quant_decode_op.h +++ b/caffe2/operators/quant_decode_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef QUANT_DECODE_OP_H_ #define QUANT_DECODE_OP_H_ diff --git a/caffe2/operators/rank_loss_op.cc b/caffe2/operators/rank_loss_op.cc index accba02f9865..d256a6e5cfa7 100644 --- a/caffe2/operators/rank_loss_op.cc +++ b/caffe2/operators/rank_loss_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/rank_loss_op.h" namespace caffe2 { diff --git a/caffe2/operators/rank_loss_op.h b/caffe2/operators/rank_loss_op.h index 4f8f21b0c9a1..420428afb0fc 100644 --- a/caffe2/operators/rank_loss_op.h +++ b/caffe2/operators/rank_loss_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/recurrent_network_blob_fetcher_op.cc b/caffe2/operators/recurrent_network_blob_fetcher_op.cc index d9d04f6fd6de..3e4c65922995 100644 --- a/caffe2/operators/recurrent_network_blob_fetcher_op.cc +++ b/caffe2/operators/recurrent_network_blob_fetcher_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/recurrent_network_blob_fetcher_op.h" namespace caffe2 { diff --git a/caffe2/operators/recurrent_network_blob_fetcher_op.h b/caffe2/operators/recurrent_network_blob_fetcher_op.h index ac208e619007..230a41779932 100644 --- a/caffe2/operators/recurrent_network_blob_fetcher_op.h +++ b/caffe2/operators/recurrent_network_blob_fetcher_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_BLOB_FETCHER_OP_H_ #define CAFFE2_OPERATORS_RECURRENT_BLOB_FETCHER_OP_H_ diff --git a/caffe2/operators/recurrent_network_blob_fetcher_op_gpu.cc b/caffe2/operators/recurrent_network_blob_fetcher_op_gpu.cc index 2fa427711e72..dc3ca5289a32 100644 --- a/caffe2/operators/recurrent_network_blob_fetcher_op_gpu.cc +++ b/caffe2/operators/recurrent_network_blob_fetcher_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/recurrent_network_blob_fetcher_op.h" diff --git a/caffe2/operators/recurrent_network_executor.cc b/caffe2/operators/recurrent_network_executor.cc index 20a7bae37642..5b5b72f50bcd 100644 --- a/caffe2/operators/recurrent_network_executor.cc +++ b/caffe2/operators/recurrent_network_executor.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/recurrent_network_executor.h" #include "caffe2/core/timer.h" diff --git a/caffe2/operators/recurrent_network_executor.h b/caffe2/operators/recurrent_network_executor.h index d83b80e08128..dcd3dc4b7360 100644 --- a/caffe2/operators/recurrent_network_executor.h +++ b/caffe2/operators/recurrent_network_executor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_NETWORK_EXECUTOR_H_ #define CAFFE2_OPERATORS_RECURRENT_NETWORK_EXECUTOR_H_ diff --git a/caffe2/operators/recurrent_network_executor_gpu.cc b/caffe2/operators/recurrent_network_executor_gpu.cc index ffc83b0c7f67..edd5b02f9d84 100644 --- a/caffe2/operators/recurrent_network_executor_gpu.cc +++ b/caffe2/operators/recurrent_network_executor_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/recurrent_network_executor_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/recurrent_network_executor_gpu.h b/caffe2/operators/recurrent_network_executor_gpu.h index 83fe6892315c..ae7ccbd7740e 100644 --- a/caffe2/operators/recurrent_network_executor_gpu.h +++ b/caffe2/operators/recurrent_network_executor_gpu.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_NETWORK_GPU_EXECUTOR_H_ #define CAFFE2_OPERATORS_RECURRENT_NETWORK_GPU_EXECUTOR_H_ diff --git a/caffe2/operators/recurrent_network_executor_incl.h b/caffe2/operators/recurrent_network_executor_incl.h index 6e0113d8d6bf..e8d26ded696d 100644 --- a/caffe2/operators/recurrent_network_executor_incl.h +++ b/caffe2/operators/recurrent_network_executor_incl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_NETWORK_EXECUTOR_INCL_H_ #define CAFFE2_OPERATORS_RECURRENT_NETWORK_EXECUTOR_INCL_H_ diff --git a/caffe2/operators/recurrent_network_op.cc b/caffe2/operators/recurrent_network_op.cc index ee0af864c1b0..31e6a215a3c0 100644 --- a/caffe2/operators/recurrent_network_op.cc +++ b/caffe2/operators/recurrent_network_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/recurrent_network_op.h" #include "caffe2/core/workspace.h" #include "caffe2/utils/proto_utils.h" diff --git a/caffe2/operators/recurrent_network_op.h b/caffe2/operators/recurrent_network_op.h index 23fff211fabb..d2a608c752e1 100644 --- a/caffe2/operators/recurrent_network_op.h +++ b/caffe2/operators/recurrent_network_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_NETWORK_OP_H_ #define CAFFE2_OPERATORS_RECURRENT_NETWORK_OP_H_ diff --git a/caffe2/operators/recurrent_network_op_gpu.cu b/caffe2/operators/recurrent_network_op_gpu.cu index 04d4717725c1..d7c70dd25ca5 100644 --- a/caffe2/operators/recurrent_network_op_gpu.cu +++ b/caffe2/operators/recurrent_network_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/recurrent_network_op.h" diff --git a/caffe2/operators/recurrent_op_cudnn.cc b/caffe2/operators/recurrent_op_cudnn.cc index 0037d3896a5d..1b1675663923 100644 --- a/caffe2/operators/recurrent_op_cudnn.cc +++ b/caffe2/operators/recurrent_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/recurrent_op_cudnn.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/recurrent_op_cudnn.h b/caffe2/operators/recurrent_op_cudnn.h index 288554e67d74..25bcc204a1e6 100644 --- a/caffe2/operators/recurrent_op_cudnn.h +++ b/caffe2/operators/recurrent_op_cudnn.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECURRENT_OP_CUDNN_H_ #define CAFFE2_OPERATORS_RECURRENT_OP_CUDNN_H_ diff --git a/caffe2/operators/reduce_ops.cc b/caffe2/operators/reduce_ops.cc index cb3645d8842b..e23c6a55cf97 100644 --- a/caffe2/operators/reduce_ops.cc +++ b/caffe2/operators/reduce_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/reduce_ops.h" #include "Eigen/Core" diff --git a/caffe2/operators/reduce_ops.h b/caffe2/operators/reduce_ops.h index 98e90d31999d..9e757c5f1d58 100644 --- a/caffe2/operators/reduce_ops.h +++ b/caffe2/operators/reduce_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_REDUCE_OPS_H_ #define CAFFE2_OPERATORS_REDUCE_OPS_H_ diff --git a/caffe2/operators/reducer_functors.h b/caffe2/operators/reducer_functors.h index 9cc21af5f2fd..f7469cbc6dc6 100644 --- a/caffe2/operators/reducer_functors.h +++ b/caffe2/operators/reducer_functors.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RECUDER_FUNCTORS_H_ #define CAFFE2_OPERATORS_RECUDER_FUNCTORS_H_ diff --git a/caffe2/operators/reduction_front_back_ops.cc b/caffe2/operators/reduction_front_back_ops.cc index fb080b966519..ff15c006bdd9 100644 --- a/caffe2/operators/reduction_front_back_ops.cc +++ b/caffe2/operators/reduction_front_back_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/reduction_front_back_ops.h" #include "caffe2/core/operator_gradient.h" diff --git a/caffe2/operators/reduction_front_back_ops.cu b/caffe2/operators/reduction_front_back_ops.cu index 6f3ee6eef8e7..8f5c7ddc2769 100644 --- a/caffe2/operators/reduction_front_back_ops.cu +++ b/caffe2/operators/reduction_front_back_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" #include "caffe2/operators/reduction_front_back_ops.h" diff --git a/caffe2/operators/reduction_front_back_ops.h b/caffe2/operators/reduction_front_back_ops.h index b824eed315d6..08393a0b5a24 100644 --- a/caffe2/operators/reduction_front_back_ops.h +++ b/caffe2/operators/reduction_front_back_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_REDUCTION_FRONT_BACK_OPS_H_ #define CAFFE2_OPERATORS_REDUCTION_FRONT_BACK_OPS_H_ diff --git a/caffe2/operators/reduction_ops.cc b/caffe2/operators/reduction_ops.cc index ed7c4e030e29..bf5954ac66d6 100644 --- a/caffe2/operators/reduction_ops.cc +++ b/caffe2/operators/reduction_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/reduction_ops.h" namespace caffe2 { diff --git a/caffe2/operators/reduction_ops.cu b/caffe2/operators/reduction_ops.cu index 444e11b8457e..d2f12e18d184 100644 --- a/caffe2/operators/reduction_ops.cu +++ b/caffe2/operators/reduction_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/reduction_ops.h" #include "caffe2/utils/conversions.h" diff --git a/caffe2/operators/reduction_ops.h b/caffe2/operators/reduction_ops.h index e698c47eb6b8..b0bceef3346a 100644 --- a/caffe2/operators/reduction_ops.h +++ b/caffe2/operators/reduction_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_REDUCTION_OPS_H_ #define CAFFE2_OPERATORS_REDUCTION_OPS_H_ diff --git a/caffe2/operators/relu_op.cc b/caffe2/operators/relu_op.cc index 54dce8fb7bd9..e68584c1e2c2 100644 --- a/caffe2/operators/relu_op.cc +++ b/caffe2/operators/relu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/relu_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/relu_op.cu b/caffe2/operators/relu_op.cu index 464892274b10..d520ba9c2366 100644 --- a/caffe2/operators/relu_op.cu +++ b/caffe2/operators/relu_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/relu_op.h" diff --git a/caffe2/operators/relu_op.h b/caffe2/operators/relu_op.h index 28222519364e..2b29b9b8516c 100644 --- a/caffe2/operators/relu_op.h +++ b/caffe2/operators/relu_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RELU_OP_H_ #define CAFFE2_OPERATORS_RELU_OP_H_ diff --git a/caffe2/operators/relu_op_cudnn.cc b/caffe2/operators/relu_op_cudnn.cc index a0eb6a0fe394..abe79b54f2c0 100644 --- a/caffe2/operators/relu_op_cudnn.cc +++ b/caffe2/operators/relu_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/relu_op_fp16.cu b/caffe2/operators/relu_op_fp16.cu index 2b1594a77e47..92e3935345a3 100644 --- a/caffe2/operators/relu_op_fp16.cu +++ b/caffe2/operators/relu_op_fp16.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #ifdef CAFFE_HAS_CUDA_FP16 diff --git a/caffe2/operators/remove_data_blocks_op.cc b/caffe2/operators/remove_data_blocks_op.cc index 070b39b01859..7074da0fcd9a 100644 --- a/caffe2/operators/remove_data_blocks_op.cc +++ b/caffe2/operators/remove_data_blocks_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/remove_data_blocks_op.h" namespace caffe2 { diff --git a/caffe2/operators/remove_data_blocks_op.h b/caffe2/operators/remove_data_blocks_op.h index 59b7ae42a6a5..9530242df9de 100644 --- a/caffe2/operators/remove_data_blocks_op.h +++ b/caffe2/operators/remove_data_blocks_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_REMOVE_DATA_BLOCKS_OP_H_ #define CAFFE2_OPERATORS_REMOVE_DATA_BLOCKS_OP_H_ diff --git a/caffe2/operators/replace_nan_op.cc b/caffe2/operators/replace_nan_op.cc index 3d90996c72b0..a0c7b271567f 100644 --- a/caffe2/operators/replace_nan_op.cc +++ b/caffe2/operators/replace_nan_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/replace_nan_op.h" namespace caffe2 { diff --git a/caffe2/operators/replace_nan_op.h b/caffe2/operators/replace_nan_op.h index 90ca11f5701d..d9745a466e14 100644 --- a/caffe2/operators/replace_nan_op.h +++ b/caffe2/operators/replace_nan_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE_OPERATORS_REPLACE_NAN_OP_H_ #define CAFFE_OPERATORS_REPLACE_NAN_OP_H_ diff --git a/caffe2/operators/reservoir_sampling.cc b/caffe2/operators/reservoir_sampling.cc index 33d856f829d9..9ecec403c9ec 100644 --- a/caffe2/operators/reservoir_sampling.cc +++ b/caffe2/operators/reservoir_sampling.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/reshape_op.cc b/caffe2/operators/reshape_op.cc index 4eeefc1bc4fb..79e16f3faef1 100644 --- a/caffe2/operators/reshape_op.cc +++ b/caffe2/operators/reshape_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/reshape_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/reshape_op.h b/caffe2/operators/reshape_op.h index f5088a6b43e4..891e16ed1b67 100644 --- a/caffe2/operators/reshape_op.h +++ b/caffe2/operators/reshape_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RESHAPE_OP_H_ #define CAFFE2_OPERATORS_RESHAPE_OP_H_ diff --git a/caffe2/operators/reshape_op_gpu.cc b/caffe2/operators/reshape_op_gpu.cc index 282c91d0ecd3..13283e274c15 100644 --- a/caffe2/operators/reshape_op_gpu.cc +++ b/caffe2/operators/reshape_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/reshape_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/reshape_op_gpu_test.cc b/caffe2/operators/reshape_op_gpu_test.cc index 2867ffe1ed85..300cf87f59d1 100644 --- a/caffe2/operators/reshape_op_gpu_test.cc +++ b/caffe2/operators/reshape_op_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/resize_op.cc b/caffe2/operators/resize_op.cc index e58aeae5bdec..7a742dd28fc3 100644 --- a/caffe2/operators/resize_op.cc +++ b/caffe2/operators/resize_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/resize_op.h" #include "caffe2/utils/cpu_neon.h" diff --git a/caffe2/operators/resize_op.cu b/caffe2/operators/resize_op.cu index 1395a65d9839..5098d1d590cc 100644 --- a/caffe2/operators/resize_op.cu +++ b/caffe2/operators/resize_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/utils/math.h" #include "resize_op.h" diff --git a/caffe2/operators/resize_op.h b/caffe2/operators/resize_op.h index b64956d883eb..a0ae814dc35b 100644 --- a/caffe2/operators/resize_op.h +++ b/caffe2/operators/resize_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/operators/reverse_packed_segs_op.cc b/caffe2/operators/reverse_packed_segs_op.cc index 69a24460ac66..0191c61f8a6d 100644 --- a/caffe2/operators/reverse_packed_segs_op.cc +++ b/caffe2/operators/reverse_packed_segs_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/reverse_packed_segs_op.h" namespace caffe2 { diff --git a/caffe2/operators/reverse_packed_segs_op.cu b/caffe2/operators/reverse_packed_segs_op.cu index ce6c8e4c7d7a..fdcffc66c240 100644 --- a/caffe2/operators/reverse_packed_segs_op.cu +++ b/caffe2/operators/reverse_packed_segs_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "reverse_packed_segs_op.h" diff --git a/caffe2/operators/reverse_packed_segs_op.h b/caffe2/operators/reverse_packed_segs_op.h index 66fff761d04c..f2f1122ceabe 100644 --- a/caffe2/operators/reverse_packed_segs_op.h +++ b/caffe2/operators/reverse_packed_segs_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_REVERSE_PACKED_SEGS_OP_H_ #define CAFFE2_OPERATORS_REVERSE_PACKED_SEGS_OP_H_ diff --git a/caffe2/operators/rmac_regions_op.cc b/caffe2/operators/rmac_regions_op.cc index d0ad1185686d..ba6ab1097350 100644 --- a/caffe2/operators/rmac_regions_op.cc +++ b/caffe2/operators/rmac_regions_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/rmac_regions_op.h" #include diff --git a/caffe2/operators/rmac_regions_op.cu b/caffe2/operators/rmac_regions_op.cu index f1162353af1b..49faf7a8403c 100644 --- a/caffe2/operators/rmac_regions_op.cu +++ b/caffe2/operators/rmac_regions_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/rmac_regions_op.h b/caffe2/operators/rmac_regions_op.h index 9fdf8e99b33b..ec5e86f84141 100644 --- a/caffe2/operators/rmac_regions_op.h +++ b/caffe2/operators/rmac_regions_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_RMAC_REGIONS_OP_H #define CAFFE2_OPERATORS_RMAC_REGIONS_OP_H diff --git a/caffe2/operators/roi_pool_op.cc b/caffe2/operators/roi_pool_op.cc index 39f1ce9726cf..d369aecd638e 100644 --- a/caffe2/operators/roi_pool_op.cc +++ b/caffe2/operators/roi_pool_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "roi_pool_op.h" #include diff --git a/caffe2/operators/roi_pool_op.cu b/caffe2/operators/roi_pool_op.cu index 27a66432ce25..c5911090707c 100644 --- a/caffe2/operators/roi_pool_op.cu +++ b/caffe2/operators/roi_pool_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/roi_pool_op.h b/caffe2/operators/roi_pool_op.h index a3a7ffe7a693..7be379dd9dbc 100644 --- a/caffe2/operators/roi_pool_op.h +++ b/caffe2/operators/roi_pool_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef ROI_POOL_OP_H_ #define ROI_POOL_OP_H_ diff --git a/caffe2/operators/rowmul_op.cc b/caffe2/operators/rowmul_op.cc index 8b8581a39c70..9e09cdd8595f 100644 --- a/caffe2/operators/rowmul_op.cc +++ b/caffe2/operators/rowmul_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/rowmul_op.h" namespace caffe2 { diff --git a/caffe2/operators/rowmul_op.h b/caffe2/operators/rowmul_op.h index a313bab00b08..cf820447caba 100644 --- a/caffe2/operators/rowmul_op.h +++ b/caffe2/operators/rowmul_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_ROW_MUL_H_ #define CAFFE2_OPERATORS_ROW_MUL_H_ diff --git a/caffe2/operators/scale_op.cc b/caffe2/operators/scale_op.cc index 68916706f459..f246db449523 100644 --- a/caffe2/operators/scale_op.cc +++ b/caffe2/operators/scale_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/scale_op.h" namespace caffe2 { diff --git a/caffe2/operators/scale_op.h b/caffe2/operators/scale_op.h index 771e79c6b421..b8632eae9df4 100644 --- a/caffe2/operators/scale_op.h +++ b/caffe2/operators/scale_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SCALE_OP_H_ #define CAFFE2_OPERATORS_SCALE_OP_H_ diff --git a/caffe2/operators/scale_op_gpu.cc b/caffe2/operators/scale_op_gpu.cc index 98066c730ae8..471f03daf60d 100644 --- a/caffe2/operators/scale_op_gpu.cc +++ b/caffe2/operators/scale_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/scale_op.h" diff --git a/caffe2/operators/segment_reduction_op.cc b/caffe2/operators/segment_reduction_op.cc index 455217b091c1..653593a68860 100644 --- a/caffe2/operators/segment_reduction_op.cc +++ b/caffe2/operators/segment_reduction_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/segment_reduction_op.h" namespace caffe2 { diff --git a/caffe2/operators/segment_reduction_op.h b/caffe2/operators/segment_reduction_op.h index c40be7f4666d..6dfedbfd1b46 100644 --- a/caffe2/operators/segment_reduction_op.h +++ b/caffe2/operators/segment_reduction_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SEGMENT_REDUCTION_OP_H_ #define CAFFE2_OPERATORS_SEGMENT_REDUCTION_OP_H_ diff --git a/caffe2/operators/segment_reduction_op_gpu.cu b/caffe2/operators/segment_reduction_op_gpu.cu index 7d0e24d96783..b35645ae2a31 100644 --- a/caffe2/operators/segment_reduction_op_gpu.cu +++ b/caffe2/operators/segment_reduction_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/sequence_ops.cc b/caffe2/operators/sequence_ops.cc index d4c783cc9ce6..50a0abbb21c8 100644 --- a/caffe2/operators/sequence_ops.cc +++ b/caffe2/operators/sequence_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/sequence_ops.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/sequence_ops.cu b/caffe2/operators/sequence_ops.cu index a8192d36a0da..549c288c0368 100644 --- a/caffe2/operators/sequence_ops.cu +++ b/caffe2/operators/sequence_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/sequence_ops.h b/caffe2/operators/sequence_ops.h index 220af2a830c4..c29ff7bfda64 100644 --- a/caffe2/operators/sequence_ops.h +++ b/caffe2/operators/sequence_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SEQUENCE_OPS_H_ #define CAFFE2_OPERATORS_SEQUENCE_OPS_H_ diff --git a/caffe2/operators/shape_op.cc b/caffe2/operators/shape_op.cc index 81b5932fe273..51bc331b8024 100644 --- a/caffe2/operators/shape_op.cc +++ b/caffe2/operators/shape_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/shape_op.h" namespace caffe2 { diff --git a/caffe2/operators/shape_op.h b/caffe2/operators/shape_op.h index 00aac55a8fbf..c73ca2399744 100644 --- a/caffe2/operators/shape_op.h +++ b/caffe2/operators/shape_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/operators/shape_op_gpu.cc b/caffe2/operators/shape_op_gpu.cc index 3ff809c6a2d6..5880dca55eae 100644 --- a/caffe2/operators/shape_op_gpu.cc +++ b/caffe2/operators/shape_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/shape_op.h" diff --git a/caffe2/operators/sigmoid_op.cc b/caffe2/operators/sigmoid_op.cc index 15c2a3624bb9..d908f7eeb705 100644 --- a/caffe2/operators/sigmoid_op.cc +++ b/caffe2/operators/sigmoid_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/sigmoid_op.cu b/caffe2/operators/sigmoid_op.cu index 9b5b3dce70de..cacf6eb05ca7 100644 --- a/caffe2/operators/sigmoid_op.cu +++ b/caffe2/operators/sigmoid_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/sin_op.cc b/caffe2/operators/sin_op.cc index 1b693f426877..8aa9cf77ca68 100644 --- a/caffe2/operators/sin_op.cc +++ b/caffe2/operators/sin_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/sin_op.cu b/caffe2/operators/sin_op.cu index 72b50a727a34..59849dcd2930 100644 --- a/caffe2/operators/sin_op.cu +++ b/caffe2/operators/sin_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/sinusoid_position_encoding_op.cc b/caffe2/operators/sinusoid_position_encoding_op.cc index 0b50b50533e4..c551c3896aee 100644 --- a/caffe2/operators/sinusoid_position_encoding_op.cc +++ b/caffe2/operators/sinusoid_position_encoding_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/sinusoid_position_encoding_op.h" namespace caffe2 { diff --git a/caffe2/operators/sinusoid_position_encoding_op.h b/caffe2/operators/sinusoid_position_encoding_op.h index b3bef284743b..69c8ea8244b3 100644 --- a/caffe2/operators/sinusoid_position_encoding_op.h +++ b/caffe2/operators/sinusoid_position_encoding_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SINUSOID_POSITION_ENCODING_OP_H_ #define CAFFE2_OPERATORS_SINUSOID_POSITION_ENCODING_OP_H_ diff --git a/caffe2/operators/slice_op.cc b/caffe2/operators/slice_op.cc index bde114d53f15..7f1386613a15 100644 --- a/caffe2/operators/slice_op.cc +++ b/caffe2/operators/slice_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/slice_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/slice_op.cu b/caffe2/operators/slice_op.cu index ed5c37aac82c..a9ac0db0d08f 100644 --- a/caffe2/operators/slice_op.cu +++ b/caffe2/operators/slice_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/slice_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/slice_op.h b/caffe2/operators/slice_op.h index ba953b25ba0f..79f449a15611 100644 --- a/caffe2/operators/slice_op.h +++ b/caffe2/operators/slice_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/operators/softmax_op.cc b/caffe2/operators/softmax_op.cc index b803fec13088..0db1d608980c 100644 --- a/caffe2/operators/softmax_op.cc +++ b/caffe2/operators/softmax_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/softmax_op.h" #include "caffe2/operators/softmax_shared.h" diff --git a/caffe2/operators/softmax_op.h b/caffe2/operators/softmax_op.h index 817b725896f8..9073a0e6a98f 100644 --- a/caffe2/operators/softmax_op.h +++ b/caffe2/operators/softmax_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SOFTMAX_OP_H_ #define CAFFE2_OPERATORS_SOFTMAX_OP_H_ diff --git a/caffe2/operators/softmax_op_cudnn.cc b/caffe2/operators/softmax_op_cudnn.cc index 0d5c77df2565..f5177f52b510 100644 --- a/caffe2/operators/softmax_op_cudnn.cc +++ b/caffe2/operators/softmax_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/core/types.h" diff --git a/caffe2/operators/softmax_ops.cu b/caffe2/operators/softmax_ops.cu index dad189639168..8b74f16d87c7 100644 --- a/caffe2/operators/softmax_ops.cu +++ b/caffe2/operators/softmax_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/softmax_shared.cc b/caffe2/operators/softmax_shared.cc index f287a122ad1c..14e823c1f9c1 100644 --- a/caffe2/operators/softmax_shared.cc +++ b/caffe2/operators/softmax_shared.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/softmax_shared.h b/caffe2/operators/softmax_shared.h index 2d1dc51a831c..60c2bd0ab50b 100644 --- a/caffe2/operators/softmax_shared.h +++ b/caffe2/operators/softmax_shared.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SOFTMAX_SHARED_H_ #define CAFFE2_OPERATORS_SOFTMAX_SHARED_H_ diff --git a/caffe2/operators/softmax_with_loss_op.cc b/caffe2/operators/softmax_with_loss_op.cc index 9d23a3e387f7..9fcffdaf207f 100644 --- a/caffe2/operators/softmax_with_loss_op.cc +++ b/caffe2/operators/softmax_with_loss_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "softmax_with_loss_op.h" #include "softmax_shared.h" diff --git a/caffe2/operators/softmax_with_loss_op.h b/caffe2/operators/softmax_with_loss_op.h index fc12c3b6eecf..27e6db2d76fc 100644 --- a/caffe2/operators/softmax_with_loss_op.h +++ b/caffe2/operators/softmax_with_loss_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef SOFTMAX_WITH_LOSS_OP_H_ #define SOFTMAX_WITH_LOSS_OP_H_ diff --git a/caffe2/operators/softplus_op.cc b/caffe2/operators/softplus_op.cc index 71eff2ec0663..dbbd30a1a68e 100644 --- a/caffe2/operators/softplus_op.cc +++ b/caffe2/operators/softplus_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/softplus_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/softplus_op.cu b/caffe2/operators/softplus_op.cu index 7d9bc170a588..e733c47a6be3 100644 --- a/caffe2/operators/softplus_op.cu +++ b/caffe2/operators/softplus_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/softplus_op.h" diff --git a/caffe2/operators/softplus_op.h b/caffe2/operators/softplus_op.h index a61426742d89..38559ef6a65b 100644 --- a/caffe2/operators/softplus_op.h +++ b/caffe2/operators/softplus_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SOFTPLUS_OP_H_ #define CAFFE2_OPERATORS_SOFTPLUS_OP_H_ diff --git a/caffe2/operators/softsign_op.cc b/caffe2/operators/softsign_op.cc index b9835e04129f..a701e54534f6 100644 --- a/caffe2/operators/softsign_op.cc +++ b/caffe2/operators/softsign_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/elementwise_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/softsign_op.cu b/caffe2/operators/softsign_op.cu index 6252230ae49b..8fec50c62a67 100644 --- a/caffe2/operators/softsign_op.cu +++ b/caffe2/operators/softsign_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/space_batch_op.cc b/caffe2/operators/space_batch_op.cc index 20518123aabe..56d2aebd2433 100644 --- a/caffe2/operators/space_batch_op.cc +++ b/caffe2/operators/space_batch_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/space_batch_op.h" namespace caffe2 { diff --git a/caffe2/operators/space_batch_op.h b/caffe2/operators/space_batch_op.h index afad2dc02d16..4f42dc0e9483 100644 --- a/caffe2/operators/space_batch_op.h +++ b/caffe2/operators/space_batch_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPACE_BATCH_OP_H_ #define CAFFE2_OPERATORS_SPACE_BATCH_OP_H_ diff --git a/caffe2/operators/space_batch_op_gpu.cu b/caffe2/operators/space_batch_op_gpu.cu index b76922c47e15..862440907fcf 100644 --- a/caffe2/operators/space_batch_op_gpu.cu +++ b/caffe2/operators/space_batch_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/space_batch_op.h" #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/sparse_normalize_op.cc b/caffe2/operators/sparse_normalize_op.cc index fd799f26c361..70edc1f034d7 100644 --- a/caffe2/operators/sparse_normalize_op.cc +++ b/caffe2/operators/sparse_normalize_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/sparse_normalize_op.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/sparse_normalize_op.h b/caffe2/operators/sparse_normalize_op.h index 650309b25898..f26f77677751 100644 --- a/caffe2/operators/sparse_normalize_op.h +++ b/caffe2/operators/sparse_normalize_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/operators/sparse_to_dense_mask_op.cc b/caffe2/operators/sparse_to_dense_mask_op.cc index 648c9a0dbe5a..4ab2297ffab9 100644 --- a/caffe2/operators/sparse_to_dense_mask_op.cc +++ b/caffe2/operators/sparse_to_dense_mask_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/sparse_to_dense_mask_op.h" namespace caffe2 { diff --git a/caffe2/operators/sparse_to_dense_mask_op.h b/caffe2/operators/sparse_to_dense_mask_op.h index be6ae336851b..517c9ac16396 100644 --- a/caffe2/operators/sparse_to_dense_mask_op.h +++ b/caffe2/operators/sparse_to_dense_mask_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPARSE_TO_DENSE_MASK_OP_H_ #define CAFFE2_OPERATORS_SPARSE_TO_DENSE_MASK_OP_H_ diff --git a/caffe2/operators/sparse_to_dense_op.cc b/caffe2/operators/sparse_to_dense_op.cc index ead60c88a4ca..4f6a49796df8 100644 --- a/caffe2/operators/sparse_to_dense_op.cc +++ b/caffe2/operators/sparse_to_dense_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "sparse_to_dense_op.h" #include "caffe2/core/context.h" diff --git a/caffe2/operators/sparse_to_dense_op.cu b/caffe2/operators/sparse_to_dense_op.cu index c32e579109cc..1086c0a6c521 100644 --- a/caffe2/operators/sparse_to_dense_op.cu +++ b/caffe2/operators/sparse_to_dense_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "sparse_to_dense_op.h" #include "caffe2/core/common_gpu.h" diff --git a/caffe2/operators/sparse_to_dense_op.h b/caffe2/operators/sparse_to_dense_op.h index c87e5836d1b7..7fbfa38518c9 100644 --- a/caffe2/operators/sparse_to_dense_op.h +++ b/caffe2/operators/sparse_to_dense_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPARSE_TO_DENSE_OP_H_ #define CAFFE2_OPERATORS_SPARSE_TO_DENSE_OP_H_ diff --git a/caffe2/operators/spatial_batch_norm_gradient_op.cc b/caffe2/operators/spatial_batch_norm_gradient_op.cc index a83444894152..ea0214d6739f 100644 --- a/caffe2/operators/spatial_batch_norm_gradient_op.cc +++ b/caffe2/operators/spatial_batch_norm_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/spatial_batch_norm_op.h" namespace caffe2 { diff --git a/caffe2/operators/spatial_batch_norm_op.cc b/caffe2/operators/spatial_batch_norm_op.cc index 94a4e8f7f274..eb8196dd6515 100644 --- a/caffe2/operators/spatial_batch_norm_op.cc +++ b/caffe2/operators/spatial_batch_norm_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/spatial_batch_norm_op.h" namespace caffe2 { diff --git a/caffe2/operators/spatial_batch_norm_op.h b/caffe2/operators/spatial_batch_norm_op.h index 65786803d878..31c678a17182 100644 --- a/caffe2/operators/spatial_batch_norm_op.h +++ b/caffe2/operators/spatial_batch_norm_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SPATIAL_BATCH_NORM_OP_H_ #define CAFFE2_OPERATORS_SPATIAL_BATCH_NORM_OP_H_ diff --git a/caffe2/operators/spatial_batch_norm_op_cudnn.cc b/caffe2/operators/spatial_batch_norm_op_cudnn.cc index af43109891e3..37a99b0754ab 100644 --- a/caffe2/operators/spatial_batch_norm_op_cudnn.cc +++ b/caffe2/operators/spatial_batch_norm_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/spatial_softmax_with_loss_op.cc b/caffe2/operators/spatial_softmax_with_loss_op.cc index 422c6c05562a..1288bc7d9055 100644 --- a/caffe2/operators/spatial_softmax_with_loss_op.cc +++ b/caffe2/operators/spatial_softmax_with_loss_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "spatial_softmax_with_loss_op.h" #include "softmax_shared.h" diff --git a/caffe2/operators/spatial_softmax_with_loss_op.h b/caffe2/operators/spatial_softmax_with_loss_op.h index ed2f9071cb9e..d466063d45c1 100644 --- a/caffe2/operators/spatial_softmax_with_loss_op.h +++ b/caffe2/operators/spatial_softmax_with_loss_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef SPATIAL_SOFTMAX_WITH_LOSS_OP_H_ #define SPATIAL_SOFTMAX_WITH_LOSS_OP_H_ diff --git a/caffe2/operators/sqrt_op.cc b/caffe2/operators/sqrt_op.cc index f814d36a55f7..e3a7880720e8 100644 --- a/caffe2/operators/sqrt_op.cc +++ b/caffe2/operators/sqrt_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/operators/elementwise_op.h" diff --git a/caffe2/operators/sqrt_op.cu b/caffe2/operators/sqrt_op.cu index 71d28e50a8d5..af45e7c00b1e 100644 --- a/caffe2/operators/sqrt_op.cu +++ b/caffe2/operators/sqrt_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/elementwise_op.h" #include "caffe2/operators/math_ops.h" diff --git a/caffe2/operators/square_root_divide_op.cc b/caffe2/operators/square_root_divide_op.cc index 7e59c4657842..9d26d2a643fa 100644 --- a/caffe2/operators/square_root_divide_op.cc +++ b/caffe2/operators/square_root_divide_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/square_root_divide_op.h" namespace caffe2 { diff --git a/caffe2/operators/square_root_divide_op.h b/caffe2/operators/square_root_divide_op.h index e4f3b7dad1ee..dce63a8a7768 100644 --- a/caffe2/operators/square_root_divide_op.h +++ b/caffe2/operators/square_root_divide_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SQUARE_ROOT_DIVIDE_OP_H_ #define CAFFE2_OPERATORS_SQUARE_ROOT_DIVIDE_OP_H_ diff --git a/caffe2/operators/stats_ops.cc b/caffe2/operators/stats_ops.cc index 9b54afaa6824..93bf2376a1a5 100644 --- a/caffe2/operators/stats_ops.cc +++ b/caffe2/operators/stats_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include "caffe2/core/operator.h" diff --git a/caffe2/operators/stop_gradient.cc b/caffe2/operators/stop_gradient.cc index ff9389fcee83..ef8908803204 100644 --- a/caffe2/operators/stop_gradient.cc +++ b/caffe2/operators/stop_gradient.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/stop_gradient.h" namespace caffe2 { diff --git a/caffe2/operators/stop_gradient.h b/caffe2/operators/stop_gradient.h index 8ffae32db7f4..e05cd1100e93 100644 --- a/caffe2/operators/stop_gradient.h +++ b/caffe2/operators/stop_gradient.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_STOP_GRADIENT_H_ #define CAFFE2_OPERATORS_STOP_GRADIENT_H_ diff --git a/caffe2/operators/stop_gradient_gpu.cc b/caffe2/operators/stop_gradient_gpu.cc index 6dbcada1a90a..efbcfbd776b2 100644 --- a/caffe2/operators/stop_gradient_gpu.cc +++ b/caffe2/operators/stop_gradient_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/stop_gradient.h" diff --git a/caffe2/operators/string_ops.cc b/caffe2/operators/string_ops.cc index 19695794e492..819bb6a6c5b0 100644 --- a/caffe2/operators/string_ops.cc +++ b/caffe2/operators/string_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/string_ops.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/string_ops.h b/caffe2/operators/string_ops.h index fa073eb95ecc..17011fe73763 100644 --- a/caffe2/operators/string_ops.h +++ b/caffe2/operators/string_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_STRING_OPS_H_ #define CAFFE2_OPERATORS_STRING_OPS_H_ diff --git a/caffe2/operators/string_ops_test.cc b/caffe2/operators/string_ops_test.cc index 90fbbc96eb8e..3d6fb4720ddb 100644 --- a/caffe2/operators/string_ops_test.cc +++ b/caffe2/operators/string_ops_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/operators/stylizer_ops.cc b/caffe2/operators/stylizer_ops.cc index 929f42cdf912..bb09f949b797 100644 --- a/caffe2/operators/stylizer_ops.cc +++ b/caffe2/operators/stylizer_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/operator.h" #include "caffe2/utils/cpu_neon.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/summarize_op.cc b/caffe2/operators/summarize_op.cc index 454319367f5b..6ae7ed0bfc43 100644 --- a/caffe2/operators/summarize_op.cc +++ b/caffe2/operators/summarize_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/summarize_op.h" namespace caffe2 { diff --git a/caffe2/operators/summarize_op.cu b/caffe2/operators/summarize_op.cu index 0b34d0d0a2db..89dd4c01003d 100644 --- a/caffe2/operators/summarize_op.cu +++ b/caffe2/operators/summarize_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/operators/summarize_op.h b/caffe2/operators/summarize_op.h index dbe9e067168b..dddac5cf8d6e 100644 --- a/caffe2/operators/summarize_op.h +++ b/caffe2/operators/summarize_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_SUMMARIZE_OP_H_ #define CAFFE2_OPERATORS_SUMMARIZE_OP_H_ diff --git a/caffe2/operators/swish_op.cc b/caffe2/operators/swish_op.cc index aab73731bc5f..185553e481fb 100644 --- a/caffe2/operators/swish_op.cc +++ b/caffe2/operators/swish_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "swish_op.h" #include "caffe2/core/types.h" #include "caffe2/operators/elementwise_op.h" diff --git a/caffe2/operators/swish_op.cu b/caffe2/operators/swish_op.cu index 8a0519d110d8..399f1b61a8ab 100644 --- a/caffe2/operators/swish_op.cu +++ b/caffe2/operators/swish_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/swish_op.h b/caffe2/operators/swish_op.h index cea85428c77a..01e9683f97a2 100644 --- a/caffe2/operators/swish_op.h +++ b/caffe2/operators/swish_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/operators/tanh_op.cc b/caffe2/operators/tanh_op.cc index dd8a086989f5..6b244fe8bbfd 100644 --- a/caffe2/operators/tanh_op.cc +++ b/caffe2/operators/tanh_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/operators/elementwise_op.h" diff --git a/caffe2/operators/tanh_op.cu b/caffe2/operators/tanh_op.cu index 94bafc912b2f..0feeb6c4b152 100644 --- a/caffe2/operators/tanh_op.cu +++ b/caffe2/operators/tanh_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/tensor_protos_db_input.cc b/caffe2/operators/tensor_protos_db_input.cc index acb4c8db6da1..c102fad53550 100644 --- a/caffe2/operators/tensor_protos_db_input.cc +++ b/caffe2/operators/tensor_protos_db_input.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/tensor_protos_db_input.h" namespace caffe2 { diff --git a/caffe2/operators/tensor_protos_db_input.h b/caffe2/operators/tensor_protos_db_input.h index 335344d79d40..e9e55b8fa787 100644 --- a/caffe2/operators/tensor_protos_db_input.h +++ b/caffe2/operators/tensor_protos_db_input.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TENSOR_PROTOS_DB_INPUT_H_ #define CAFFE2_OPERATORS_TENSOR_PROTOS_DB_INPUT_H_ diff --git a/caffe2/operators/tensor_protos_db_input_gpu.cc b/caffe2/operators/tensor_protos_db_input_gpu.cc index b8e06a60b4a1..d932b50e0b9a 100644 --- a/caffe2/operators/tensor_protos_db_input_gpu.cc +++ b/caffe2/operators/tensor_protos_db_input_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/tensor_protos_db_input.h" diff --git a/caffe2/operators/text_file_reader.cc b/caffe2/operators/text_file_reader.cc index d94cbd5b3680..7fb696f09803 100644 --- a/caffe2/operators/text_file_reader.cc +++ b/caffe2/operators/text_file_reader.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/operators/text_file_reader_utils.cc b/caffe2/operators/text_file_reader_utils.cc index ede7c62b3f78..615575cfdb87 100644 --- a/caffe2/operators/text_file_reader_utils.cc +++ b/caffe2/operators/text_file_reader_utils.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/text_file_reader_utils.h" #include diff --git a/caffe2/operators/text_file_reader_utils.h b/caffe2/operators/text_file_reader_utils.h index 3573c3f33946..eaa94f43c4ea 100644 --- a/caffe2/operators/text_file_reader_utils.h +++ b/caffe2/operators/text_file_reader_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TEXT_FILE_READER_UTILS_H #define CAFFE2_OPERATORS_TEXT_FILE_READER_UTILS_H diff --git a/caffe2/operators/text_file_reader_utils_test.cc b/caffe2/operators/text_file_reader_utils_test.cc index 081d1fb29346..c0114e65d228 100644 --- a/caffe2/operators/text_file_reader_utils_test.cc +++ b/caffe2/operators/text_file_reader_utils_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/blob.h" #include "caffe2/core/context.h" diff --git a/caffe2/operators/thresholded_relu_op.cc b/caffe2/operators/thresholded_relu_op.cc index a26f38ac87b6..d79d20cd5d15 100644 --- a/caffe2/operators/thresholded_relu_op.cc +++ b/caffe2/operators/thresholded_relu_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/thresholded_relu_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/operators/thresholded_relu_op.cu b/caffe2/operators/thresholded_relu_op.cu index 52fd0510b5b3..a12ee62d42b2 100644 --- a/caffe2/operators/thresholded_relu_op.cu +++ b/caffe2/operators/thresholded_relu_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/thresholded_relu_op.h" diff --git a/caffe2/operators/thresholded_relu_op.h b/caffe2/operators/thresholded_relu_op.h index 7b7abe3fe1f8..01940297c85a 100644 --- a/caffe2/operators/thresholded_relu_op.h +++ b/caffe2/operators/thresholded_relu_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_THRESHOLDED_RELU_OP_H_ #define CAFFE2_OPERATORS_THRESHOLDED_RELU_OP_H_ diff --git a/caffe2/operators/tile_op.cc b/caffe2/operators/tile_op.cc index 1058aa731db2..23d5332d7d00 100644 --- a/caffe2/operators/tile_op.cc +++ b/caffe2/operators/tile_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/tile_op.h" namespace caffe2 { diff --git a/caffe2/operators/tile_op.cu b/caffe2/operators/tile_op.cu index 116b0c91d64a..cfd4e52c972a 100644 --- a/caffe2/operators/tile_op.cu +++ b/caffe2/operators/tile_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/tile_op.h b/caffe2/operators/tile_op.h index e3c12902a490..046aaa55f7a9 100644 --- a/caffe2/operators/tile_op.h +++ b/caffe2/operators/tile_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TILE_OP_H_ #define CAFFE2_OPERATORS_TILE_OP_H_ diff --git a/caffe2/operators/top_k.cc b/caffe2/operators/top_k.cc index b7a5860f003a..5524412d60ac 100644 --- a/caffe2/operators/top_k.cc +++ b/caffe2/operators/top_k.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/top_k.h" #include diff --git a/caffe2/operators/top_k.cu b/caffe2/operators/top_k.cu index d493d4821c8d..871290c373a8 100644 --- a/caffe2/operators/top_k.cu +++ b/caffe2/operators/top_k.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/top_k.h" #include diff --git a/caffe2/operators/top_k.h b/caffe2/operators/top_k.h index eee0f7f4ea31..a59ac70e99e1 100644 --- a/caffe2/operators/top_k.h +++ b/caffe2/operators/top_k.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TOP_K_H_ #define CAFFE2_OPERATORS_TOP_K_H_ diff --git a/caffe2/operators/transpose_op.cc b/caffe2/operators/transpose_op.cc index e56c82052731..07875f6c8817 100644 --- a/caffe2/operators/transpose_op.cc +++ b/caffe2/operators/transpose_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/transpose_op.h" #ifdef CAFFE2_USE_MKL diff --git a/caffe2/operators/transpose_op.cu b/caffe2/operators/transpose_op.cu index 6e19deb5e959..d5e9507dfdc5 100644 --- a/caffe2/operators/transpose_op.cu +++ b/caffe2/operators/transpose_op.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/transpose_op.h" diff --git a/caffe2/operators/transpose_op.h b/caffe2/operators/transpose_op.h index fa112d25d660..cb293f15e814 100644 --- a/caffe2/operators/transpose_op.h +++ b/caffe2/operators/transpose_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TRANSPOSE_H_ #define CAFFE2_OPERATORS_TRANSPOSE_H_ #define MAX_BLOB_NUM 1024 diff --git a/caffe2/operators/transpose_op_cudnn.cc b/caffe2/operators/transpose_op_cudnn.cc index 9480ee9310d8..f26ea09dca0a 100644 --- a/caffe2/operators/transpose_op_cudnn.cc +++ b/caffe2/operators/transpose_op_cudnn.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/core/cudnn_wrappers.h" #include "caffe2/core/types.h" diff --git a/caffe2/operators/tt_linear_op.cc b/caffe2/operators/tt_linear_op.cc index 3e43939c7c95..c49762ee212b 100644 --- a/caffe2/operators/tt_linear_op.cc +++ b/caffe2/operators/tt_linear_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/tt_linear_op.h" namespace caffe2 { diff --git a/caffe2/operators/tt_linear_op.h b/caffe2/operators/tt_linear_op.h index 8c6a6a8f3d04..05653c900391 100644 --- a/caffe2/operators/tt_linear_op.h +++ b/caffe2/operators/tt_linear_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_TT_LINEAR_OP_H_ #define CAFFE2_OPERATORS_TT_LINEAR_OP_H_ diff --git a/caffe2/operators/utility_ops.cc b/caffe2/operators/utility_ops.cc index 640b8753ad20..3e102c7d3105 100644 --- a/caffe2/operators/utility_ops.cc +++ b/caffe2/operators/utility_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/utility_ops.h" #include diff --git a/caffe2/operators/utility_ops.cu b/caffe2/operators/utility_ops.cu index 1644b7f8a9a6..9b6c03069287 100644 --- a/caffe2/operators/utility_ops.cu +++ b/caffe2/operators/utility_ops.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include // TODO(jamesreed): I would use here but std::isnan diff --git a/caffe2/operators/utility_ops.h b/caffe2/operators/utility_ops.h index dac18559d487..3ab29c2311d5 100644 --- a/caffe2/operators/utility_ops.h +++ b/caffe2/operators/utility_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_UTILITY_OPS_H_ #define CAFFE2_OPERATORS_UTILITY_OPS_H_ diff --git a/caffe2/operators/utility_ops_gpu.cc b/caffe2/operators/utility_ops_gpu.cc index 36d4460ea3f7..67f627420a4b 100644 --- a/caffe2/operators/utility_ops_gpu.cc +++ b/caffe2/operators/utility_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/flatten_op.h" #include "caffe2/operators/utility_ops.h" diff --git a/caffe2/operators/utility_ops_gpu_test.cc b/caffe2/operators/utility_ops_gpu_test.cc index 19aab40d2eb3..0224bcebd2bd 100644 --- a/caffe2/operators/utility_ops_gpu_test.cc +++ b/caffe2/operators/utility_ops_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/context.h" diff --git a/caffe2/operators/utility_ops_test.cc b/caffe2/operators/utility_ops_test.cc index f578312cd39b..1bf8d0b7f1c2 100644 --- a/caffe2/operators/utility_ops_test.cc +++ b/caffe2/operators/utility_ops_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/flags.h" diff --git a/caffe2/operators/variable_length_sequence_padding.cc b/caffe2/operators/variable_length_sequence_padding.cc index 16484c24abca..dbdb4ac87678 100644 --- a/caffe2/operators/variable_length_sequence_padding.cc +++ b/caffe2/operators/variable_length_sequence_padding.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "variable_length_sequence_padding.h" namespace caffe2 { diff --git a/caffe2/operators/variable_length_sequence_padding.h b/caffe2/operators/variable_length_sequence_padding.h index 8f606ec0436c..53196489b055 100644 --- a/caffe2/operators/variable_length_sequence_padding.h +++ b/caffe2/operators/variable_length_sequence_padding.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2018-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/operators/while_op.cc b/caffe2/operators/while_op.cc index 4c739bb2c18f..82ed811dcb08 100644 --- a/caffe2/operators/while_op.cc +++ b/caffe2/operators/while_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/while_op.h" namespace caffe2 { diff --git a/caffe2/operators/while_op.h b/caffe2/operators/while_op.h index 466512e957c4..dff6f1190be6 100644 --- a/caffe2/operators/while_op.h +++ b/caffe2/operators/while_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_WHILE_OP_H_ #define CAFFE2_OPERATORS_WHILE_OP_H_ diff --git a/caffe2/operators/while_op_gpu.cc b/caffe2/operators/while_op_gpu.cc index 2c9d3e7caf83..1fc100c1fad3 100644 --- a/caffe2/operators/while_op_gpu.cc +++ b/caffe2/operators/while_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/while_op.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/operators/workspace_ops.cc b/caffe2/operators/workspace_ops.cc index 757d13c13cb0..d9775aa3a775 100644 --- a/caffe2/operators/workspace_ops.cc +++ b/caffe2/operators/workspace_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context.h" #include "caffe2/core/operator.h" diff --git a/caffe2/operators/zero_gradient_op.cc b/caffe2/operators/zero_gradient_op.cc index 5bb1bc3a62b7..53c08741e086 100644 --- a/caffe2/operators/zero_gradient_op.cc +++ b/caffe2/operators/zero_gradient_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/operators/zero_gradient_op.h" namespace caffe2 { diff --git a/caffe2/operators/zero_gradient_op.h b/caffe2/operators/zero_gradient_op.h index d60e8471b07a..288d9b6b8d41 100644 --- a/caffe2/operators/zero_gradient_op.h +++ b/caffe2/operators/zero_gradient_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/operators/zero_gradient_op_gpu.cc b/caffe2/operators/zero_gradient_op_gpu.cc index bd2965d22425..82cfc232520a 100644 --- a/caffe2/operators/zero_gradient_op_gpu.cc +++ b/caffe2/operators/zero_gradient_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/zero_gradient_op.h" diff --git a/caffe2/perfkernels/common.h b/caffe2/perfkernels/common.h index 4a766edfc719..22334e039668 100644 --- a/caffe2/perfkernels/common.h +++ b/caffe2/perfkernels/common.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Common utilities for writing performance kernels and easy dispatching of // different backends. /* diff --git a/caffe2/perfkernels/common_avx.cc b/caffe2/perfkernels/common_avx.cc index 9bf04b79762f..08c70d8966bc 100644 --- a/caffe2/perfkernels/common_avx.cc +++ b/caffe2/perfkernels/common_avx.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // This file is here merely to check that the flags are not mixed up: for // example, if your compiler did not specify -mavx, you should not provide // the CAFFE2_PERF_WITH_AVX macro. diff --git a/caffe2/perfkernels/common_avx2.cc b/caffe2/perfkernels/common_avx2.cc index 9755cbed9e54..3db34aa549d8 100644 --- a/caffe2/perfkernels/common_avx2.cc +++ b/caffe2/perfkernels/common_avx2.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // This file is here merely to check that the flags are not mixed up: for // example, if your compiler did not specify -mavx2, you should not provide // the CAFFE2_PERF_WITH_AVX2 macro. diff --git a/caffe2/perfkernels/cvtsh_ss_bugfix.h b/caffe2/perfkernels/cvtsh_ss_bugfix.h index 00172b761668..ee20ce6910d9 100644 --- a/caffe2/perfkernels/cvtsh_ss_bugfix.h +++ b/caffe2/perfkernels/cvtsh_ss_bugfix.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once // Apple clang was fixed in 8.1 diff --git a/caffe2/perfkernels/embedding_lookup.cc b/caffe2/perfkernels/embedding_lookup.cc index f6704e428ffa..13f380f4dc33 100644 --- a/caffe2/perfkernels/embedding_lookup.cc +++ b/caffe2/perfkernels/embedding_lookup.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/perfkernels/embedding_lookup.h" #include "caffe2/core/types.h" diff --git a/caffe2/perfkernels/embedding_lookup.h b/caffe2/perfkernels/embedding_lookup.h index 267948fabe4c..dfbfd1142463 100644 --- a/caffe2/perfkernels/embedding_lookup.h +++ b/caffe2/perfkernels/embedding_lookup.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/perfkernels/embedding_lookup_avx2.cc b/caffe2/perfkernels/embedding_lookup_avx2.cc index fd9d2cb95a50..7c8f3817f844 100644 --- a/caffe2/perfkernels/embedding_lookup_avx2.cc +++ b/caffe2/perfkernels/embedding_lookup_avx2.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - //// -------------------------- //// ATTENTION: //// THIS CODE IS AUTOGENERATED diff --git a/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc b/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc index 7277df78425f..6862ab092e5e 100644 --- a/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc +++ b/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - //// -------------------------- //// ATTENTION: //// THIS CODE IS AUTOGENERATED diff --git a/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.cc b/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.cc index 7aa756bdeb01..49f5e78328c3 100644 --- a/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.cc +++ b/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.h" #include "caffe2/core/types.h" diff --git a/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.h b/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.h index 5251331e3ef0..238452708d81 100644 --- a/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.h +++ b/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/perfkernels/hp_emblookup_codegen.py b/caffe2/perfkernels/hp_emblookup_codegen.py index 28afc95841ed..9f512cd30cdd 100644 --- a/caffe2/perfkernels/hp_emblookup_codegen.py +++ b/caffe2/perfkernels/hp_emblookup_codegen.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function @@ -297,23 +282,6 @@ options = [["int32_t", "float", "float"], code = [] # includes -code.append( -"""/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -""") code.append("//// --------------------------") code.append("//// ATTENTION:") code.append("//// THIS CODE IS AUTOGENERATED") diff --git a/caffe2/perfkernels/typed_axpy.cc b/caffe2/perfkernels/typed_axpy.cc index b35840111603..bb0fae88133f 100644 --- a/caffe2/perfkernels/typed_axpy.cc +++ b/caffe2/perfkernels/typed_axpy.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/perfkernels/typed_axpy.h" #include "caffe2/core/types.h" #include "caffe2/perfkernels/common.h" diff --git a/caffe2/perfkernels/typed_axpy.h b/caffe2/perfkernels/typed_axpy.h index d67c3024f0bc..85b1adda0b9b 100644 --- a/caffe2/perfkernels/typed_axpy.h +++ b/caffe2/perfkernels/typed_axpy.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once namespace caffe2 { diff --git a/caffe2/perfkernels/typed_axpy_avx.cc b/caffe2/perfkernels/typed_axpy_avx.cc index 4a674234dda2..643d8c7a6979 100644 --- a/caffe2/perfkernels/typed_axpy_avx.cc +++ b/caffe2/perfkernels/typed_axpy_avx.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/types.h" #include "caffe2/perfkernels/cvtsh_ss_bugfix.h" #include "caffe2/perfkernels/typed_axpy.h" diff --git a/caffe2/perfkernels/typed_axpy_avx2.cc b/caffe2/perfkernels/typed_axpy_avx2.cc index c0fe182c9796..5f60736bb35b 100644 --- a/caffe2/perfkernels/typed_axpy_avx2.cc +++ b/caffe2/perfkernels/typed_axpy_avx2.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/types.h" #include "caffe2/perfkernels/cvtsh_ss_bugfix.h" #include "caffe2/perfkernels/typed_axpy.h" diff --git a/caffe2/python/_import_c_extension.py b/caffe2/python/_import_c_extension.py index 60a570ed3ffa..60ef4968110b 100644 --- a/caffe2/python/_import_c_extension.py +++ b/caffe2/python/_import_c_extension.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package _import_c_extension # Module caffe2.python._import_c_extension import atexit diff --git a/caffe2/python/allcompare_test.py b/caffe2/python/allcompare_test.py index fe81d89bd294..61579b3751a7 100644 --- a/caffe2/python/allcompare_test.py +++ b/caffe2/python/allcompare_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - #!/usr/bin/env python from __future__ import absolute_import diff --git a/caffe2/python/attention.py b/caffe2/python/attention.py index 65d0c19e3ccd..da9066bc7806 100644 --- a/caffe2/python/attention.py +++ b/caffe2/python/attention.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package attention # Module caffe2.python.attention from __future__ import absolute_import diff --git a/caffe2/python/benchmark_generator.py b/caffe2/python/benchmark_generator.py index 7e6924b7aba9..8393ca7875aa 100644 --- a/caffe2/python/benchmark_generator.py +++ b/caffe2/python/benchmark_generator.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - #!/usr/bin/env python from __future__ import absolute_import diff --git a/caffe2/python/binarysize.py b/caffe2/python/binarysize.py index 9ee00efc4c52..802d61025e30 100644 --- a/caffe2/python/binarysize.py +++ b/caffe2/python/binarysize.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - """A tool to inspect the binary size of a built binary file. This script prints out a tree of symbols and their corresponding sizes, using diff --git a/caffe2/python/brew.py b/caffe2/python/brew.py index 26e1e8781236..d32e894c6082 100644 --- a/caffe2/python/brew.py +++ b/caffe2/python/brew.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package model_helper_api # Module caffe2.python.model_helper_api from __future__ import absolute_import diff --git a/caffe2/python/brew_test.py b/caffe2/python/brew_test.py index 327da237f547..17b2f57c5084 100644 --- a/caffe2/python/brew_test.py +++ b/caffe2/python/brew_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/build.py b/caffe2/python/build.py index 724ecf838291..0f447265d5f4 100644 --- a/caffe2/python/build.py +++ b/caffe2/python/build.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/cached_reader.py b/caffe2/python/cached_reader.py index be89dff85e97..25325d309e81 100644 --- a/caffe2/python/cached_reader.py +++ b/caffe2/python/cached_reader.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package cached_reader # Module caffe2.python.cached_reader from __future__ import absolute_import diff --git a/caffe2/python/caffe_translator.py b/caffe2/python/caffe_translator.py index 6d6f4d6ef401..561abd0578c5 100644 --- a/caffe2/python/caffe_translator.py +++ b/caffe2/python/caffe_translator.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package caffe_translator # Module caffe2.python.caffe_translator #!/usr/bin/env python2 diff --git a/caffe2/python/caffe_translator_test.py b/caffe2/python/caffe_translator_test.py index a72b168e6cd8..45b2ad1def49 100644 --- a/caffe2/python/caffe_translator_test.py +++ b/caffe2/python/caffe_translator_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # This a large test that goes through the translation of the bvlc caffenet # model, runs an example through the whole model, and verifies numerically # that all the results look right. In default, it is disabled unless you diff --git a/caffe2/python/checkpoint.py b/caffe2/python/checkpoint.py index a13ada6ae878..6c97000a0268 100644 --- a/caffe2/python/checkpoint.py +++ b/caffe2/python/checkpoint.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package checkpoint # Module caffe2.python.checkpoint from __future__ import absolute_import diff --git a/caffe2/python/checkpoint_test.py b/caffe2/python/checkpoint_test.py index d33d87a43bef..7ed9ab0bd8ca 100644 --- a/caffe2/python/checkpoint_test.py +++ b/caffe2/python/checkpoint_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/cnn.py b/caffe2/python/cnn.py index 1acbf4acd90c..24a6ca9b7249 100644 --- a/caffe2/python/cnn.py +++ b/caffe2/python/cnn.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package cnn # Module caffe2.python.cnn from __future__ import absolute_import diff --git a/caffe2/python/context.py b/caffe2/python/context.py index 833311064997..b1fffa8a7c1c 100644 --- a/caffe2/python/context.py +++ b/caffe2/python/context.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package context # Module caffe2.python.context from __future__ import absolute_import diff --git a/caffe2/python/context_test.py b/caffe2/python/context_test.py index a913eac7425f..6a1f77f5ecf8 100644 --- a/caffe2/python/context_test.py +++ b/caffe2/python/context_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/control.py b/caffe2/python/control.py index 950b381d5ba4..dd332f745f9a 100644 --- a/caffe2/python/control.py +++ b/caffe2/python/control.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package control # Module caffe2.python.control """ diff --git a/caffe2/python/control_ops_grad.py b/caffe2/python/control_ops_grad.py index fe6450303813..e00450717208 100644 --- a/caffe2/python/control_ops_grad.py +++ b/caffe2/python/control_ops_grad.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package control_ops_grad # Module caffe2.python.control_ops_grad from __future__ import absolute_import diff --git a/caffe2/python/control_ops_util.py b/caffe2/python/control_ops_util.py index 06df31405739..76ab14a7bc65 100644 --- a/caffe2/python/control_ops_util.py +++ b/caffe2/python/control_ops_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package control_ops_util # Module caffe2.python.control_ops_util from __future__ import absolute_import diff --git a/caffe2/python/control_test.py b/caffe2/python/control_test.py index 79232c7995d9..e51aeffa8b04 100644 --- a/caffe2/python/control_test.py +++ b/caffe2/python/control_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/convnet_benchmarks.py b/caffe2/python/convnet_benchmarks.py index 29e1840eb143..3aac78c18df1 100644 --- a/caffe2/python/convnet_benchmarks.py +++ b/caffe2/python/convnet_benchmarks.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package convnet_benchmarks # Module caffe2.python.convnet_benchmarks """ diff --git a/caffe2/python/convnet_benchmarks_test.py b/caffe2/python/convnet_benchmarks_test.py index 0a4bd7fa14a5..5916043bb0e2 100644 --- a/caffe2/python/convnet_benchmarks_test.py +++ b/caffe2/python/convnet_benchmarks_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - import unittest from caffe2.python import convnet_benchmarks as cb from caffe2.python import test_util, workspace diff --git a/caffe2/python/core.py b/caffe2/python/core.py index 977a01aa4115..6932dc502058 100644 --- a/caffe2/python/core.py +++ b/caffe2/python/core.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package core # Module caffe2.python.core from __future__ import absolute_import diff --git a/caffe2/python/core_gradients_test.py b/caffe2/python/core_gradients_test.py index 59762a1fcbd5..c5158e65e700 100644 --- a/caffe2/python/core_gradients_test.py +++ b/caffe2/python/core_gradients_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/core_test.py b/caffe2/python/core_test.py index 05d7c290953b..630171b021d8 100644 --- a/caffe2/python/core_test.py +++ b/caffe2/python/core_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/crf.py b/caffe2/python/crf.py index 9c24d1c1626b..fbe4f1bd24a8 100644 --- a/caffe2/python/crf.py +++ b/caffe2/python/crf.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package crf # Module caffe2.python.crf from __future__ import absolute_import diff --git a/caffe2/python/data_parallel_model.py b/caffe2/python/data_parallel_model.py index 43aec93b428c..49ce794aa24e 100644 --- a/caffe2/python/data_parallel_model.py +++ b/caffe2/python/data_parallel_model.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package data_parallel_model # Module caffe2.python.data_parallel_model from __future__ import absolute_import diff --git a/caffe2/python/data_parallel_model_test.py b/caffe2/python/data_parallel_model_test.py index 4f188823d30f..f9e58a28139a 100644 --- a/caffe2/python/data_parallel_model_test.py +++ b/caffe2/python/data_parallel_model_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/data_parallel_model_utils.py b/caffe2/python/data_parallel_model_utils.py index 279cf584b0a4..0d49e53d64d3 100644 --- a/caffe2/python/data_parallel_model_utils.py +++ b/caffe2/python/data_parallel_model_utils.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package data_parallel_model_utils # Module caffe2.python.data_parallel_model_utils from __future__ import absolute_import diff --git a/caffe2/python/data_workers.py b/caffe2/python/data_workers.py index d6d0dbcfcaa6..f9090636638f 100644 --- a/caffe2/python/data_workers.py +++ b/caffe2/python/data_workers.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package data_workers # Module caffe2.python.data_workers from __future__ import absolute_import diff --git a/caffe2/python/data_workers_test.py b/caffe2/python/data_workers_test.py index 1732a8af9537..ecf627970e0c 100644 --- a/caffe2/python/data_workers_test.py +++ b/caffe2/python/data_workers_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/dataio.py b/caffe2/python/dataio.py index b6669b18864e..d21229dc45ea 100644 --- a/caffe2/python/dataio.py +++ b/caffe2/python/dataio.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package dataio # Module caffe2.python.dataio """ diff --git a/caffe2/python/dataio_test.py b/caffe2/python/dataio_test.py index f3eb0cbb24f8..a53ebfa612f7 100644 --- a/caffe2/python/dataio_test.py +++ b/caffe2/python/dataio_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/dataset.py b/caffe2/python/dataset.py index d6cbb7152353..ce1834a98b99 100644 --- a/caffe2/python/dataset.py +++ b/caffe2/python/dataset.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package dataset # Module caffe2.python.dataset """ diff --git a/caffe2/python/db_test.py b/caffe2/python/db_test.py index 5df7066cb395..f642202b36f0 100644 --- a/caffe2/python/db_test.py +++ b/caffe2/python/db_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/device_checker.py b/caffe2/python/device_checker.py index 4c8349ca7617..bad35b4816ca 100644 --- a/caffe2/python/device_checker.py +++ b/caffe2/python/device_checker.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package device_checker # Module caffe2.python.device_checker import numpy as np diff --git a/caffe2/python/docs/formatter.py b/caffe2/python/docs/formatter.py index 952217276d0a..0a16420f6d5a 100644 --- a/caffe2/python/docs/formatter.py +++ b/caffe2/python/docs/formatter.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package formatter # Module caffe2.python.docs.formatter from __future__ import absolute_import diff --git a/caffe2/python/docs/generator.py b/caffe2/python/docs/generator.py index b5c53995a335..1bc41b7d1ccb 100644 --- a/caffe2/python/docs/generator.py +++ b/caffe2/python/docs/generator.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package generator # Module caffe2.python.docs.generator from __future__ import absolute_import diff --git a/caffe2/python/docs/github.py b/caffe2/python/docs/github.py index b471a4d56879..cf0d5c939f7d 100644 --- a/caffe2/python/docs/github.py +++ b/caffe2/python/docs/github.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package github # Module caffe2.python.docs.github from __future__ import absolute_import diff --git a/caffe2/python/docs/parser.py b/caffe2/python/docs/parser.py index 7d7e4dc9af03..0d57e4d9adeb 100644 --- a/caffe2/python/docs/parser.py +++ b/caffe2/python/docs/parser.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package parser # Module caffe2.python.docs.parser from __future__ import absolute_import diff --git a/caffe2/python/dyndep.py b/caffe2/python/dyndep.py index d54ab4c07f32..be85af542c49 100644 --- a/caffe2/python/dyndep.py +++ b/caffe2/python/dyndep.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package dyndep # Module caffe2.python.dyndep from __future__ import absolute_import diff --git a/caffe2/python/embedding_generation_benchmark.py b/caffe2/python/embedding_generation_benchmark.py index 873e08bba918..a4d66036b93d 100644 --- a/caffe2/python/embedding_generation_benchmark.py +++ b/caffe2/python/embedding_generation_benchmark.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package embedding_generation_benchmark # Module caffe2.python.embedding_generation_benchmark from __future__ import absolute_import diff --git a/caffe2/python/examples/char_rnn.py b/caffe2/python/examples/char_rnn.py index 4b5303ade8f9..a74d4895e4f7 100644 --- a/caffe2/python/examples/char_rnn.py +++ b/caffe2/python/examples/char_rnn.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package char_rnn # Module caffe2.python.examples.char_rnn from __future__ import absolute_import diff --git a/caffe2/python/examples/lmdb_create_example.py b/caffe2/python/examples/lmdb_create_example.py index fd6db3ef1cf3..b29b3b806001 100644 --- a/caffe2/python/examples/lmdb_create_example.py +++ b/caffe2/python/examples/lmdb_create_example.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package lmdb_create_example # Module caffe2.python.examples.lmdb_create_example from __future__ import absolute_import diff --git a/caffe2/python/examples/resnet50_trainer.py b/caffe2/python/examples/resnet50_trainer.py index a722a2511591..894cdd6530bb 100644 --- a/caffe2/python/examples/resnet50_trainer.py +++ b/caffe2/python/examples/resnet50_trainer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # Module caffe2.python.examples.resnet50_trainer from __future__ import absolute_import from __future__ import division diff --git a/caffe2/python/experiment_util.py b/caffe2/python/experiment_util.py index 174d965375da..cbe9491d9cf6 100644 --- a/caffe2/python/experiment_util.py +++ b/caffe2/python/experiment_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package experiment_util # Module caffe2.python.experiment_util from __future__ import absolute_import diff --git a/caffe2/python/extension_loader.py b/caffe2/python/extension_loader.py index 08330d94ae22..fe85d53680ea 100644 --- a/caffe2/python/extension_loader.py +++ b/caffe2/python/extension_loader.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package extension_loader # Module caffe2.python.extension_loader from __future__ import absolute_import diff --git a/caffe2/python/functional.py b/caffe2/python/functional.py index b832e00950f5..6ec25ab4bb27 100644 --- a/caffe2/python/functional.py +++ b/caffe2/python/functional.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/functional_test.py b/caffe2/python/functional_test.py index 64ba212ec1ed..731c1a7eaa2b 100644 --- a/caffe2/python/functional_test.py +++ b/caffe2/python/functional_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/fused_8bit_rowwise_conversion_ops_test.py b/caffe2/python/fused_8bit_rowwise_conversion_ops_test.py index 270c26dd9149..36efaa457f40 100644 --- a/caffe2/python/fused_8bit_rowwise_conversion_ops_test.py +++ b/caffe2/python/fused_8bit_rowwise_conversion_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/gradient_check_test.py b/caffe2/python/gradient_check_test.py index 8d7cfdc7b176..ae6eccb8a335 100644 --- a/caffe2/python/gradient_check_test.py +++ b/caffe2/python/gradient_check_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # TODO(jiayq): as more and more tests are moving to hypothesis test, we # can gradually remove this test script. DO NOT ADD MORE TESTS TO THIS # FILE. diff --git a/caffe2/python/gradient_checker.py b/caffe2/python/gradient_checker.py index 41e5d8537ad1..9c6fa81669da 100644 --- a/caffe2/python/gradient_checker.py +++ b/caffe2/python/gradient_checker.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package gradient_checker # Module caffe2.python.gradient_checker from __future__ import absolute_import diff --git a/caffe2/python/gru_cell.py b/caffe2/python/gru_cell.py index feeedb1c80be..e6caa2cae1eb 100644 --- a/caffe2/python/gru_cell.py +++ b/caffe2/python/gru_cell.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/helpers/algebra.py b/caffe2/python/helpers/algebra.py index 57f975e39868..6bc3779a4ca1 100644 --- a/caffe2/python/helpers/algebra.py +++ b/caffe2/python/helpers/algebra.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package algebra # Module caffe2.python.helpers.algebra from __future__ import absolute_import diff --git a/caffe2/python/helpers/arg_scope.py b/caffe2/python/helpers/arg_scope.py index d43bde75a9c7..ac6978be8064 100644 --- a/caffe2/python/helpers/arg_scope.py +++ b/caffe2/python/helpers/arg_scope.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/helpers/array_helpers.py b/caffe2/python/helpers/array_helpers.py index 6325406bb14f..3f8955331d4e 100644 --- a/caffe2/python/helpers/array_helpers.py +++ b/caffe2/python/helpers/array_helpers.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package arra_helpers # Module caffe2.python.helpers.array_helpers from __future__ import absolute_import diff --git a/caffe2/python/helpers/control_ops.py b/caffe2/python/helpers/control_ops.py index 5c35e6274a01..a738a71fe44c 100644 --- a/caffe2/python/helpers/control_ops.py +++ b/caffe2/python/helpers/control_ops.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package control_ops # Module caffe2.python.helpers.control_ops from __future__ import absolute_import diff --git a/caffe2/python/helpers/conv.py b/caffe2/python/helpers/conv.py index 6ea406038daf..bb88b2e3757f 100644 --- a/caffe2/python/helpers/conv.py +++ b/caffe2/python/helpers/conv.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package conv # Module caffe2.python.helpers.conv from __future__ import absolute_import diff --git a/caffe2/python/helpers/db_input.py b/caffe2/python/helpers/db_input.py index a131438bdf00..6e642a393da4 100644 --- a/caffe2/python/helpers/db_input.py +++ b/caffe2/python/helpers/db_input.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package db_input # Module caffe2.python.helpers.db_input from __future__ import absolute_import diff --git a/caffe2/python/helpers/dropout.py b/caffe2/python/helpers/dropout.py index e49bb548e129..6fbb5bcda99a 100644 --- a/caffe2/python/helpers/dropout.py +++ b/caffe2/python/helpers/dropout.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package dropout # Module caffe2.python.helpers.dropout from __future__ import absolute_import diff --git a/caffe2/python/helpers/elementwise_linear.py b/caffe2/python/helpers/elementwise_linear.py index cc711d460383..55fbd708489c 100644 --- a/caffe2/python/helpers/elementwise_linear.py +++ b/caffe2/python/helpers/elementwise_linear.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package elementwise_linear # Module caffe2.python.helpers.elementwise_linear from __future__ import absolute_import diff --git a/caffe2/python/helpers/fc.py b/caffe2/python/helpers/fc.py index a93bb8713786..e60d008799b8 100644 --- a/caffe2/python/helpers/fc.py +++ b/caffe2/python/helpers/fc.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package fc # Module caffe2.python.helpers.fc from __future__ import absolute_import diff --git a/caffe2/python/helpers/nonlinearity.py b/caffe2/python/helpers/nonlinearity.py index 9c8f935b8216..f773cc3114de 100644 --- a/caffe2/python/helpers/nonlinearity.py +++ b/caffe2/python/helpers/nonlinearity.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package nonlinearity # Module caffe2.python.helpers.nonlinearity from __future__ import absolute_import diff --git a/caffe2/python/helpers/normalization.py b/caffe2/python/helpers/normalization.py index 168d785fbecc..b41d6bc37c6b 100644 --- a/caffe2/python/helpers/normalization.py +++ b/caffe2/python/helpers/normalization.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package normalization # Module caffe2.python.helpers.normalization from __future__ import absolute_import diff --git a/caffe2/python/helpers/pooling.py b/caffe2/python/helpers/pooling.py index 6c41e902f763..412d55434d16 100644 --- a/caffe2/python/helpers/pooling.py +++ b/caffe2/python/helpers/pooling.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package pooling # Module caffe2.python.helpers.pooling ## @package fc diff --git a/caffe2/python/helpers/tools.py b/caffe2/python/helpers/tools.py index a682080497be..59defe9e236b 100644 --- a/caffe2/python/helpers/tools.py +++ b/caffe2/python/helpers/tools.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package tools # Module caffe2.python.helpers.tools from __future__ import absolute_import diff --git a/caffe2/python/helpers/train.py b/caffe2/python/helpers/train.py index 6dc1bb1bd073..bee36347808a 100644 --- a/caffe2/python/helpers/train.py +++ b/caffe2/python/helpers/train.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package train # Module caffe2.python.helpers.train from __future__ import absolute_import diff --git a/caffe2/python/hsm_util.py b/caffe2/python/hsm_util.py index b454ef94c334..e98056f9cd88 100644 --- a/caffe2/python/hsm_util.py +++ b/caffe2/python/hsm_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package hsm_util # Module caffe2.python.hsm_util from __future__ import absolute_import diff --git a/caffe2/python/hypothesis_test.py b/caffe2/python/hypothesis_test.py index a365b39fa177..1ef347317b79 100644 --- a/caffe2/python/hypothesis_test.py +++ b/caffe2/python/hypothesis_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/hypothesis_test_util.py b/caffe2/python/hypothesis_test_util.py index 2f7da57ed550..16882a95aa0c 100644 --- a/caffe2/python/hypothesis_test_util.py +++ b/caffe2/python/hypothesis_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package hypothesis_test_util # Module caffe2.python.hypothesis_test_util """ diff --git a/caffe2/python/layer_model_helper.py b/caffe2/python/layer_model_helper.py index d7c20dc1130a..eaec2f032809 100644 --- a/caffe2/python/layer_model_helper.py +++ b/caffe2/python/layer_model_helper.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package layer_model_helper # Module caffe2.python.layer_model_helper from __future__ import absolute_import diff --git a/caffe2/python/layer_model_instantiator.py b/caffe2/python/layer_model_instantiator.py index 8d8bd870e71c..9dd3da12440c 100644 --- a/caffe2/python/layer_model_instantiator.py +++ b/caffe2/python/layer_model_instantiator.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package layer_model_instantiator # Module caffe2.python.layer_model_instantiator from __future__ import absolute_import diff --git a/caffe2/python/layer_parameter_sharing_test.py b/caffe2/python/layer_parameter_sharing_test.py index 194faa1fc67f..dfc7a1f3f099 100644 --- a/caffe2/python/layer_parameter_sharing_test.py +++ b/caffe2/python/layer_parameter_sharing_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layer_test_util.py b/caffe2/python/layer_test_util.py index be8dd4b0fcc0..2f2e23062e34 100644 --- a/caffe2/python/layer_test_util.py +++ b/caffe2/python/layer_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package layer_test_util # Module caffe2.python.layer_test_util from __future__ import absolute_import diff --git a/caffe2/python/layers/__init__.py b/caffe2/python/layers/__init__.py index 62277fc0c288..2a09dc8419a6 100644 --- a/caffe2/python/layers/__init__.py +++ b/caffe2/python/layers/__init__.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/adaptive_weight.py b/caffe2/python/layers/adaptive_weight.py index e76f62ab9039..04190a1b27ac 100644 --- a/caffe2/python/layers/adaptive_weight.py +++ b/caffe2/python/layers/adaptive_weight.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package adaptive_weight # Module caffe2.fb.python.layers.adaptive_weight from __future__ import absolute_import diff --git a/caffe2/python/layers/add_bias.py b/caffe2/python/layers/add_bias.py index a9fd5a57ba4d..0ffa46afb2b3 100644 --- a/caffe2/python/layers/add_bias.py +++ b/caffe2/python/layers/add_bias.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package add_bias # Module caffe2.python.layers.add_bias from __future__ import absolute_import diff --git a/caffe2/python/layers/arc_cosine_feature_map.py b/caffe2/python/layers/arc_cosine_feature_map.py index 53b4faf4a1a3..2409eca551a1 100644 --- a/caffe2/python/layers/arc_cosine_feature_map.py +++ b/caffe2/python/layers/arc_cosine_feature_map.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/batch_distill_lr_loss.py b/caffe2/python/layers/batch_distill_lr_loss.py index 9e9effacb5c1..3c487a2dc2fe 100644 --- a/caffe2/python/layers/batch_distill_lr_loss.py +++ b/caffe2/python/layers/batch_distill_lr_loss.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package batch_distill_lr_loss # Module caffe2.python.layers.batch_distill_lr_loss from __future__ import absolute_import diff --git a/caffe2/python/layers/batch_lr_loss.py b/caffe2/python/layers/batch_lr_loss.py index adc9519de84b..d88e036e12b0 100644 --- a/caffe2/python/layers/batch_lr_loss.py +++ b/caffe2/python/layers/batch_lr_loss.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package batch_lr_loss # Module caffe2.python.layers.batch_lr_loss from __future__ import absolute_import diff --git a/caffe2/python/layers/batch_mse_loss.py b/caffe2/python/layers/batch_mse_loss.py index ce6c41930021..6621bcab961f 100644 --- a/caffe2/python/layers/batch_mse_loss.py +++ b/caffe2/python/layers/batch_mse_loss.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package batch_mse_loss # Module caffe2.python.layers.batch_mse_loss from __future__ import absolute_import diff --git a/caffe2/python/layers/batch_normalization.py b/caffe2/python/layers/batch_normalization.py index 9cd84678fbb2..31ff7a144a1e 100644 --- a/caffe2/python/layers/batch_normalization.py +++ b/caffe2/python/layers/batch_normalization.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/batch_sigmoid_cross_entropy_loss.py b/caffe2/python/layers/batch_sigmoid_cross_entropy_loss.py index 77cd0afe1359..9ef8cf563dbe 100644 --- a/caffe2/python/layers/batch_sigmoid_cross_entropy_loss.py +++ b/caffe2/python/layers/batch_sigmoid_cross_entropy_loss.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package batch_sigmoid_cross_entropy_loss # Module caffe2.python.layers.batch_sigmoid_cross_entropy_loss from __future__ import absolute_import diff --git a/caffe2/python/layers/batch_softmax_loss.py b/caffe2/python/layers/batch_softmax_loss.py index c88c5aac060b..70e68900ca5f 100644 --- a/caffe2/python/layers/batch_softmax_loss.py +++ b/caffe2/python/layers/batch_softmax_loss.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package batch_softmax_loss # Module caffe2.python.layers.batch_softmax_loss from __future__ import absolute_import diff --git a/caffe2/python/layers/build_index.py b/caffe2/python/layers/build_index.py index bcca5a2cb959..c177c38b30d0 100644 --- a/caffe2/python/layers/build_index.py +++ b/caffe2/python/layers/build_index.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/concat.py b/caffe2/python/layers/concat.py index 5b24a07d5445..126a42174513 100644 --- a/caffe2/python/layers/concat.py +++ b/caffe2/python/layers/concat.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package concat # Module caffe2.python.layers.concat from __future__ import absolute_import diff --git a/caffe2/python/layers/constant_weight.py b/caffe2/python/layers/constant_weight.py index de61892883a7..9a8d0f27a9e5 100644 --- a/caffe2/python/layers/constant_weight.py +++ b/caffe2/python/layers/constant_weight.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package constant_weight # Module caffe2.fb.python.layers.constant_weight from __future__ import absolute_import diff --git a/caffe2/python/layers/conv.py b/caffe2/python/layers/conv.py index 2c2b4df15d46..bb22acf0cafa 100644 --- a/caffe2/python/layers/conv.py +++ b/caffe2/python/layers/conv.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package conv # Module caffe2.python.layers.conv from __future__ import absolute_import diff --git a/caffe2/python/layers/dropout.py b/caffe2/python/layers/dropout.py index 874d70ce84f1..f2a887377709 100644 --- a/caffe2/python/layers/dropout.py +++ b/caffe2/python/layers/dropout.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # Module caffe2.python.layers.dropout from __future__ import absolute_import from __future__ import division diff --git a/caffe2/python/layers/fc.py b/caffe2/python/layers/fc.py index 130e56d25676..7f0dc5290e22 100644 --- a/caffe2/python/layers/fc.py +++ b/caffe2/python/layers/fc.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package fc # Module caffe2.python.layers.fc from __future__ import absolute_import diff --git a/caffe2/python/layers/fc_without_bias.py b/caffe2/python/layers/fc_without_bias.py index b0f0240001af..fad300d4aef7 100644 --- a/caffe2/python/layers/fc_without_bias.py +++ b/caffe2/python/layers/fc_without_bias.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package fc_without_bias # Module caffe2.python.layers.fc_without_bias from __future__ import absolute_import diff --git a/caffe2/python/layers/feature_sparse_to_dense.py b/caffe2/python/layers/feature_sparse_to_dense.py index a72acf2fe597..70ff1215ca02 100644 --- a/caffe2/python/layers/feature_sparse_to_dense.py +++ b/caffe2/python/layers/feature_sparse_to_dense.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package sparse_to_dense # Module caffe2.python.layers.sparse_to_dense from __future__ import absolute_import diff --git a/caffe2/python/layers/functional.py b/caffe2/python/layers/functional.py index cb48c117b163..08612d21a4ba 100644 --- a/caffe2/python/layers/functional.py +++ b/caffe2/python/layers/functional.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package functional # Module caffe2.python.layers.functional from __future__ import absolute_import diff --git a/caffe2/python/layers/gather_record.py b/caffe2/python/layers/gather_record.py index 276acec19335..1289c097902c 100644 --- a/caffe2/python/layers/gather_record.py +++ b/caffe2/python/layers/gather_record.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package gather_record # Module caffe2.python.layers.gather_record from __future__ import absolute_import diff --git a/caffe2/python/layers/homotopy_weight.py b/caffe2/python/layers/homotopy_weight.py index 1745032194d8..94c14abec95a 100644 --- a/caffe2/python/layers/homotopy_weight.py +++ b/caffe2/python/layers/homotopy_weight.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package homotopy_weight # Module caffe2.fb.python.layers.homotopy_weight diff --git a/caffe2/python/layers/last_n_window_collector.py b/caffe2/python/layers/last_n_window_collector.py index 369f6a7bab39..d46b92b2e97e 100644 --- a/caffe2/python/layers/last_n_window_collector.py +++ b/caffe2/python/layers/last_n_window_collector.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package last_n_window_collector # Module caffe2.python.layers.last_n_window_collector from __future__ import absolute_import diff --git a/caffe2/python/layers/layers.py b/caffe2/python/layers/layers.py index 69d64c4992e0..7fced4e40369 100644 --- a/caffe2/python/layers/layers.py +++ b/caffe2/python/layers/layers.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package layers # Module caffe2.python.layers.layers from __future__ import absolute_import diff --git a/caffe2/python/layers/merge_id_lists.py b/caffe2/python/layers/merge_id_lists.py index 79111802c7a4..117dd7904787 100644 --- a/caffe2/python/layers/merge_id_lists.py +++ b/caffe2/python/layers/merge_id_lists.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/pairwise_dot_product.py b/caffe2/python/layers/pairwise_dot_product.py index 3c73ee7cc629..5c91501b97bf 100644 --- a/caffe2/python/layers/pairwise_dot_product.py +++ b/caffe2/python/layers/pairwise_dot_product.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package dot_product # Module caffe2.python.layers.dot_product from __future__ import absolute_import diff --git a/caffe2/python/layers/position_weighted.py b/caffe2/python/layers/position_weighted.py index db46c25810e2..2b40ed780a52 100644 --- a/caffe2/python/layers/position_weighted.py +++ b/caffe2/python/layers/position_weighted.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package position_weighted # Module caffe2.python.layers.position_weighted from __future__ import absolute_import diff --git a/caffe2/python/layers/random_fourier_features.py b/caffe2/python/layers/random_fourier_features.py index bc12e4188e05..23b6bed8153b 100644 --- a/caffe2/python/layers/random_fourier_features.py +++ b/caffe2/python/layers/random_fourier_features.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/reservoir_sampling.py b/caffe2/python/layers/reservoir_sampling.py index 8586892fff6c..9ff85ec7bcb6 100644 --- a/caffe2/python/layers/reservoir_sampling.py +++ b/caffe2/python/layers/reservoir_sampling.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package reservoir_sampling # Module caffe2.python.layers.reservoir_sampling from __future__ import absolute_import diff --git a/caffe2/python/layers/sampling_train.py b/caffe2/python/layers/sampling_train.py index d6506ab7b9ee..1c617326da7f 100644 --- a/caffe2/python/layers/sampling_train.py +++ b/caffe2/python/layers/sampling_train.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package sampling_train # Module caffe2.python.layers.sampling_train from __future__ import absolute_import diff --git a/caffe2/python/layers/sampling_trainable_mixin.py b/caffe2/python/layers/sampling_trainable_mixin.py index 8dd021832161..911fd8391e3f 100644 --- a/caffe2/python/layers/sampling_trainable_mixin.py +++ b/caffe2/python/layers/sampling_trainable_mixin.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package sampling_trainable_mixin # Module caffe2.python.layers.sampling_trainable_mixin from __future__ import absolute_import diff --git a/caffe2/python/layers/select_record_by_context.py b/caffe2/python/layers/select_record_by_context.py index dde75b6b4447..87b1ef0a3c1b 100644 --- a/caffe2/python/layers/select_record_by_context.py +++ b/caffe2/python/layers/select_record_by_context.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/semi_random_features.py b/caffe2/python/layers/semi_random_features.py index c427f2c39e49..d7b96d956d08 100644 --- a/caffe2/python/layers/semi_random_features.py +++ b/caffe2/python/layers/semi_random_features.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/layers/sparse_feature_hash.py b/caffe2/python/layers/sparse_feature_hash.py index e9c9b797b855..8b88e8989c4a 100644 --- a/caffe2/python/layers/sparse_feature_hash.py +++ b/caffe2/python/layers/sparse_feature_hash.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package sparse_feature_hash # Module caffe2.python.layers.sparse_feature_hash from __future__ import absolute_import diff --git a/caffe2/python/layers/sparse_lookup.py b/caffe2/python/layers/sparse_lookup.py index 408b1ab70552..60dd233a75d6 100644 --- a/caffe2/python/layers/sparse_lookup.py +++ b/caffe2/python/layers/sparse_lookup.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package sparse_lookup # Module caffe2.python.layers.sparse_lookup from __future__ import absolute_import diff --git a/caffe2/python/layers/split.py b/caffe2/python/layers/split.py index b34a22966f73..449e2c67d034 100644 --- a/caffe2/python/layers/split.py +++ b/caffe2/python/layers/split.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package split # Module caffe2.python.layers.split from __future__ import absolute_import diff --git a/caffe2/python/layers/tags.py b/caffe2/python/layers/tags.py index 9f7a20315df3..ad396cc4ae95 100644 --- a/caffe2/python/layers/tags.py +++ b/caffe2/python/layers/tags.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package tags # Module caffe2.python.layers.tags from __future__ import absolute_import diff --git a/caffe2/python/layers/uniform_sampling.py b/caffe2/python/layers/uniform_sampling.py index 1c4e6a60f0d8..46ed29bbaa41 100644 --- a/caffe2/python/layers/uniform_sampling.py +++ b/caffe2/python/layers/uniform_sampling.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package uniform_sampling # Module caffe2.python.layers.uniform_sampling from __future__ import absolute_import diff --git a/caffe2/python/layers_test.py b/caffe2/python/layers_test.py index 379a3c858103..070e02e3ac8c 100644 --- a/caffe2/python/layers_test.py +++ b/caffe2/python/layers_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/lengths_reducer_fused_8bit_rowwise_ops_test.py b/caffe2/python/lengths_reducer_fused_8bit_rowwise_ops_test.py index 56b06d48721a..18d1e15a74ee 100644 --- a/caffe2/python/lengths_reducer_fused_8bit_rowwise_ops_test.py +++ b/caffe2/python/lengths_reducer_fused_8bit_rowwise_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/lengths_reducer_rowwise_8bit_ops_test.py b/caffe2/python/lengths_reducer_rowwise_8bit_ops_test.py index efbcd8560e05..d73db5aaa36c 100644 --- a/caffe2/python/lengths_reducer_rowwise_8bit_ops_test.py +++ b/caffe2/python/lengths_reducer_rowwise_8bit_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/lstm_benchmark.py b/caffe2/python/lstm_benchmark.py index 670472b4effd..deefb128882e 100644 --- a/caffe2/python/lstm_benchmark.py +++ b/caffe2/python/lstm_benchmark.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package lstm_benchmark # Module caffe2.python.lstm_benchmark from __future__ import absolute_import diff --git a/caffe2/python/memonger.py b/caffe2/python/memonger.py index ed2aa94cf381..e21f9769bf28 100644 --- a/caffe2/python/memonger.py +++ b/caffe2/python/memonger.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package memonger # Module caffe2.python.memonger from __future__ import absolute_import diff --git a/caffe2/python/memonger_test.py b/caffe2/python/memonger_test.py index a4bba5167a73..6536280d8a60 100644 --- a/caffe2/python/memonger_test.py +++ b/caffe2/python/memonger_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mint/app.py b/caffe2/python/mint/app.py index 68f7e1992102..c5da820d76c4 100644 --- a/caffe2/python/mint/app.py +++ b/caffe2/python/mint/app.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package app # Module caffe2.python.mint.app import argparse diff --git a/caffe2/python/mkl/convnet_benchmarks.py b/caffe2/python/mkl/convnet_benchmarks.py index ab729556c93d..4527deea9d45 100644 --- a/caffe2/python/mkl/convnet_benchmarks.py +++ b/caffe2/python/mkl/convnet_benchmarks.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package convnet_benchmarks # Module caffe2.python.convnet_benchmarks from __future__ import absolute_import diff --git a/caffe2/python/mkl/mkl_LRN_op_test.py b/caffe2/python/mkl/mkl_LRN_op_test.py index a3e1beb292c5..73df4820a5d1 100644 --- a/caffe2/python/mkl/mkl_LRN_op_test.py +++ b/caffe2/python/mkl/mkl_LRN_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_LRN_speed_test.py b/caffe2/python/mkl/mkl_LRN_speed_test.py index 95df11428db8..35eae62d5be1 100644 --- a/caffe2/python/mkl/mkl_LRN_speed_test.py +++ b/caffe2/python/mkl/mkl_LRN_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_concat_op_test.py b/caffe2/python/mkl/mkl_concat_op_test.py index 88f40922a1a7..a1a96ca755d9 100644 --- a/caffe2/python/mkl/mkl_concat_op_test.py +++ b/caffe2/python/mkl/mkl_concat_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_conv_op_test.py b/caffe2/python/mkl/mkl_conv_op_test.py index 0af16926f8b2..38ceb680bb6d 100644 --- a/caffe2/python/mkl/mkl_conv_op_test.py +++ b/caffe2/python/mkl/mkl_conv_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_copy_op_test.py b/caffe2/python/mkl/mkl_copy_op_test.py index e916b5d15124..633865cd5047 100644 --- a/caffe2/python/mkl/mkl_copy_op_test.py +++ b/caffe2/python/mkl/mkl_copy_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_elementwise_add_op_test.py b/caffe2/python/mkl/mkl_elementwise_add_op_test.py index 3e92f50a18ac..eab454ffe105 100644 --- a/caffe2/python/mkl/mkl_elementwise_add_op_test.py +++ b/caffe2/python/mkl/mkl_elementwise_add_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_elementwise_sum_op_test.py b/caffe2/python/mkl/mkl_elementwise_sum_op_test.py index 5efaed8dd6ac..71e0754a0214 100644 --- a/caffe2/python/mkl/mkl_elementwise_sum_op_test.py +++ b/caffe2/python/mkl/mkl_elementwise_sum_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_fc_op_test.py b/caffe2/python/mkl/mkl_fc_op_test.py index b573bf66e67f..01e8c9b5a925 100644 --- a/caffe2/python/mkl/mkl_fc_op_test.py +++ b/caffe2/python/mkl/mkl_fc_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_fc_speed_test.py b/caffe2/python/mkl/mkl_fc_speed_test.py index b604edee9b92..7cabadfe1da0 100644 --- a/caffe2/python/mkl/mkl_fc_speed_test.py +++ b/caffe2/python/mkl/mkl_fc_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_fill_op_test.py b/caffe2/python/mkl/mkl_fill_op_test.py index 70d6d1ae16f4..dbdf12c1aca4 100644 --- a/caffe2/python/mkl/mkl_fill_op_test.py +++ b/caffe2/python/mkl/mkl_fill_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_pool_op_test.py b/caffe2/python/mkl/mkl_pool_op_test.py index 6deaa1f0459e..a4d553fa667b 100644 --- a/caffe2/python/mkl/mkl_pool_op_test.py +++ b/caffe2/python/mkl/mkl_pool_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_pool_speed_test.py b/caffe2/python/mkl/mkl_pool_speed_test.py index c08c675b2337..a0fa8ca6ece8 100644 --- a/caffe2/python/mkl/mkl_pool_speed_test.py +++ b/caffe2/python/mkl/mkl_pool_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_relu_op_test.py b/caffe2/python/mkl/mkl_relu_op_test.py index 94276de2d3db..90e365da554b 100644 --- a/caffe2/python/mkl/mkl_relu_op_test.py +++ b/caffe2/python/mkl/mkl_relu_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_sbn_op_test.py b/caffe2/python/mkl/mkl_sbn_op_test.py index e7411f803a38..4a5fad2b7b68 100644 --- a/caffe2/python/mkl/mkl_sbn_op_test.py +++ b/caffe2/python/mkl/mkl_sbn_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_sbn_speed_test.py b/caffe2/python/mkl/mkl_sbn_speed_test.py index d11c9ce1d00b..d37bef32b9b7 100644 --- a/caffe2/python/mkl/mkl_sbn_speed_test.py +++ b/caffe2/python/mkl/mkl_sbn_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_sigmoid_op_test.py b/caffe2/python/mkl/mkl_sigmoid_op_test.py index acc4aeeb1389..654008c67b7d 100644 --- a/caffe2/python/mkl/mkl_sigmoid_op_test.py +++ b/caffe2/python/mkl/mkl_sigmoid_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_speed_test.py b/caffe2/python/mkl/mkl_speed_test.py index a76736284c19..4034705580d5 100644 --- a/caffe2/python/mkl/mkl_speed_test.py +++ b/caffe2/python/mkl/mkl_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/mkl_squeeze_op_test.py b/caffe2/python/mkl/mkl_squeeze_op_test.py index 12049cb2f5a4..1e4b5791b0b6 100644 --- a/caffe2/python/mkl/mkl_squeeze_op_test.py +++ b/caffe2/python/mkl/mkl_squeeze_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/rewrite_graph.py b/caffe2/python/mkl/rewrite_graph.py index ff8fe1da45f9..45baa59aed6b 100644 --- a/caffe2/python/mkl/rewrite_graph.py +++ b/caffe2/python/mkl/rewrite_graph.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl/rewrite_graph_test.py b/caffe2/python/mkl/rewrite_graph_test.py index 65a21eb6737e..65bf7fd53d44 100644 --- a/caffe2/python/mkl/rewrite_graph_test.py +++ b/caffe2/python/mkl/rewrite_graph_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/mkl_test_util.py b/caffe2/python/mkl_test_util.py index 428a1f387e4b..5d8f66500190 100644 --- a/caffe2/python/mkl_test_util.py +++ b/caffe2/python/mkl_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package mkl_test_util # Module caffe2.python.mkl_test_util """ diff --git a/caffe2/python/model_device_test.py b/caffe2/python/model_device_test.py index c8797f43a6d7..31cba3facb05 100644 --- a/caffe2/python/model_device_test.py +++ b/caffe2/python/model_device_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - import numpy as np import unittest diff --git a/caffe2/python/model_helper.py b/caffe2/python/model_helper.py index 1ef9c211adaa..ed3070d0ee4d 100644 --- a/caffe2/python/model_helper.py +++ b/caffe2/python/model_helper.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package model_helper # Module caffe2.python.model_helper from __future__ import absolute_import diff --git a/caffe2/python/modeling/compute_histogram_for_blobs.py b/caffe2/python/modeling/compute_histogram_for_blobs.py index 309b42cca70c..32c1e78d9789 100644 --- a/caffe2/python/modeling/compute_histogram_for_blobs.py +++ b/caffe2/python/modeling/compute_histogram_for_blobs.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/compute_histogram_for_blobs_test.py b/caffe2/python/modeling/compute_histogram_for_blobs_test.py index 0993a7a18734..6720908a5919 100644 --- a/caffe2/python/modeling/compute_histogram_for_blobs_test.py +++ b/caffe2/python/modeling/compute_histogram_for_blobs_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/compute_norm_for_blobs.py b/caffe2/python/modeling/compute_norm_for_blobs.py index 6029d856742b..2259e3165c2a 100644 --- a/caffe2/python/modeling/compute_norm_for_blobs.py +++ b/caffe2/python/modeling/compute_norm_for_blobs.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/compute_norm_for_blobs_test.py b/caffe2/python/modeling/compute_norm_for_blobs_test.py index 720be4c4cec8..c7becf5b0c29 100644 --- a/caffe2/python/modeling/compute_norm_for_blobs_test.py +++ b/caffe2/python/modeling/compute_norm_for_blobs_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/compute_statistics_for_blobs.py b/caffe2/python/modeling/compute_statistics_for_blobs.py index 2ccb08a4ac1d..92c57c857ebf 100644 --- a/caffe2/python/modeling/compute_statistics_for_blobs.py +++ b/caffe2/python/modeling/compute_statistics_for_blobs.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/compute_statistics_for_blobs_test.py b/caffe2/python/modeling/compute_statistics_for_blobs_test.py index 278cd33c9059..6ce1b14d7fd9 100644 --- a/caffe2/python/modeling/compute_statistics_for_blobs_test.py +++ b/caffe2/python/modeling/compute_statistics_for_blobs_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/initializers.py b/caffe2/python/modeling/initializers.py index 11a9f7a90e61..1e6efc97b358 100644 --- a/caffe2/python/modeling/initializers.py +++ b/caffe2/python/modeling/initializers.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/initializers_test.py b/caffe2/python/modeling/initializers_test.py index c6a358e3e375..0355d1871787 100644 --- a/caffe2/python/modeling/initializers_test.py +++ b/caffe2/python/modeling/initializers_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/net_modifier.py b/caffe2/python/modeling/net_modifier.py index 5503785839f8..9586b5b63766 100644 --- a/caffe2/python/modeling/net_modifier.py +++ b/caffe2/python/modeling/net_modifier.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/parameter_info.py b/caffe2/python/modeling/parameter_info.py index 9afe239503e4..f2c5c6afa68d 100644 --- a/caffe2/python/modeling/parameter_info.py +++ b/caffe2/python/modeling/parameter_info.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/parameter_sharing.py b/caffe2/python/modeling/parameter_sharing.py index 3a4345036083..80590f43afd4 100644 --- a/caffe2/python/modeling/parameter_sharing.py +++ b/caffe2/python/modeling/parameter_sharing.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/modeling/parameter_sharing_test.py b/caffe2/python/modeling/parameter_sharing_test.py index a605fee2ac06..f616fc1ea6ed 100644 --- a/caffe2/python/modeling/parameter_sharing_test.py +++ b/caffe2/python/modeling/parameter_sharing_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/models/__sym_init__.py b/caffe2/python/models/__sym_init__.py index 0ef5eff8521e..79f045879ebc 100644 --- a/caffe2/python/models/__sym_init__.py +++ b/caffe2/python/models/__sym_init__.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/models/download.py b/caffe2/python/models/download.py index a1b34ceff0cf..49bfc132506a 100644 --- a/caffe2/python/models/download.py +++ b/caffe2/python/models/download.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package download # Module caffe2.python.models.download from __future__ import absolute_import diff --git a/caffe2/python/models/resnet.py b/caffe2/python/models/resnet.py index 80dbb68c5f2d..60e00ed1a1ae 100644 --- a/caffe2/python/models/resnet.py +++ b/caffe2/python/models/resnet.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package resnet # Module caffe2.python.models.resnet diff --git a/caffe2/python/models/resnet_test.py b/caffe2/python/models/resnet_test.py index 57aeef2c4458..90a5c5cd2bcc 100644 --- a/caffe2/python/models/resnet_test.py +++ b/caffe2/python/models/resnet_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/models/seq2seq/beam_search.py b/caffe2/python/models/seq2seq/beam_search.py index 4862f722d0ee..7b909697fb05 100644 --- a/caffe2/python/models/seq2seq/beam_search.py +++ b/caffe2/python/models/seq2seq/beam_search.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package beam_search # Module caffe2.python.models.seq2seq.beam_search from __future__ import absolute_import diff --git a/caffe2/python/models/seq2seq/seq2seq_beam_search_test.py b/caffe2/python/models/seq2seq/seq2seq_beam_search_test.py index c4bb47512393..0ee1f6e35ba0 100644 --- a/caffe2/python/models/seq2seq/seq2seq_beam_search_test.py +++ b/caffe2/python/models/seq2seq/seq2seq_beam_search_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/models/seq2seq/seq2seq_model_helper.py b/caffe2/python/models/seq2seq/seq2seq_model_helper.py index 41e91a389fc0..b2a50c4bd58b 100644 --- a/caffe2/python/models/seq2seq/seq2seq_model_helper.py +++ b/caffe2/python/models/seq2seq/seq2seq_model_helper.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package seq2seq_model_helper # Module caffe2.python.models.seq2seq.seq2seq_model_helper from __future__ import absolute_import diff --git a/caffe2/python/models/seq2seq/seq2seq_model_helper_test.py b/caffe2/python/models/seq2seq/seq2seq_model_helper_test.py index 88743bd0899c..8095440f2e5a 100644 --- a/caffe2/python/models/seq2seq/seq2seq_model_helper_test.py +++ b/caffe2/python/models/seq2seq/seq2seq_model_helper_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/models/seq2seq/seq2seq_util.py b/caffe2/python/models/seq2seq/seq2seq_util.py index f59b90ea15f3..d0702880c1ec 100644 --- a/caffe2/python/models/seq2seq/seq2seq_util.py +++ b/caffe2/python/models/seq2seq/seq2seq_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package seq2seq_util # Module caffe2.python.examples.seq2seq_util """ A bunch of util functions to build Seq2Seq models with Caffe2.""" diff --git a/caffe2/python/models/seq2seq/train.py b/caffe2/python/models/seq2seq/train.py index 7d4002627377..1e5b28620ecc 100644 --- a/caffe2/python/models/seq2seq/train.py +++ b/caffe2/python/models/seq2seq/train.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package train # Module caffe2.python.models.seq2seq.train from __future__ import absolute_import diff --git a/caffe2/python/models/seq2seq/translate.py b/caffe2/python/models/seq2seq/translate.py index 3a924049196f..b1c0e1cd885e 100644 --- a/caffe2/python/models/seq2seq/translate.py +++ b/caffe2/python/models/seq2seq/translate.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package translate # Module caffe2.python.models.seq2seq.translate from __future__ import absolute_import diff --git a/caffe2/python/modifier_context.py b/caffe2/python/modifier_context.py index 794715a9a7de..6b7663324c7b 100644 --- a/caffe2/python/modifier_context.py +++ b/caffe2/python/modifier_context.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package modifier_context # Module caffe2.python.modifier_context from __future__ import absolute_import diff --git a/caffe2/python/mpi_python.cc b/caffe2/python/mpi_python.cc index 83653511c96e..ef7eca48f1ac 100644 --- a/caffe2/python/mpi_python.cc +++ b/caffe2/python/mpi_python.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/python/muji.py b/caffe2/python/muji.py index 63e6c1f1f2df..8f209f22cbc0 100644 --- a/caffe2/python/muji.py +++ b/caffe2/python/muji.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package muji # Module caffe2.python.muji """muji.py does multi-gpu training for caffe2 with no need to change the c++ diff --git a/caffe2/python/muji_test.py b/caffe2/python/muji_test.py index a6645dc44d75..f7dd8e862602 100644 --- a/caffe2/python/muji_test.py +++ b/caffe2/python/muji_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - import numpy as np import unittest diff --git a/caffe2/python/net_builder.py b/caffe2/python/net_builder.py index 4c1529cde217..9760775e33c1 100644 --- a/caffe2/python/net_builder.py +++ b/caffe2/python/net_builder.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package net_builder # Module caffe2.python.net_builder from __future__ import absolute_import diff --git a/caffe2/python/net_builder_test.py b/caffe2/python/net_builder_test.py index 4cc2a8b6db19..169419c5c17b 100644 --- a/caffe2/python/net_builder_test.py +++ b/caffe2/python/net_builder_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/net_drawer.py b/caffe2/python/net_drawer.py index 34929d0c881a..ee124bc6c85d 100644 --- a/caffe2/python/net_drawer.py +++ b/caffe2/python/net_drawer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package net_drawer # Module caffe2.python.net_drawer from __future__ import absolute_import diff --git a/caffe2/python/net_printer.py b/caffe2/python/net_printer.py index 8d127f6b566e..327c1f048406 100644 --- a/caffe2/python/net_printer.py +++ b/caffe2/python/net_printer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package net_printer # Module caffe2.python.net_printer from __future__ import absolute_import diff --git a/caffe2/python/net_printer_test.py b/caffe2/python/net_printer_test.py index a7f2c3c8f9a7..bc086c3eee2a 100644 --- a/caffe2/python/net_printer_test.py +++ b/caffe2/python/net_printer_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/onnx/backend.py b/caffe2/python/onnx/backend.py index 78a790c2bca3..d0dea35430d3 100644 --- a/caffe2/python/onnx/backend.py +++ b/caffe2/python/onnx/backend.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.backend diff --git a/caffe2/python/onnx/backend_cpp_rep.py b/caffe2/python/onnx/backend_cpp_rep.py index f01956eba8d7..27135b35763d 100644 --- a/caffe2/python/onnx/backend_cpp_rep.py +++ b/caffe2/python/onnx/backend_cpp_rep.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.backend_rep_cpp diff --git a/caffe2/python/onnx/backend_rep.py b/caffe2/python/onnx/backend_rep.py index f427b6d2d179..925fefca5f8a 100644 --- a/caffe2/python/onnx/backend_rep.py +++ b/caffe2/python/onnx/backend_rep.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.backend_rep from __future__ import absolute_import diff --git a/caffe2/python/onnx/bin/conversion.py b/caffe2/python/onnx/bin/conversion.py index fd5eb70ef14d..a30ebdfc3f54 100644 --- a/caffe2/python/onnx/bin/conversion.py +++ b/caffe2/python/onnx/bin/conversion.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.bin.conversion diff --git a/caffe2/python/onnx/error.py b/caffe2/python/onnx/error.py index 760d7b048b11..da72af2cc9b1 100644 --- a/caffe2/python/onnx/error.py +++ b/caffe2/python/onnx/error.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.error from __future__ import absolute_import diff --git a/caffe2/python/onnx/frontend.py b/caffe2/python/onnx/frontend.py index fc852ce31e46..c96b8614384b 100644 --- a/caffe2/python/onnx/frontend.py +++ b/caffe2/python/onnx/frontend.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.frontend diff --git a/caffe2/python/onnx/helper.py b/caffe2/python/onnx/helper.py index 577a140adcfa..432928856ba6 100644 --- a/caffe2/python/onnx/helper.py +++ b/caffe2/python/onnx/helper.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.helper from __future__ import absolute_import diff --git a/caffe2/python/onnx/tests/__init__.py b/caffe2/python/onnx/tests/__init__.py index d1838cd79e23..e0a02b9d5d83 100644 --- a/caffe2/python/onnx/tests/__init__.py +++ b/caffe2/python/onnx/tests/__init__.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/onnx/tests/c2_ref_test.py b/caffe2/python/onnx/tests/c2_ref_test.py index 6938cb0a46cc..41874a08f542 100644 --- a/caffe2/python/onnx/tests/c2_ref_test.py +++ b/caffe2/python/onnx/tests/c2_ref_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.c2_ref_test diff --git a/caffe2/python/onnx/tests/conversion_test.py b/caffe2/python/onnx/tests/conversion_test.py index 64490f48a064..9e375ab1cfe7 100644 --- a/caffe2/python/onnx/tests/conversion_test.py +++ b/caffe2/python/onnx/tests/conversion_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.conversion_test diff --git a/caffe2/python/onnx/tests/helper_test.py b/caffe2/python/onnx/tests/helper_test.py index 1d785664f9f2..4e72ee9b1a1e 100644 --- a/caffe2/python/onnx/tests/helper_test.py +++ b/caffe2/python/onnx/tests/helper_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.helper_test diff --git a/caffe2/python/onnx/tests/onnx_backend_test.py b/caffe2/python/onnx/tests/onnx_backend_test.py index ff72e9bd2033..b9aaafcda022 100644 --- a/caffe2/python/onnx/tests/onnx_backend_test.py +++ b/caffe2/python/onnx/tests/onnx_backend_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.onnx_backend_test diff --git a/caffe2/python/onnx/tests/ssa_test.py b/caffe2/python/onnx/tests/ssa_test.py index 851482e494fb..91c660100056 100644 --- a/caffe2/python/onnx/tests/ssa_test.py +++ b/caffe2/python/onnx/tests/ssa_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.ssa_test diff --git a/caffe2/python/onnx/tests/test_utils.py b/caffe2/python/onnx/tests/test_utils.py index 8d8a9ceeca24..60ab14aed6cd 100644 --- a/caffe2/python/onnx/tests/test_utils.py +++ b/caffe2/python/onnx/tests/test_utils.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.tests.test_utils diff --git a/caffe2/python/onnx/workspace.py b/caffe2/python/onnx/workspace.py index a115c9186146..92e126c3f7a0 100644 --- a/caffe2/python/onnx/workspace.py +++ b/caffe2/python/onnx/workspace.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package onnx # Module caffe2.python.onnx.workspace diff --git a/caffe2/python/operator_test/activation_ops_test.py b/caffe2/python/operator_test/activation_ops_test.py index 882bbb2b2e8c..acc1b0b07478 100644 --- a/caffe2/python/operator_test/activation_ops_test.py +++ b/caffe2/python/operator_test/activation_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/adagrad_test.py b/caffe2/python/operator_test/adagrad_test.py index 316fef0f5ea0..caa9a193892c 100644 --- a/caffe2/python/operator_test/adagrad_test.py +++ b/caffe2/python/operator_test/adagrad_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/adam_test.py b/caffe2/python/operator_test/adam_test.py old mode 100755 new mode 100644 index e8b3d1c735f0..09d33076757f --- a/caffe2/python/operator_test/adam_test.py +++ b/caffe2/python/operator_test/adam_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/apmeter_test.py b/caffe2/python/operator_test/apmeter_test.py index cebf59c92b94..2404a23ff7d4 100644 --- a/caffe2/python/operator_test/apmeter_test.py +++ b/caffe2/python/operator_test/apmeter_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/arg_max_test.py b/caffe2/python/operator_test/arg_max_test.py index a973698fe237..5db0a96a1e05 100644 --- a/caffe2/python/operator_test/arg_max_test.py +++ b/caffe2/python/operator_test/arg_max_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/arg_ops_test.py b/caffe2/python/operator_test/arg_ops_test.py index 44424250a9f5..e13267b21b54 100644 --- a/caffe2/python/operator_test/arg_ops_test.py +++ b/caffe2/python/operator_test/arg_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/assert_test.py b/caffe2/python/operator_test/assert_test.py index 083ec4d10635..0d61dc705e19 100644 --- a/caffe2/python/operator_test/assert_test.py +++ b/caffe2/python/operator_test/assert_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/atomic_ops_test.py b/caffe2/python/operator_test/atomic_ops_test.py index d3b2d478780d..5b41ac553159 100644 --- a/caffe2/python/operator_test/atomic_ops_test.py +++ b/caffe2/python/operator_test/atomic_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/basic_rnn_test.py b/caffe2/python/operator_test/basic_rnn_test.py index c5dfd88e8163..516c066c6ed8 100644 --- a/caffe2/python/operator_test/basic_rnn_test.py +++ b/caffe2/python/operator_test/basic_rnn_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/batch_box_cox_test.py b/caffe2/python/operator_test/batch_box_cox_test.py index e5d9e632621b..f8bc77ba9e5a 100644 --- a/caffe2/python/operator_test/batch_box_cox_test.py +++ b/caffe2/python/operator_test/batch_box_cox_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/bbox_transform_test.py b/caffe2/python/operator_test/bbox_transform_test.py index a930cb4df026..7fe1ae7abe46 100644 --- a/caffe2/python/operator_test/bbox_transform_test.py +++ b/caffe2/python/operator_test/bbox_transform_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/blobs_queue_db_test.py b/caffe2/python/operator_test/blobs_queue_db_test.py index 85457bda010f..6112635a7517 100644 --- a/caffe2/python/operator_test/blobs_queue_db_test.py +++ b/caffe2/python/operator_test/blobs_queue_db_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/boolean_mask_test.py b/caffe2/python/operator_test/boolean_mask_test.py index 613dea5f108a..51f457fdb73d 100644 --- a/caffe2/python/operator_test/boolean_mask_test.py +++ b/caffe2/python/operator_test/boolean_mask_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/boolean_unmask_test.py b/caffe2/python/operator_test/boolean_unmask_test.py index 919fb41da17b..86b2fedb49a2 100644 --- a/caffe2/python/operator_test/boolean_unmask_test.py +++ b/caffe2/python/operator_test/boolean_unmask_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/ceil_op_test.py b/caffe2/python/operator_test/ceil_op_test.py index 7bacb6d50d98..79293fc64532 100644 --- a/caffe2/python/operator_test/ceil_op_test.py +++ b/caffe2/python/operator_test/ceil_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/channel_backprop_stats_op_test.py b/caffe2/python/operator_test/channel_backprop_stats_op_test.py index 36be11687fd2..5c59b8d6f05c 100644 --- a/caffe2/python/operator_test/channel_backprop_stats_op_test.py +++ b/caffe2/python/operator_test/channel_backprop_stats_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/channel_shuffle_test.py b/caffe2/python/operator_test/channel_shuffle_test.py index 390fea415d3b..349546928f49 100644 --- a/caffe2/python/operator_test/channel_shuffle_test.py +++ b/caffe2/python/operator_test/channel_shuffle_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/channel_stats_op_test.py b/caffe2/python/operator_test/channel_stats_op_test.py index c04f35a72e79..2a238e67542f 100644 --- a/caffe2/python/operator_test/channel_stats_op_test.py +++ b/caffe2/python/operator_test/channel_stats_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/checkpoint_test.py b/caffe2/python/operator_test/checkpoint_test.py index da2f7590afaf..dc42d471f722 100644 --- a/caffe2/python/operator_test/checkpoint_test.py +++ b/caffe2/python/operator_test/checkpoint_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/clip_op_test.py b/caffe2/python/operator_test/clip_op_test.py index 7bbf0fb107cf..1b62132007d5 100644 --- a/caffe2/python/operator_test/clip_op_test.py +++ b/caffe2/python/operator_test/clip_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py b/caffe2/python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py index 71a0338872a6..7c4efd753670 100644 --- a/caffe2/python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py +++ b/caffe2/python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/concat_split_op_test.py b/caffe2/python/operator_test/concat_split_op_test.py index 6dfe5a420447..1fa62965f41b 100644 --- a/caffe2/python/operator_test/concat_split_op_test.py +++ b/caffe2/python/operator_test/concat_split_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import unicode_literals from __future__ import absolute_import from __future__ import division diff --git a/caffe2/python/operator_test/conditional_test.py b/caffe2/python/operator_test/conditional_test.py index db92bdd4d679..b96b530d6877 100644 --- a/caffe2/python/operator_test/conditional_test.py +++ b/caffe2/python/operator_test/conditional_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/conv_test.py b/caffe2/python/operator_test/conv_test.py index 71aea3af7fe5..303e8713be11 100644 --- a/caffe2/python/operator_test/conv_test.py +++ b/caffe2/python/operator_test/conv_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/conv_transpose_test.py b/caffe2/python/operator_test/conv_transpose_test.py index 673e4c8993fa..30df1d1a9dbe 100644 --- a/caffe2/python/operator_test/conv_transpose_test.py +++ b/caffe2/python/operator_test/conv_transpose_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/copy_ops_test.py b/caffe2/python/operator_test/copy_ops_test.py index 0f766f07c9b4..05a018ff90a2 100644 --- a/caffe2/python/operator_test/copy_ops_test.py +++ b/caffe2/python/operator_test/copy_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/cosine_embedding_criterion_op_test.py b/caffe2/python/operator_test/cosine_embedding_criterion_op_test.py index 57036f4dc163..d67df5fd3e1f 100644 --- a/caffe2/python/operator_test/cosine_embedding_criterion_op_test.py +++ b/caffe2/python/operator_test/cosine_embedding_criterion_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/counter_ops_test.py b/caffe2/python/operator_test/counter_ops_test.py index b2160c0e5ef5..3ebe26415622 100644 --- a/caffe2/python/operator_test/counter_ops_test.py +++ b/caffe2/python/operator_test/counter_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/crf_test.py b/caffe2/python/operator_test/crf_test.py index 6b081634125e..603b7dd4af23 100644 --- a/caffe2/python/operator_test/crf_test.py +++ b/caffe2/python/operator_test/crf_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/cross_entropy_ops_test.py b/caffe2/python/operator_test/cross_entropy_ops_test.py index 6545cd56d02a..e01cba3e6874 100644 --- a/caffe2/python/operator_test/cross_entropy_ops_test.py +++ b/caffe2/python/operator_test/cross_entropy_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/cudnn_recurrent_test.py b/caffe2/python/operator_test/cudnn_recurrent_test.py index 1870fca50ba2..40fe88b193ce 100644 --- a/caffe2/python/operator_test/cudnn_recurrent_test.py +++ b/caffe2/python/operator_test/cudnn_recurrent_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/dataset_ops_test.py b/caffe2/python/operator_test/dataset_ops_test.py index 82855d06c852..5cec140df2d7 100644 --- a/caffe2/python/operator_test/dataset_ops_test.py +++ b/caffe2/python/operator_test/dataset_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/distance_op_test.py b/caffe2/python/operator_test/distance_op_test.py index 899ec08ce553..0a5f9a38a4a7 100644 --- a/caffe2/python/operator_test/distance_op_test.py +++ b/caffe2/python/operator_test/distance_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/dropout_op_test.py b/caffe2/python/operator_test/dropout_op_test.py index 8fa69ebb5359..49eaf746560e 100644 --- a/caffe2/python/operator_test/dropout_op_test.py +++ b/caffe2/python/operator_test/dropout_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/duplicate_operands_test.py b/caffe2/python/operator_test/duplicate_operands_test.py index 44db7092698c..385e69fded4c 100644 --- a/caffe2/python/operator_test/duplicate_operands_test.py +++ b/caffe2/python/operator_test/duplicate_operands_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/elementwise_linear_op_test.py b/caffe2/python/operator_test/elementwise_linear_op_test.py index be6c0675d15a..c67a84921a4a 100644 --- a/caffe2/python/operator_test/elementwise_linear_op_test.py +++ b/caffe2/python/operator_test/elementwise_linear_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/elementwise_logical_ops_test.py b/caffe2/python/operator_test/elementwise_logical_ops_test.py index fb886a184557..7279dd5e1fb9 100644 --- a/caffe2/python/operator_test/elementwise_logical_ops_test.py +++ b/caffe2/python/operator_test/elementwise_logical_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/elementwise_op_broadcast_test.py b/caffe2/python/operator_test/elementwise_op_broadcast_test.py index 4ef920bd86a3..f7b1dca934dd 100644 --- a/caffe2/python/operator_test/elementwise_op_broadcast_test.py +++ b/caffe2/python/operator_test/elementwise_op_broadcast_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/elementwise_ops_test.py b/caffe2/python/operator_test/elementwise_ops_test.py index a52b0bb3102b..1eaabe385b19 100644 --- a/caffe2/python/operator_test/elementwise_ops_test.py +++ b/caffe2/python/operator_test/elementwise_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/emptysample_ops_test.py b/caffe2/python/operator_test/emptysample_ops_test.py index a186caa159cf..a04e9d0e161d 100644 --- a/caffe2/python/operator_test/emptysample_ops_test.py +++ b/caffe2/python/operator_test/emptysample_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/extend_tensor_op_test.py b/caffe2/python/operator_test/extend_tensor_op_test.py index 2bc79b5a0896..bf9162e4231d 100644 --- a/caffe2/python/operator_test/extend_tensor_op_test.py +++ b/caffe2/python/operator_test/extend_tensor_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/fc_operator_test.py b/caffe2/python/operator_test/fc_operator_test.py index 442d6fd091da..ff3a10259727 100644 --- a/caffe2/python/operator_test/fc_operator_test.py +++ b/caffe2/python/operator_test/fc_operator_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/filler_ops_test.py b/caffe2/python/operator_test/filler_ops_test.py index f392998dced4..186778ee9416 100644 --- a/caffe2/python/operator_test/filler_ops_test.py +++ b/caffe2/python/operator_test/filler_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/find_op_test.py b/caffe2/python/operator_test/find_op_test.py index dfdeb4f2314b..febf6efeef76 100644 --- a/caffe2/python/operator_test/find_op_test.py +++ b/caffe2/python/operator_test/find_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/flexible_top_k_test.py b/caffe2/python/operator_test/flexible_top_k_test.py index 803ec7d39137..08f079b5f8cf 100644 --- a/caffe2/python/operator_test/flexible_top_k_test.py +++ b/caffe2/python/operator_test/flexible_top_k_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/floor_op_test.py b/caffe2/python/operator_test/floor_op_test.py index 28dc2dcb1f98..aac1e81efa65 100644 --- a/caffe2/python/operator_test/floor_op_test.py +++ b/caffe2/python/operator_test/floor_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/gather_ops_test.py b/caffe2/python/operator_test/gather_ops_test.py index bb43820d85bc..2c2bc33910c5 100644 --- a/caffe2/python/operator_test/gather_ops_test.py +++ b/caffe2/python/operator_test/gather_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/gather_ranges_op_test.py b/caffe2/python/operator_test/gather_ranges_op_test.py index 54d00233dc8b..d653dd3297bc 100644 --- a/caffe2/python/operator_test/gather_ranges_op_test.py +++ b/caffe2/python/operator_test/gather_ranges_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/given_tensor_fill_op_test.py b/caffe2/python/operator_test/given_tensor_fill_op_test.py index e0a7ce232bcf..36333f411ba1 100644 --- a/caffe2/python/operator_test/given_tensor_fill_op_test.py +++ b/caffe2/python/operator_test/given_tensor_fill_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/group_conv_test.py b/caffe2/python/operator_test/group_conv_test.py index 9c26bc3a15f3..f0068c2fe28a 100644 --- a/caffe2/python/operator_test/group_conv_test.py +++ b/caffe2/python/operator_test/group_conv_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/gru_test.py b/caffe2/python/operator_test/gru_test.py index 5440eb2201b4..dbb36b9c8b22 100644 --- a/caffe2/python/operator_test/gru_test.py +++ b/caffe2/python/operator_test/gru_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/hsm_test.py b/caffe2/python/operator_test/hsm_test.py index 665f8531541d..26ee1de33312 100644 --- a/caffe2/python/operator_test/hsm_test.py +++ b/caffe2/python/operator_test/hsm_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/im2col_col2im_test.py b/caffe2/python/operator_test/im2col_col2im_test.py index c5edc81d074b..6db6cae47ad1 100644 --- a/caffe2/python/operator_test/im2col_col2im_test.py +++ b/caffe2/python/operator_test/im2col_col2im_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/image_input_op_test.py b/caffe2/python/operator_test/image_input_op_test.py index 807393b6d6df..fc2f7ba6c718 100644 --- a/caffe2/python/operator_test/image_input_op_test.py +++ b/caffe2/python/operator_test/image_input_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/index_hash_ops_test.py b/caffe2/python/operator_test/index_hash_ops_test.py index 7e88e18093de..1f8b7344b74b 100644 --- a/caffe2/python/operator_test/index_hash_ops_test.py +++ b/caffe2/python/operator_test/index_hash_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/index_ops_test.py b/caffe2/python/operator_test/index_ops_test.py index 7c15f8220e0e..642f340fad80 100644 --- a/caffe2/python/operator_test/index_ops_test.py +++ b/caffe2/python/operator_test/index_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/instance_norm_test.py b/caffe2/python/operator_test/instance_norm_test.py index 888b30dc0828..4377b82be2f9 100644 --- a/caffe2/python/operator_test/instance_norm_test.py +++ b/caffe2/python/operator_test/instance_norm_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/jsd_ops_test.py b/caffe2/python/operator_test/jsd_ops_test.py index 01f868d8afa2..97a1fbaeec22 100644 --- a/caffe2/python/operator_test/jsd_ops_test.py +++ b/caffe2/python/operator_test/jsd_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/key_split_ops_test.py b/caffe2/python/operator_test/key_split_ops_test.py index dbe0c1dae8b1..be38ee38926f 100644 --- a/caffe2/python/operator_test/key_split_ops_test.py +++ b/caffe2/python/operator_test/key_split_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/lars_test.py b/caffe2/python/operator_test/lars_test.py index cceea8ecbc78..da983d22b85d 100755 --- a/caffe2/python/operator_test/lars_test.py +++ b/caffe2/python/operator_test/lars_test.py @@ -1,17 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/layer_norm_op_test.py b/caffe2/python/operator_test/layer_norm_op_test.py index 2b443f1b3c04..e8bdfc35510d 100644 --- a/caffe2/python/operator_test/layer_norm_op_test.py +++ b/caffe2/python/operator_test/layer_norm_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/lc_operator_test.py b/caffe2/python/operator_test/lc_operator_test.py index 417982e1ba9d..3c8b4fcb7f1c 100644 --- a/caffe2/python/operator_test/lc_operator_test.py +++ b/caffe2/python/operator_test/lc_operator_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/leaky_relu_test.py b/caffe2/python/operator_test/leaky_relu_test.py index e95c59984a07..3ba195b8744a 100644 --- a/caffe2/python/operator_test/leaky_relu_test.py +++ b/caffe2/python/operator_test/leaky_relu_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/learning_rate_op_test.py b/caffe2/python/operator_test/learning_rate_op_test.py index 3cf6ce23c451..e999a0b72e77 100644 --- a/caffe2/python/operator_test/learning_rate_op_test.py +++ b/caffe2/python/operator_test/learning_rate_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/lengths_tile_op_test.py b/caffe2/python/operator_test/lengths_tile_op_test.py index f422d11b1e3e..d37904c08ec0 100644 --- a/caffe2/python/operator_test/lengths_tile_op_test.py +++ b/caffe2/python/operator_test/lengths_tile_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/lengths_top_k_ops_test.py b/caffe2/python/operator_test/lengths_top_k_ops_test.py index 149faf78d6f3..6ffb5fc4fa84 100644 --- a/caffe2/python/operator_test/lengths_top_k_ops_test.py +++ b/caffe2/python/operator_test/lengths_top_k_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/load_save_test.py b/caffe2/python/operator_test/load_save_test.py index 54d882202b6a..07f378beb18f 100644 --- a/caffe2/python/operator_test/load_save_test.py +++ b/caffe2/python/operator_test/load_save_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/loss_ops_test.py b/caffe2/python/operator_test/loss_ops_test.py index a19b4f75e8e5..a6ea88e55737 100644 --- a/caffe2/python/operator_test/loss_ops_test.py +++ b/caffe2/python/operator_test/loss_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/lpnorm_op_test.py b/caffe2/python/operator_test/lpnorm_op_test.py index bd086c5ddf51..8e6f2afc4a69 100644 --- a/caffe2/python/operator_test/lpnorm_op_test.py +++ b/caffe2/python/operator_test/lpnorm_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/map_ops_test.py b/caffe2/python/operator_test/map_ops_test.py index fcdd7cd44484..add86a3a467e 100644 --- a/caffe2/python/operator_test/map_ops_test.py +++ b/caffe2/python/operator_test/map_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/margin_ranking_criterion_op_test.py b/caffe2/python/operator_test/margin_ranking_criterion_op_test.py index 454e0919d96f..28f8e0a20f0a 100644 --- a/caffe2/python/operator_test/margin_ranking_criterion_op_test.py +++ b/caffe2/python/operator_test/margin_ranking_criterion_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/math_ops_test.py b/caffe2/python/operator_test/math_ops_test.py index afb35f1c671e..4661c7715ec5 100644 --- a/caffe2/python/operator_test/math_ops_test.py +++ b/caffe2/python/operator_test/math_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/matmul_op_test.py b/caffe2/python/operator_test/matmul_op_test.py index c2774c03b8b3..67fdf2cf5ffe 100644 --- a/caffe2/python/operator_test/matmul_op_test.py +++ b/caffe2/python/operator_test/matmul_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mean_op_test.py b/caffe2/python/operator_test/mean_op_test.py index de75bfbab1e0..cbb1adc95478 100644 --- a/caffe2/python/operator_test/mean_op_test.py +++ b/caffe2/python/operator_test/mean_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/merge_id_lists_op_test.py b/caffe2/python/operator_test/merge_id_lists_op_test.py index 4107b41409e8..1b4322e0624f 100644 --- a/caffe2/python/operator_test/merge_id_lists_op_test.py +++ b/caffe2/python/operator_test/merge_id_lists_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mkl_conv_op_test.py b/caffe2/python/operator_test/mkl_conv_op_test.py index 8c5ffbffa2ea..ac75673fb170 100644 --- a/caffe2/python/operator_test/mkl_conv_op_test.py +++ b/caffe2/python/operator_test/mkl_conv_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mkl_packed_fc_op_test.py b/caffe2/python/operator_test/mkl_packed_fc_op_test.py index e0666fe681e8..59546d3891e9 100644 --- a/caffe2/python/operator_test/mkl_packed_fc_op_test.py +++ b/caffe2/python/operator_test/mkl_packed_fc_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mkl_speed_test.py b/caffe2/python/operator_test/mkl_speed_test.py index 1baaab3b5195..6f2348f21c56 100644 --- a/caffe2/python/operator_test/mkl_speed_test.py +++ b/caffe2/python/operator_test/mkl_speed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mod_op_test.py b/caffe2/python/operator_test/mod_op_test.py index f7a40770b923..92a318f3f10f 100644 --- a/caffe2/python/operator_test/mod_op_test.py +++ b/caffe2/python/operator_test/mod_op_test.py @@ -1,17 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/momentum_sgd_test.py b/caffe2/python/operator_test/momentum_sgd_test.py old mode 100755 new mode 100644 index 9e178f5ff864..7bfceb61121c --- a/caffe2/python/operator_test/momentum_sgd_test.py +++ b/caffe2/python/operator_test/momentum_sgd_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/mpi_test.py b/caffe2/python/operator_test/mpi_test.py index 29f128e58ffd..0885289c7c1a 100644 --- a/caffe2/python/operator_test/mpi_test.py +++ b/caffe2/python/operator_test/mpi_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/ngram_ops_test.py b/caffe2/python/operator_test/ngram_ops_test.py index 743c4861ae1a..70aad5cab814 100644 --- a/caffe2/python/operator_test/ngram_ops_test.py +++ b/caffe2/python/operator_test/ngram_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/normalize_op_test.py b/caffe2/python/operator_test/normalize_op_test.py index 6aa17652ae91..965bbe73fec8 100644 --- a/caffe2/python/operator_test/normalize_op_test.py +++ b/caffe2/python/operator_test/normalize_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/one_hot_ops_test.py b/caffe2/python/operator_test/one_hot_ops_test.py index 6054726823e0..5d20e3ce9885 100644 --- a/caffe2/python/operator_test/one_hot_ops_test.py +++ b/caffe2/python/operator_test/one_hot_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/onnx_while_test.py b/caffe2/python/operator_test/onnx_while_test.py index f04262b2a6ed..1905dfc17ee8 100644 --- a/caffe2/python/operator_test/onnx_while_test.py +++ b/caffe2/python/operator_test/onnx_while_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/pack_ops_test.py b/caffe2/python/operator_test/pack_ops_test.py index 2311c4573088..0e66275ec380 100644 --- a/caffe2/python/operator_test/pack_ops_test.py +++ b/caffe2/python/operator_test/pack_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/pack_rnn_sequence_op_test.py b/caffe2/python/operator_test/pack_rnn_sequence_op_test.py index 9b6b1f75bc36..a5a3d6de537d 100644 --- a/caffe2/python/operator_test/pack_rnn_sequence_op_test.py +++ b/caffe2/python/operator_test/pack_rnn_sequence_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/pad_test.py b/caffe2/python/operator_test/pad_test.py index cbc54b82d9c8..ee5e001a91e2 100644 --- a/caffe2/python/operator_test/pad_test.py +++ b/caffe2/python/operator_test/pad_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/partition_ops_test.py b/caffe2/python/operator_test/partition_ops_test.py index 86cdf766574c..a5a7db12b1ef 100644 --- a/caffe2/python/operator_test/partition_ops_test.py +++ b/caffe2/python/operator_test/partition_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/piecewise_linear_transform_test.py b/caffe2/python/operator_test/piecewise_linear_transform_test.py index 627e77e63276..f09dcdcde2b6 100644 --- a/caffe2/python/operator_test/piecewise_linear_transform_test.py +++ b/caffe2/python/operator_test/piecewise_linear_transform_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/pooling_test.py b/caffe2/python/operator_test/pooling_test.py index 037712273e14..956d0ec96199 100644 --- a/caffe2/python/operator_test/pooling_test.py +++ b/caffe2/python/operator_test/pooling_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/prepend_dim_test.py b/caffe2/python/operator_test/prepend_dim_test.py index a6e18c72d0cd..a5b7d01fb17f 100644 --- a/caffe2/python/operator_test/prepend_dim_test.py +++ b/caffe2/python/operator_test/prepend_dim_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/python_op_test.py b/caffe2/python/operator_test/python_op_test.py index f1646237564f..582ea3e784df 100644 --- a/caffe2/python/operator_test/python_op_test.py +++ b/caffe2/python/operator_test/python_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/rank_loss_operator_test.py b/caffe2/python/operator_test/rank_loss_operator_test.py index 45f78d463e2a..97e352e93f18 100644 --- a/caffe2/python/operator_test/rank_loss_operator_test.py +++ b/caffe2/python/operator_test/rank_loss_operator_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/rebatching_queue_test.py b/caffe2/python/operator_test/rebatching_queue_test.py index 57ebac0fad7e..af207bedc69a 100644 --- a/caffe2/python/operator_test/rebatching_queue_test.py +++ b/caffe2/python/operator_test/rebatching_queue_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/record_queue_test.py b/caffe2/python/operator_test/record_queue_test.py index a22594902da4..d32b3e794ab4 100644 --- a/caffe2/python/operator_test/record_queue_test.py +++ b/caffe2/python/operator_test/record_queue_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/recurrent_net_executor_test.py b/caffe2/python/operator_test/recurrent_net_executor_test.py index 535f5c24ac31..5d3d6f314e31 100644 --- a/caffe2/python/operator_test/recurrent_net_executor_test.py +++ b/caffe2/python/operator_test/recurrent_net_executor_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/recurrent_network_test.py b/caffe2/python/operator_test/recurrent_network_test.py index be3e3b075fd6..afb9e1ebf86f 100644 --- a/caffe2/python/operator_test/recurrent_network_test.py +++ b/caffe2/python/operator_test/recurrent_network_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/reduce_ops_test.py b/caffe2/python/operator_test/reduce_ops_test.py index c8707f1e1524..55bfba5068e6 100644 --- a/caffe2/python/operator_test/reduce_ops_test.py +++ b/caffe2/python/operator_test/reduce_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/reduction_ops_test.py b/caffe2/python/operator_test/reduction_ops_test.py index 4f929d4cae2b..e5acd478e83f 100644 --- a/caffe2/python/operator_test/reduction_ops_test.py +++ b/caffe2/python/operator_test/reduction_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/relu_op_test.py b/caffe2/python/operator_test/relu_op_test.py index fcd11d6313b1..bc1569c0f7ca 100644 --- a/caffe2/python/operator_test/relu_op_test.py +++ b/caffe2/python/operator_test/relu_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/reshape_ops_test.py b/caffe2/python/operator_test/reshape_ops_test.py index cc40f60e0e37..bf3a6564ef45 100644 --- a/caffe2/python/operator_test/reshape_ops_test.py +++ b/caffe2/python/operator_test/reshape_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/resize_op_test.py b/caffe2/python/operator_test/resize_op_test.py index f333af8bf6ae..f0c9c77b613a 100644 --- a/caffe2/python/operator_test/resize_op_test.py +++ b/caffe2/python/operator_test/resize_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/rmac_regions_op_test.py b/caffe2/python/operator_test/rmac_regions_op_test.py index 94d83b412671..5b6b19c6da65 100644 --- a/caffe2/python/operator_test/rmac_regions_op_test.py +++ b/caffe2/python/operator_test/rmac_regions_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/rnn_cell_test.py b/caffe2/python/operator_test/rnn_cell_test.py index cfdb9788c6ad..9d9bb38e1785 100644 --- a/caffe2/python/operator_test/rnn_cell_test.py +++ b/caffe2/python/operator_test/rnn_cell_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/segment_ops_test.py b/caffe2/python/operator_test/segment_ops_test.py index c97869980cbe..3df06cbd0251 100644 --- a/caffe2/python/operator_test/segment_ops_test.py +++ b/caffe2/python/operator_test/segment_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sequence_ops_test.py b/caffe2/python/operator_test/sequence_ops_test.py index 3aef486707dd..6c35ce5689d3 100644 --- a/caffe2/python/operator_test/sequence_ops_test.py +++ b/caffe2/python/operator_test/sequence_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/shape_inference_test.py b/caffe2/python/operator_test/shape_inference_test.py index a28a4f22dd62..4c40c2cbfb8d 100644 --- a/caffe2/python/operator_test/shape_inference_test.py +++ b/caffe2/python/operator_test/shape_inference_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sinusoid_position_encoding_op_test.py b/caffe2/python/operator_test/sinusoid_position_encoding_op_test.py index 235b7ebb1041..576c79892ca6 100644 --- a/caffe2/python/operator_test/sinusoid_position_encoding_op_test.py +++ b/caffe2/python/operator_test/sinusoid_position_encoding_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/softmax_ops_test.py b/caffe2/python/operator_test/softmax_ops_test.py index e1f442d90875..96e086f2bc47 100644 --- a/caffe2/python/operator_test/softmax_ops_test.py +++ b/caffe2/python/operator_test/softmax_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/softplus_op_test.py b/caffe2/python/operator_test/softplus_op_test.py index a4594246cee5..37bd2b516702 100644 --- a/caffe2/python/operator_test/softplus_op_test.py +++ b/caffe2/python/operator_test/softplus_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sparse_gradient_checker_test.py b/caffe2/python/operator_test/sparse_gradient_checker_test.py index 9392f7e7e25f..130a2e7d02b9 100644 --- a/caffe2/python/operator_test/sparse_gradient_checker_test.py +++ b/caffe2/python/operator_test/sparse_gradient_checker_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sparse_lengths_sum_benchmark.py b/caffe2/python/operator_test/sparse_lengths_sum_benchmark.py index 72226a88a5e1..47b516a1d0af 100644 --- a/caffe2/python/operator_test/sparse_lengths_sum_benchmark.py +++ b/caffe2/python/operator_test/sparse_lengths_sum_benchmark.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sparse_normalize_test.py b/caffe2/python/operator_test/sparse_normalize_test.py index 5fd6bced499a..e80a2bc5c746 100644 --- a/caffe2/python/operator_test/sparse_normalize_test.py +++ b/caffe2/python/operator_test/sparse_normalize_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sparse_ops_test.py b/caffe2/python/operator_test/sparse_ops_test.py index 70e796ab7205..38dfdf3764ab 100644 --- a/caffe2/python/operator_test/sparse_ops_test.py +++ b/caffe2/python/operator_test/sparse_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/sparse_to_dense_mask_op_test.py b/caffe2/python/operator_test/sparse_to_dense_mask_op_test.py index cdcdfadb67b2..a8eeac0ca900 100644 --- a/caffe2/python/operator_test/sparse_to_dense_mask_op_test.py +++ b/caffe2/python/operator_test/sparse_to_dense_mask_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/spatial_bn_op_test.py b/caffe2/python/operator_test/spatial_bn_op_test.py index 8d3055dd1daf..1a1584121820 100644 --- a/caffe2/python/operator_test/spatial_bn_op_test.py +++ b/caffe2/python/operator_test/spatial_bn_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/specialized_segment_ops_test.py b/caffe2/python/operator_test/specialized_segment_ops_test.py index 411258545364..1ce9e5e708ef 100644 --- a/caffe2/python/operator_test/specialized_segment_ops_test.py +++ b/caffe2/python/operator_test/specialized_segment_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/square_root_divide_op_test.py b/caffe2/python/operator_test/square_root_divide_op_test.py index d106c5830c54..253184a4bb8e 100644 --- a/caffe2/python/operator_test/square_root_divide_op_test.py +++ b/caffe2/python/operator_test/square_root_divide_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/stats_ops_test.py b/caffe2/python/operator_test/stats_ops_test.py index 0472e8090554..edc36facb236 100644 --- a/caffe2/python/operator_test/stats_ops_test.py +++ b/caffe2/python/operator_test/stats_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/string_ops_test.py b/caffe2/python/operator_test/string_ops_test.py index a98d301b74d2..49c25bc2bd6a 100644 --- a/caffe2/python/operator_test/string_ops_test.py +++ b/caffe2/python/operator_test/string_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/text_file_reader_test.py b/caffe2/python/operator_test/text_file_reader_test.py old mode 100755 new mode 100644 index 9c1fd080f8f0..41ba814af6ab --- a/caffe2/python/operator_test/text_file_reader_test.py +++ b/caffe2/python/operator_test/text_file_reader_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/thresholded_relu_op_test.py b/caffe2/python/operator_test/thresholded_relu_op_test.py index 88a17a003750..6c50f0224610 100644 --- a/caffe2/python/operator_test/thresholded_relu_op_test.py +++ b/caffe2/python/operator_test/thresholded_relu_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/tile_op_test.py b/caffe2/python/operator_test/tile_op_test.py index 05fa8000f7fd..b04f07f6f51f 100644 --- a/caffe2/python/operator_test/tile_op_test.py +++ b/caffe2/python/operator_test/tile_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/top_k_test.py b/caffe2/python/operator_test/top_k_test.py index dcb1feb60344..8ec9b571ae49 100644 --- a/caffe2/python/operator_test/top_k_test.py +++ b/caffe2/python/operator_test/top_k_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/unique_uniform_fill_op_test.py b/caffe2/python/operator_test/unique_uniform_fill_op_test.py index ae789302f328..f858e8fa06bd 100644 --- a/caffe2/python/operator_test/unique_uniform_fill_op_test.py +++ b/caffe2/python/operator_test/unique_uniform_fill_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/utility_ops_test.py b/caffe2/python/operator_test/utility_ops_test.py index db6788841484..3bcff97d2ca1 100644 --- a/caffe2/python/operator_test/utility_ops_test.py +++ b/caffe2/python/operator_test/utility_ops_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/operator_test/video_input_op_test.py b/caffe2/python/operator_test/video_input_op_test.py index b95c0cd67914..3218e45a961d 100644 --- a/caffe2/python/operator_test/video_input_op_test.py +++ b/caffe2/python/operator_test/video_input_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/optimizer.py b/caffe2/python/optimizer.py index d3a098fe5bb0..c2c83ad840cc 100644 --- a/caffe2/python/optimizer.py +++ b/caffe2/python/optimizer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package optimizer # Module caffe2.python.optimizer from __future__ import absolute_import diff --git a/caffe2/python/optimizer_context.py b/caffe2/python/optimizer_context.py index 1551afdbff1f..454d7216e557 100644 --- a/caffe2/python/optimizer_context.py +++ b/caffe2/python/optimizer_context.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package optimizer_context # Module caffe2.python.optimizer_context from __future__ import absolute_import diff --git a/caffe2/python/optimizer_test.py b/caffe2/python/optimizer_test.py index 84d3d403c2e4..9c10c01a4039 100644 --- a/caffe2/python/optimizer_test.py +++ b/caffe2/python/optimizer_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/optimizer_test_util.py b/caffe2/python/optimizer_test_util.py index 64f59aa65bbd..8e2efd9fdf62 100644 --- a/caffe2/python/optimizer_test_util.py +++ b/caffe2/python/optimizer_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package optimizer_test_util # Module caffe2.python.optimizer_test_util from __future__ import absolute_import diff --git a/caffe2/python/parallel_workers.py b/caffe2/python/parallel_workers.py index ac4f408d475a..6742145efbd8 100644 --- a/caffe2/python/parallel_workers.py +++ b/caffe2/python/parallel_workers.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package parallel_workers # Module caffe2.python.parallel_workers from __future__ import absolute_import diff --git a/caffe2/python/parallel_workers_test.py b/caffe2/python/parallel_workers_test.py index 824b479406ee..344bd155b028 100644 --- a/caffe2/python/parallel_workers_test.py +++ b/caffe2/python/parallel_workers_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/parallelize_bmuf_distributed_test.py b/caffe2/python/parallelize_bmuf_distributed_test.py index 949e0b44b02a..afce7c6e1079 100644 --- a/caffe2/python/parallelize_bmuf_distributed_test.py +++ b/caffe2/python/parallelize_bmuf_distributed_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/pipeline.py b/caffe2/python/pipeline.py index 106e273b42a9..e2a8ac0c2102 100644 --- a/caffe2/python/pipeline.py +++ b/caffe2/python/pipeline.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package pipeline # Module caffe2.python.pipeline from __future__ import absolute_import diff --git a/caffe2/python/pipeline_test.py b/caffe2/python/pipeline_test.py index 7636e964530a..5f57355b25d3 100644 --- a/caffe2/python/pipeline_test.py +++ b/caffe2/python/pipeline_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/predictor/mobile_exporter.py b/caffe2/python/predictor/mobile_exporter.py index a5c82114fc06..07f88def0155 100644 --- a/caffe2/python/predictor/mobile_exporter.py +++ b/caffe2/python/predictor/mobile_exporter.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package mobile_exporter # Module caffe2.python.mobile_exporter diff --git a/caffe2/python/predictor/mobile_exporter_test.py b/caffe2/python/predictor/mobile_exporter_test.py index 0ae91da5300c..e7bbe2c90351 100644 --- a/caffe2/python/predictor/mobile_exporter_test.py +++ b/caffe2/python/predictor/mobile_exporter_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/predictor/predictor_exporter.py b/caffe2/python/predictor/predictor_exporter.py index 05b94a82ba17..9cbd69954bac 100644 --- a/caffe2/python/predictor/predictor_exporter.py +++ b/caffe2/python/predictor/predictor_exporter.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package predictor_exporter # Module caffe2.python.predictor.predictor_exporter from __future__ import absolute_import diff --git a/caffe2/python/predictor/predictor_exporter_test.py b/caffe2/python/predictor/predictor_exporter_test.py index 41b70e13050d..b4c71535debe 100644 --- a/caffe2/python/predictor/predictor_exporter_test.py +++ b/caffe2/python/predictor/predictor_exporter_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/predictor/predictor_py_utils.py b/caffe2/python/predictor/predictor_py_utils.py index 8acf51b3ac3a..ce7cfaebafd7 100644 --- a/caffe2/python/predictor/predictor_py_utils.py +++ b/caffe2/python/predictor/predictor_py_utils.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package predictor_py_utils # Module caffe2.python.predictor.predictor_py_utils from __future__ import absolute_import diff --git a/caffe2/python/predictor/serde.py b/caffe2/python/predictor/serde.py index b68dabe89be8..af48b2920a87 100644 --- a/caffe2/python/predictor/serde.py +++ b/caffe2/python/predictor/serde.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package serde # Module caffe2.python.predictor.serde from __future__ import absolute_import diff --git a/caffe2/python/predictor_constants.py b/caffe2/python/predictor_constants.py index 2e35794b0dfc..c1e1dedb8b09 100644 --- a/caffe2/python/predictor_constants.py +++ b/caffe2/python/predictor_constants.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package predictor_constants # Module caffe2.python.predictor_constants from __future__ import absolute_import diff --git a/caffe2/python/pybind_state.cc b/caffe2/python/pybind_state.cc index 6484ff73485a..4f8f35d1f51e 100644 --- a/caffe2/python/pybind_state.cc +++ b/caffe2/python/pybind_state.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "pybind_state.h" #include diff --git a/caffe2/python/pybind_state.h b/caffe2/python/pybind_state.h index b5d207d8abef..65882d9f1573 100644 --- a/caffe2/python/pybind_state.h +++ b/caffe2/python/pybind_state.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/python/pybind_state_dlpack.cc b/caffe2/python/pybind_state_dlpack.cc index 6f5544f8a88c..1fea0a73c86f 100644 --- a/caffe2/python/pybind_state_dlpack.cc +++ b/caffe2/python/pybind_state_dlpack.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "pybind_state_dlpack.h" namespace caffe2 { diff --git a/caffe2/python/pybind_state_dlpack.h b/caffe2/python/pybind_state_dlpack.h index 955cdd87a92f..5d32f63a0b83 100644 --- a/caffe2/python/pybind_state_dlpack.h +++ b/caffe2/python/pybind_state_dlpack.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/context.h" diff --git a/caffe2/python/pybind_state_gpu.cc b/caffe2/python/pybind_state_gpu.cc index 4954b5d39377..3669a1a5058d 100644 --- a/caffe2/python/pybind_state_gpu.cc +++ b/caffe2/python/pybind_state_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Note(jiayq): the import_array function is done inside // caffe2_python.cc. Read // http://docs.scipy.org/doc/numpy-1.10.1/reference/c-api.array.html#miscellaneous diff --git a/caffe2/python/pybind_state_mkl.cc b/caffe2/python/pybind_state_mkl.cc index 55936fc25801..ea111139faf4 100644 --- a/caffe2/python/pybind_state_mkl.cc +++ b/caffe2/python/pybind_state_mkl.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Note(jiayq): the import_array function is done inside // caffe2_python.cc. Read // http://docs.scipy.org/doc/numpy-1.10.1/reference/c-api.array.html#miscellaneous diff --git a/caffe2/python/python_op_test.py b/caffe2/python/python_op_test.py index abac2bcdd54b..3eb3d4d416f2 100644 --- a/caffe2/python/python_op_test.py +++ b/caffe2/python/python_op_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/queue_util.py b/caffe2/python/queue_util.py index f7bb04b7967f..62265758c2f2 100644 --- a/caffe2/python/queue_util.py +++ b/caffe2/python/queue_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package queue_util # Module caffe2.python.queue_util from __future__ import absolute_import diff --git a/caffe2/python/record_queue.py b/caffe2/python/record_queue.py index 36925e633a4a..d5f129a2f902 100644 --- a/caffe2/python/record_queue.py +++ b/caffe2/python/record_queue.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package record_queue # Module caffe2.python.record_queue """ diff --git a/caffe2/python/recurrent.py b/caffe2/python/recurrent.py index dcf0527d764a..e5b48894efbc 100644 --- a/caffe2/python/recurrent.py +++ b/caffe2/python/recurrent.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package recurrent # Module caffe2.python.recurrent from __future__ import absolute_import diff --git a/caffe2/python/regularizer.py b/caffe2/python/regularizer.py index 6aa32a5f894f..e5381ac6ab7d 100644 --- a/caffe2/python/regularizer.py +++ b/caffe2/python/regularizer.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package optimizer # Module caffe2.python.optimizer from __future__ import absolute_import diff --git a/caffe2/python/regularizer_context.py b/caffe2/python/regularizer_context.py index 73c9b3a1b38b..c33b19ad74a4 100644 --- a/caffe2/python/regularizer_context.py +++ b/caffe2/python/regularizer_context.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - # @package regularizer_context # Module caffe2.python.regularizer_context from __future__ import absolute_import diff --git a/caffe2/python/rnn/lstm_comparison.py b/caffe2/python/rnn/lstm_comparison.py index ad0667887362..2d44e09f9797 100644 --- a/caffe2/python/rnn/lstm_comparison.py +++ b/caffe2/python/rnn/lstm_comparison.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/rnn/rnn_cell_test_util.py b/caffe2/python/rnn/rnn_cell_test_util.py index 8406601ad59c..1533c1e3d418 100644 --- a/caffe2/python/rnn/rnn_cell_test_util.py +++ b/caffe2/python/rnn/rnn_cell_test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/rnn_cell.py b/caffe2/python/rnn_cell.py index 50635f11e0b2..be544a0d7981 100644 --- a/caffe2/python/rnn_cell.py +++ b/caffe2/python/rnn_cell.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package rnn_cell # Module caffe2.python.rnn_cell from __future__ import absolute_import diff --git a/caffe2/python/schema.py b/caffe2/python/schema.py index b0f07e9f4c2c..7c9fdc5b8b4a 100644 --- a/caffe2/python/schema.py +++ b/caffe2/python/schema.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package schema # Module caffe2.python.schema """ diff --git a/caffe2/python/schema_test.py b/caffe2/python/schema_test.py index abe8176c7bd1..6ad927ea61b2 100644 --- a/caffe2/python/schema_test.py +++ b/caffe2/python/schema_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/scope.py b/caffe2/python/scope.py index 148980f902e7..2b31db08244d 100644 --- a/caffe2/python/scope.py +++ b/caffe2/python/scope.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package scope # Module caffe2.python.scope from __future__ import absolute_import diff --git a/caffe2/python/scope_test.py b/caffe2/python/scope_test.py index a262c25fcfc3..d83bfe95c06d 100644 --- a/caffe2/python/scope_test.py +++ b/caffe2/python/scope_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/session.py b/caffe2/python/session.py index 34d289c11644..b6679bd19b7e 100644 --- a/caffe2/python/session.py +++ b/caffe2/python/session.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package session # Module caffe2.python.session from __future__ import absolute_import diff --git a/caffe2/python/session_test.py b/caffe2/python/session_test.py index 443e3b29be41..ae5e50d23ec7 100644 --- a/caffe2/python/session_test.py +++ b/caffe2/python/session_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/sparse_to_dense_mask_test.py b/caffe2/python/sparse_to_dense_mask_test.py index ef952c221503..73e10d0725b8 100644 --- a/caffe2/python/sparse_to_dense_mask_test.py +++ b/caffe2/python/sparse_to_dense_mask_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/sparse_to_dense_test.py b/caffe2/python/sparse_to_dense_test.py index be1536f86256..13547d6d327d 100644 --- a/caffe2/python/sparse_to_dense_test.py +++ b/caffe2/python/sparse_to_dense_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/task.py b/caffe2/python/task.py index 855d89f205bf..311211dfdff3 100644 --- a/caffe2/python/task.py +++ b/caffe2/python/task.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package task # Module caffe2.python.task from __future__ import absolute_import diff --git a/caffe2/python/test_util.py b/caffe2/python/test_util.py index c6500e4e7789..769679e46f2b 100644 --- a/caffe2/python/test_util.py +++ b/caffe2/python/test_util.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package test_util # Module caffe2.python.test_util from __future__ import absolute_import diff --git a/caffe2/python/text_file_reader.py b/caffe2/python/text_file_reader.py index f57272f1c164..c351bcdb94d9 100644 --- a/caffe2/python/text_file_reader.py +++ b/caffe2/python/text_file_reader.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package text_file_reader # Module caffe2.python.text_file_reader from __future__ import absolute_import diff --git a/caffe2/python/timeout_guard.py b/caffe2/python/timeout_guard.py index 0caf6d07c2e2..07226c128ffe 100644 --- a/caffe2/python/timeout_guard.py +++ b/caffe2/python/timeout_guard.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package timeout_guard # Module caffe2.python.timeout_guard from __future__ import absolute_import diff --git a/caffe2/python/toy_regression_test.py b/caffe2/python/toy_regression_test.py index 73ffa038bac9..2140074f88d4 100644 --- a/caffe2/python/toy_regression_test.py +++ b/caffe2/python/toy_regression_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - import numpy as np import unittest diff --git a/caffe2/python/tt_core.py b/caffe2/python/tt_core.py index 99ebbc07651b..a2011da16b15 100644 --- a/caffe2/python/tt_core.py +++ b/caffe2/python/tt_core.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package tt_core # Module caffe2.python.tt_core from __future__ import absolute_import diff --git a/caffe2/python/tt_core_test.py b/caffe2/python/tt_core_test.py index 33db064ce497..aec5764e66e5 100644 --- a/caffe2/python/tt_core_test.py +++ b/caffe2/python/tt_core_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/python/utils.py b/caffe2/python/utils.py index 3ddc725e5325..8613f2e4d919 100644 --- a/caffe2/python/utils.py +++ b/caffe2/python/utils.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package utils # Module caffe2.python.utils from __future__ import absolute_import diff --git a/caffe2/python/visualize.py b/caffe2/python/visualize.py index 3798b89acc9c..1eecdcdc583c 100644 --- a/caffe2/python/visualize.py +++ b/caffe2/python/visualize.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package visualize # Module caffe2.python.visualize """Functions that could be used to visualize Tensors. diff --git a/caffe2/python/workspace.py b/caffe2/python/workspace.py index 0ee6d06572c3..3f1734e5232f 100644 --- a/caffe2/python/workspace.py +++ b/caffe2/python/workspace.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - ## @package workspace # Module caffe2.python.workspace from __future__ import absolute_import diff --git a/caffe2/python/workspace_test.py b/caffe2/python/workspace_test.py index 2ca12cab5f68..ebc1cb9b9fa5 100644 --- a/caffe2/python/workspace_test.py +++ b/caffe2/python/workspace_test.py @@ -1,18 +1,3 @@ -# Copyright (c) 2016-present, Facebook, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################## - from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/caffe2/queue/blobs_queue.cc b/caffe2/queue/blobs_queue.cc index e4d1e5aa53cf..9a4c330b0360 100644 --- a/caffe2/queue/blobs_queue.cc +++ b/caffe2/queue/blobs_queue.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/queue/blobs_queue.h" #include diff --git a/caffe2/queue/blobs_queue.h b/caffe2/queue/blobs_queue.h index 3260e84aa344..ab98bc6457bc 100644 --- a/caffe2/queue/blobs_queue.h +++ b/caffe2/queue/blobs_queue.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/queue/blobs_queue_db.cc b/caffe2/queue/blobs_queue_db.cc index edb389c2633c..ef06be9f3fd1 100644 --- a/caffe2/queue/blobs_queue_db.cc +++ b/caffe2/queue/blobs_queue_db.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/queue/blobs_queue_db.h" #include diff --git a/caffe2/queue/blobs_queue_db.h b/caffe2/queue/blobs_queue_db.h index bca79a3f4fb8..7d4ac146f05d 100644 --- a/caffe2/queue/blobs_queue_db.h +++ b/caffe2/queue/blobs_queue_db.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/queue/queue_ops.cc b/caffe2/queue/queue_ops.cc index 9208abd494ab..d26ce2b3b135 100644 --- a/caffe2/queue/queue_ops.cc +++ b/caffe2/queue/queue_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "queue_ops.h" #include #include "caffe2/utils/math.h" diff --git a/caffe2/queue/queue_ops.h b/caffe2/queue/queue_ops.h index 5fe4c64dfcaf..4ed6acaa1b69 100644 --- a/caffe2/queue/queue_ops.h +++ b/caffe2/queue/queue_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/queue/queue_ops_gpu.cc b/caffe2/queue/queue_ops_gpu.cc index 8045a3f19219..9d818b20ec85 100644 --- a/caffe2/queue/queue_ops_gpu.cc +++ b/caffe2/queue/queue_ops_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/math.h" #include "queue_ops.h" diff --git a/caffe2/queue/rebatching_queue.cc b/caffe2/queue/rebatching_queue.cc index ec911c3a7682..3389cfe63080 100644 --- a/caffe2/queue/rebatching_queue.cc +++ b/caffe2/queue/rebatching_queue.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rebatching_queue.h" #include "caffe2/utils/smart_tensor_printer.h" diff --git a/caffe2/queue/rebatching_queue.h b/caffe2/queue/rebatching_queue.h index d3df371b19af..052402e02fe7 100644 --- a/caffe2/queue/rebatching_queue.h +++ b/caffe2/queue/rebatching_queue.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/queue/rebatching_queue_ops.cc b/caffe2/queue/rebatching_queue_ops.cc index 4412ad3c1247..5a18eace2665 100644 --- a/caffe2/queue/rebatching_queue_ops.cc +++ b/caffe2/queue/rebatching_queue_ops.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rebatching_queue_ops.h" namespace caffe2 { diff --git a/caffe2/queue/rebatching_queue_ops.h b/caffe2/queue/rebatching_queue_ops.h index 5050ec33acbd..80749a42692e 100644 --- a/caffe2/queue/rebatching_queue_ops.h +++ b/caffe2/queue/rebatching_queue_ops.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "rebatching_queue.h" diff --git a/caffe2/sgd/adagrad_op.cc b/caffe2/sgd/adagrad_op.cc index 7746d99e73c1..cc9f896adee4 100644 --- a/caffe2/sgd/adagrad_op.cc +++ b/caffe2/sgd/adagrad_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "adagrad_op.h" namespace caffe2 { diff --git a/caffe2/sgd/adagrad_op.h b/caffe2/sgd/adagrad_op.h index 98a535fbec40..fca33a3c8a2b 100644 --- a/caffe2/sgd/adagrad_op.h +++ b/caffe2/sgd/adagrad_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/sgd/adagrad_op_gpu.cu b/caffe2/sgd/adagrad_op_gpu.cu index 36ad1bce7d15..71e9f9253ab7 100644 --- a/caffe2/sgd/adagrad_op_gpu.cu +++ b/caffe2/sgd/adagrad_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "adagrad_op.h" #include "caffe2/core/common_gpu.h" diff --git a/caffe2/sgd/adam_op.cc b/caffe2/sgd/adam_op.cc index bda47b9bd679..5e3bb326ccd7 100644 --- a/caffe2/sgd/adam_op.cc +++ b/caffe2/sgd/adam_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "adam_op.h" namespace caffe2 { diff --git a/caffe2/sgd/adam_op.h b/caffe2/sgd/adam_op.h index 21d8642db00b..d71cc8bbe902 100644 --- a/caffe2/sgd/adam_op.h +++ b/caffe2/sgd/adam_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/sgd/adam_op_gpu.cu b/caffe2/sgd/adam_op_gpu.cu index 3c0e2edca0a1..5dd153c8010a 100644 --- a/caffe2/sgd/adam_op_gpu.cu +++ b/caffe2/sgd/adam_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "adam_op.h" #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/sgd/clip_tensor_op.h b/caffe2/sgd/clip_tensor_op.h index 2e203cb1108b..88a5bb1b22d7 100644 --- a/caffe2/sgd/clip_tensor_op.h +++ b/caffe2/sgd/clip_tensor_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_CLIP_TENSOR_OP_H_ #define CAFFE2_OPERATORS_CLIP_TENSOR_OP_H_ diff --git a/caffe2/sgd/ftrl_op.cc b/caffe2/sgd/ftrl_op.cc index 76775308e581..263406114670 100644 --- a/caffe2/sgd/ftrl_op.cc +++ b/caffe2/sgd/ftrl_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "ftrl_op.h" namespace caffe2 { diff --git a/caffe2/sgd/ftrl_op.h b/caffe2/sgd/ftrl_op.h index 63296f183d5d..079fe60d1bc4 100644 --- a/caffe2/sgd/ftrl_op.h +++ b/caffe2/sgd/ftrl_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/sgd/iter_op.cc b/caffe2/sgd/iter_op.cc index 42eec6eba62c..df9e261f2ea7 100644 --- a/caffe2/sgd/iter_op.cc +++ b/caffe2/sgd/iter_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/sgd/iter_op.h" namespace caffe2 { diff --git a/caffe2/sgd/iter_op.h b/caffe2/sgd/iter_op.h index e45351a1f955..13681d7db341 100644 --- a/caffe2/sgd/iter_op.h +++ b/caffe2/sgd/iter_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_SGD_ITER_OP_H_ #define CAFFE2_SGD_ITER_OP_H_ diff --git a/caffe2/sgd/iter_op_gpu.cc b/caffe2/sgd/iter_op_gpu.cc index 8feb1a2d21c7..bdc93b994872 100644 --- a/caffe2/sgd/iter_op_gpu.cc +++ b/caffe2/sgd/iter_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/sgd/iter_op.h" diff --git a/caffe2/sgd/lars_op.cc b/caffe2/sgd/lars_op.cc index f171b6e63474..a47d5c94d5f1 100644 --- a/caffe2/sgd/lars_op.cc +++ b/caffe2/sgd/lars_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/sgd/lars_op.h" #include #include "caffe2/utils/math.h" diff --git a/caffe2/sgd/lars_op.h b/caffe2/sgd/lars_op.h index 420516f347d4..f4eca35915ff 100644 --- a/caffe2/sgd/lars_op.h +++ b/caffe2/sgd/lars_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_OPERATORS_LARS_OP_H_ #define CAFFE2_OPERATORS_LARS_OP_H_ diff --git a/caffe2/sgd/lars_op_gpu.cu b/caffe2/sgd/lars_op_gpu.cu index d33d52b9be3c..6008da931300 100644 --- a/caffe2/sgd/lars_op_gpu.cu +++ b/caffe2/sgd/lars_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/operators/operator_fallback_gpu.h" #include "caffe2/sgd/lars_op.h" diff --git a/caffe2/sgd/learning_rate_functors.h b/caffe2/sgd/learning_rate_functors.h index 2ed05e7b39f7..2c2d7e75fb6a 100644 --- a/caffe2/sgd/learning_rate_functors.h +++ b/caffe2/sgd/learning_rate_functors.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_SGD_LEARNING_RATE_FUNCTORS_H_ #define CAFFE2_SGD_LEARNING_RATE_FUNCTORS_H_ diff --git a/caffe2/sgd/learning_rate_op.cc b/caffe2/sgd/learning_rate_op.cc index ecddbccff82f..389c651679a9 100644 --- a/caffe2/sgd/learning_rate_op.cc +++ b/caffe2/sgd/learning_rate_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/sgd/learning_rate_op.h" namespace caffe2 { diff --git a/caffe2/sgd/learning_rate_op.h b/caffe2/sgd/learning_rate_op.h index 57036fd3b95d..a2e2109d501f 100644 --- a/caffe2/sgd/learning_rate_op.h +++ b/caffe2/sgd/learning_rate_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_SGD_LEARNING_RATE_OP_H_ #define CAFFE2_SGD_LEARNING_RATE_OP_H_ diff --git a/caffe2/sgd/learning_rate_op_gpu.cc b/caffe2/sgd/learning_rate_op_gpu.cc index 423634c0c41d..f2d4cdf0000d 100644 --- a/caffe2/sgd/learning_rate_op_gpu.cc +++ b/caffe2/sgd/learning_rate_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/context_gpu.h" #include "caffe2/sgd/learning_rate_op.h" diff --git a/caffe2/sgd/momentum_sgd_op.cc b/caffe2/sgd/momentum_sgd_op.cc index 7bb37fe965ff..c1c54097e9eb 100644 --- a/caffe2/sgd/momentum_sgd_op.cc +++ b/caffe2/sgd/momentum_sgd_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "momentum_sgd_op.h" namespace caffe2 { diff --git a/caffe2/sgd/momentum_sgd_op.h b/caffe2/sgd/momentum_sgd_op.h index 2f4d1f0f2e75..23da3d420c82 100644 --- a/caffe2/sgd/momentum_sgd_op.h +++ b/caffe2/sgd/momentum_sgd_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/operator.h" diff --git a/caffe2/sgd/momentum_sgd_op_gpu.cu b/caffe2/sgd/momentum_sgd_op_gpu.cu index 00f182e6708c..9ef3f7e5d96d 100644 --- a/caffe2/sgd/momentum_sgd_op_gpu.cu +++ b/caffe2/sgd/momentum_sgd_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "momentum_sgd_op.h" #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/sgd/rmsprop_op.cc b/caffe2/sgd/rmsprop_op.cc index a00d032d56e6..3d5c01d8542a 100644 --- a/caffe2/sgd/rmsprop_op.cc +++ b/caffe2/sgd/rmsprop_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rmsprop_op.h" #include "caffe2/utils/math.h" diff --git a/caffe2/sgd/rmsprop_op.h b/caffe2/sgd/rmsprop_op.h index d86d3bd44ba4..e3015f548744 100644 --- a/caffe2/sgd/rmsprop_op.h +++ b/caffe2/sgd/rmsprop_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common_omp.h" diff --git a/caffe2/sgd/rmsprop_op_gpu.cu b/caffe2/sgd/rmsprop_op_gpu.cu index 0f2db8ae1abd..dd34e10f97c2 100644 --- a/caffe2/sgd/rmsprop_op_gpu.cu +++ b/caffe2/sgd/rmsprop_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "rmsprop_op.h" #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" diff --git a/caffe2/sgd/yellowfin_op.cc b/caffe2/sgd/yellowfin_op.cc index a17fa82cfb09..a4829418dc1a 100644 --- a/caffe2/sgd/yellowfin_op.cc +++ b/caffe2/sgd/yellowfin_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/sgd/yellowfin_op.h" namespace caffe2 { diff --git a/caffe2/sgd/yellowfin_op.h b/caffe2/sgd/yellowfin_op.h index f1bdf45742f7..173e18c069fa 100644 --- a/caffe2/sgd/yellowfin_op.h +++ b/caffe2/sgd/yellowfin_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // YellowFin: An automatic tuner for momentum SGD // (https://arxiv.org/abs/1706.03471) // The YellowFinOp tunes learning rate and momentum and performs momentum SGD diff --git a/caffe2/sgd/yellowfin_op_gpu.cu b/caffe2/sgd/yellowfin_op_gpu.cu index d67b5dae19bc..5fd819844bd6 100644 --- a/caffe2/sgd/yellowfin_op_gpu.cu +++ b/caffe2/sgd/yellowfin_op_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // YellowFin: An automatic tuner for momentum SGD // (https://arxiv.org/abs/1706.03471) diff --git a/caffe2/share/contrib/nnpack/conv_op.cc b/caffe2/share/contrib/nnpack/conv_op.cc index 9e983b828789..2e73b5a028ee 100644 --- a/caffe2/share/contrib/nnpack/conv_op.cc +++ b/caffe2/share/contrib/nnpack/conv_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include diff --git a/caffe2/share/contrib/nnpack/conv_op_test.cc b/caffe2/share/contrib/nnpack/conv_op_test.cc index 78ef4de51d60..83180774a49a 100644 --- a/caffe2/share/contrib/nnpack/conv_op_test.cc +++ b/caffe2/share/contrib/nnpack/conv_op_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" diff --git a/caffe2/share/contrib/zstd/quant_decomp_zstd_op.cc b/caffe2/share/contrib/zstd/quant_decomp_zstd_op.cc index 756d5aea54fd..d2c0ff623894 100644 --- a/caffe2/share/contrib/zstd/quant_decomp_zstd_op.cc +++ b/caffe2/share/contrib/zstd/quant_decomp_zstd_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "quant_decomp_zstd_op.h" #include #include diff --git a/caffe2/share/contrib/zstd/quant_decomp_zstd_op.h b/caffe2/share/contrib/zstd/quant_decomp_zstd_op.h index 35d3dad6a74a..0e3f7c452f83 100644 --- a/caffe2/share/contrib/zstd/quant_decomp_zstd_op.h +++ b/caffe2/share/contrib/zstd/quant_decomp_zstd_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef QUANT_DECOMP_OP_H_ #define QUANT_DECOMP_OP_H_ diff --git a/caffe2/test/caffe2_gtest_main.cc b/caffe2/test/caffe2_gtest_main.cc index 277a405a0f6c..610849aea717 100644 --- a/caffe2/test/caffe2_gtest_main.cc +++ b/caffe2/test/caffe2_gtest_main.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Copyright 2006, Google Inc. // All rights reserved. // diff --git a/caffe2/transforms/common_subexpression_elimination.cc b/caffe2/transforms/common_subexpression_elimination.cc index b54fdaccd467..112572030c53 100644 --- a/caffe2/transforms/common_subexpression_elimination.cc +++ b/caffe2/transforms/common_subexpression_elimination.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/transforms/common_subexpression_elimination.h" #include "caffe2/core/common.h" diff --git a/caffe2/transforms/common_subexpression_elimination.h b/caffe2/transforms/common_subexpression_elimination.h index 94cc56cb708e..e66ccf153abb 100644 --- a/caffe2/transforms/common_subexpression_elimination.h +++ b/caffe2/transforms/common_subexpression_elimination.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once diff --git a/caffe2/transforms/common_subexpression_elimination_test.cc b/caffe2/transforms/common_subexpression_elimination_test.cc index 7043a83875d7..a3948746ab38 100644 --- a/caffe2/transforms/common_subexpression_elimination_test.cc +++ b/caffe2/transforms/common_subexpression_elimination_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/transforms/conv_to_nnpack_transform.cc b/caffe2/transforms/conv_to_nnpack_transform.cc index 223e80e65c54..724046732f76 100644 --- a/caffe2/transforms/conv_to_nnpack_transform.cc +++ b/caffe2/transforms/conv_to_nnpack_transform.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/transforms/conv_to_nnpack_transform.h" namespace caffe2 { diff --git a/caffe2/transforms/conv_to_nnpack_transform.h b/caffe2/transforms/conv_to_nnpack_transform.h index 14f5dc49f0fd..6438b147b5f3 100644 --- a/caffe2/transforms/conv_to_nnpack_transform.h +++ b/caffe2/transforms/conv_to_nnpack_transform.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/transforms/conv_to_nnpack_transform_test.cc b/caffe2/transforms/conv_to_nnpack_transform_test.cc index e371fa62feaa..4ab80fccd931 100644 --- a/caffe2/transforms/conv_to_nnpack_transform_test.cc +++ b/caffe2/transforms/conv_to_nnpack_transform_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/transforms/pattern_net_transform.cc b/caffe2/transforms/pattern_net_transform.cc index 4f3ca225dcd6..0ee721257f16 100644 --- a/caffe2/transforms/pattern_net_transform.cc +++ b/caffe2/transforms/pattern_net_transform.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/transforms/pattern_net_transform.h" #include "caffe2/core/common.h" diff --git a/caffe2/transforms/pattern_net_transform.h b/caffe2/transforms/pattern_net_transform.h index 166150794d34..1f54ccc1eb2d 100644 --- a/caffe2/transforms/pattern_net_transform.h +++ b/caffe2/transforms/pattern_net_transform.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/transforms/pattern_net_transform_test.cc b/caffe2/transforms/pattern_net_transform_test.cc index 13ade6c1faf5..36925d9d43fc 100644 --- a/caffe2/transforms/pattern_net_transform_test.cc +++ b/caffe2/transforms/pattern_net_transform_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/core/net.h" #include "caffe2/core/operator.h" diff --git a/caffe2/transforms/single_op_transform.cc b/caffe2/transforms/single_op_transform.cc index 7d51d2e2cce8..0dbb0c19f582 100644 --- a/caffe2/transforms/single_op_transform.cc +++ b/caffe2/transforms/single_op_transform.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/transforms/single_op_transform.h" #include "caffe2/core/common.h" diff --git a/caffe2/transforms/single_op_transform.h b/caffe2/transforms/single_op_transform.h index b9581a769356..dbc53e338312 100644 --- a/caffe2/transforms/single_op_transform.h +++ b/caffe2/transforms/single_op_transform.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/utils/cast.h b/caffe2/utils/cast.h index 900fbf0d3a68..d73641d7c1fd 100644 --- a/caffe2/utils/cast.h +++ b/caffe2/utils/cast.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/utils/conversions.h b/caffe2/utils/conversions.h index 4243e9a6f375..190adaebd4a2 100644 --- a/caffe2/utils/conversions.h +++ b/caffe2/utils/conversions.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/utils/cpu_neon.h b/caffe2/utils/cpu_neon.h index ea3fd0be7493..3adcc43953ed 100644 --- a/caffe2/utils/cpu_neon.h +++ b/caffe2/utils/cpu_neon.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_CPU_NEON_H_ #define CAFFE2_UTILS_CPU_NEON_H_ diff --git a/caffe2/utils/cpuid.cc b/caffe2/utils/cpuid.cc index de5e5d637962..b2e6b89a5cbd 100644 --- a/caffe2/utils/cpuid.cc +++ b/caffe2/utils/cpuid.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/cpuid.h" namespace caffe2 { diff --git a/caffe2/utils/cpuid.h b/caffe2/utils/cpuid.h index a6eaba730f30..744ce9c5afa8 100644 --- a/caffe2/utils/cpuid.h +++ b/caffe2/utils/cpuid.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/utils/cpuid_test.cc b/caffe2/utils/cpuid_test.cc index 367072f6c76d..f3694f5d0bac 100644 --- a/caffe2/utils/cpuid_test.cc +++ b/caffe2/utils/cpuid_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include "caffe2/utils/cpuid.h" diff --git a/caffe2/utils/fatal_signal_asan_no_sig_test.cc b/caffe2/utils/fatal_signal_asan_no_sig_test.cc index c09df11edf82..f636001c879c 100644 --- a/caffe2/utils/fatal_signal_asan_no_sig_test.cc +++ b/caffe2/utils/fatal_signal_asan_no_sig_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/signal_handler.h" #if defined(CAFFE2_SUPPORTS_FATAL_SIGNAL_HANDLERS) #include diff --git a/caffe2/utils/fixed_divisor.h b/caffe2/utils/fixed_divisor.h index 637a7c3de1b2..8d1be8ddc016 100644 --- a/caffe2/utils/fixed_divisor.h +++ b/caffe2/utils/fixed_divisor.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_FIXED_DIVISOR_H_ #define CAFFE2_UTILS_FIXED_DIVISOR_H_ diff --git a/caffe2/utils/fixed_divisor_test.cc b/caffe2/utils/fixed_divisor_test.cc index 2defcba20d18..d912a3d60fd6 100644 --- a/caffe2/utils/fixed_divisor_test.cc +++ b/caffe2/utils/fixed_divisor_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/fixed_divisor.h" #include diff --git a/caffe2/utils/map_utils.h b/caffe2/utils/map_utils.h index 28bcb7b84af7..3a3d8ea42256 100644 --- a/caffe2/utils/map_utils.h +++ b/caffe2/utils/map_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once namespace caffe2 { diff --git a/caffe2/utils/math-detail.h b/caffe2/utils/math-detail.h index d2263e9b7c9a..5630729d1a5b 100644 --- a/caffe2/utils/math-detail.h +++ b/caffe2/utils/math-detail.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MATH_DETAIL_H_ #define CAFFE2_UTILS_MATH_DETAIL_H_ namespace caffe2 { diff --git a/caffe2/utils/math.h b/caffe2/utils/math.h index 5912acb060b0..15a1839e0344 100644 --- a/caffe2/utils/math.h +++ b/caffe2/utils/math.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_MATH_H_ #define CAFFE2_UTILS_MATH_H_ // This is a simple translation from the old Caffe math interfaces. We aim to diff --git a/caffe2/utils/math_cpu.cc b/caffe2/utils/math_cpu.cc index f2a196351a04..50a28772d1a1 100644 --- a/caffe2/utils/math_cpu.cc +++ b/caffe2/utils/math_cpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Implements the math functions for CPU. // The implementation in this file allows us to route the underlying numerical // computation library to different backends. Notably: diff --git a/caffe2/utils/math_gpu.cu b/caffe2/utils/math_gpu.cu index d06bfc3536f6..5023275efd36 100644 --- a/caffe2/utils/math_gpu.cu +++ b/caffe2/utils/math_gpu.cu @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // Implements the math functions for CPU. #include "caffe2/utils/math.h" diff --git a/caffe2/utils/math_gpu_test.cc b/caffe2/utils/math_gpu_test.cc index 0d41e0e36784..e7f47afb3201 100644 --- a/caffe2/utils/math_gpu_test.cc +++ b/caffe2/utils/math_gpu_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/utils/math_test.cc b/caffe2/utils/math_test.cc index c863b36805ee..018075c9a3fc 100644 --- a/caffe2/utils/math_test.cc +++ b/caffe2/utils/math_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/utils/proto_utils.cc b/caffe2/utils/proto_utils.cc index d22ec2e80a50..5f91811ed263 100644 --- a/caffe2/utils/proto_utils.cc +++ b/caffe2/utils/proto_utils.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/proto_utils.h" #include diff --git a/caffe2/utils/proto_utils.h b/caffe2/utils/proto_utils.h index 405bb78fecc6..e09a2b6f14a2 100644 --- a/caffe2/utils/proto_utils.h +++ b/caffe2/utils/proto_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_PROTO_UTILS_H_ #define CAFFE2_UTILS_PROTO_UTILS_H_ diff --git a/caffe2/utils/proto_utils_test.cc b/caffe2/utils/proto_utils_test.cc index 26720b0748a2..645e08019c65 100644 --- a/caffe2/utils/proto_utils_test.cc +++ b/caffe2/utils/proto_utils_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/proto_utils.h" #include diff --git a/caffe2/utils/signal_handler.cc b/caffe2/utils/signal_handler.cc index ef3035f986c4..6883c6b5212d 100644 --- a/caffe2/utils/signal_handler.cc +++ b/caffe2/utils/signal_handler.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/signal_handler.h" #include "caffe2/core/logging.h" diff --git a/caffe2/utils/signal_handler.h b/caffe2/utils/signal_handler.h index 755c01b87cec..82e9d1c2d6d1 100644 --- a/caffe2/utils/signal_handler.h +++ b/caffe2/utils/signal_handler.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #if defined(__APPLE__) diff --git a/caffe2/utils/simple_queue.h b/caffe2/utils/simple_queue.h index 195d77d83842..5adedf1dad43 100644 --- a/caffe2/utils/simple_queue.h +++ b/caffe2/utils/simple_queue.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_SIMPLE_QUEUE_H_ #define CAFFE2_UTILS_SIMPLE_QUEUE_H_ diff --git a/caffe2/utils/simple_queue_test.cc b/caffe2/utils/simple_queue_test.cc index bcbd82c38beb..d0cf24acbf25 100644 --- a/caffe2/utils/simple_queue_test.cc +++ b/caffe2/utils/simple_queue_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include // NOLINT #include "caffe2/utils/simple_queue.h" diff --git a/caffe2/utils/smart_tensor_printer.cc b/caffe2/utils/smart_tensor_printer.cc index 61606d69cd02..feb669e4bbae 100644 --- a/caffe2/utils/smart_tensor_printer.cc +++ b/caffe2/utils/smart_tensor_printer.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "smart_tensor_printer.h" #include "caffe2/core/operator.h" diff --git a/caffe2/utils/smart_tensor_printer.h b/caffe2/utils/smart_tensor_printer.h index 833730f0cfca..f99226d69643 100644 --- a/caffe2/utils/smart_tensor_printer.h +++ b/caffe2/utils/smart_tensor_printer.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/tensor.h" diff --git a/caffe2/utils/smart_tensor_printer_test.cc b/caffe2/utils/smart_tensor_printer_test.cc index 39109fa1fbec..d5681e2e0b07 100644 --- a/caffe2/utils/smart_tensor_printer_test.cc +++ b/caffe2/utils/smart_tensor_printer_test.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/smart_tensor_printer.h" #include "caffe2/core/common.h" diff --git a/caffe2/utils/string_utils.cc b/caffe2/utils/string_utils.cc index 83c06963ea7c..740ffc0cae48 100644 --- a/caffe2/utils/string_utils.cc +++ b/caffe2/utils/string_utils.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/string_utils.h" #include diff --git a/caffe2/utils/string_utils.h b/caffe2/utils/string_utils.h index 9bf0a88d7149..580558ace343 100644 --- a/caffe2/utils/string_utils.h +++ b/caffe2/utils/string_utils.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include diff --git a/caffe2/utils/thread_pool.h b/caffe2/utils/thread_pool.h index cc1d0fe03965..957fd40b167a 100644 --- a/caffe2/utils/thread_pool.h +++ b/caffe2/utils/thread_pool.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_THREAD_POOL_H_ #define CAFFE2_UTILS_THREAD_POOL_H_ diff --git a/caffe2/utils/threadpool/ThreadPool.cc b/caffe2/utils/threadpool/ThreadPool.cc index 9ac17e6983ad..002666ac4a08 100644 --- a/caffe2/utils/threadpool/ThreadPool.cc +++ b/caffe2/utils/threadpool/ThreadPool.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/threadpool/ThreadPool.h" #include "WorkersPool.h" #include "caffe2/core/logging.h" diff --git a/caffe2/utils/threadpool/ThreadPool.h b/caffe2/utils/threadpool/ThreadPool.h index db18e6d3f4d2..8c111d0ac044 100644 --- a/caffe2/utils/threadpool/ThreadPool.h +++ b/caffe2/utils/threadpool/ThreadPool.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_THREADPOOL_H_ #define CAFFE2_UTILS_THREADPOOL_H_ diff --git a/caffe2/utils/threadpool/ThreadPoolCommon.h b/caffe2/utils/threadpool/ThreadPoolCommon.h index 707b65842001..997b5b12ab44 100644 --- a/caffe2/utils/threadpool/ThreadPoolCommon.h +++ b/caffe2/utils/threadpool/ThreadPoolCommon.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_THREADPOOL_COMMON_H_ #define CAFFE2_UTILS_THREADPOOL_COMMON_H_ diff --git a/caffe2/utils/threadpool/WorkersPool.h b/caffe2/utils/threadpool/WorkersPool.h index 7a88ed91b6ed..b7f28114ccf0 100644 --- a/caffe2/utils/threadpool/WorkersPool.h +++ b/caffe2/utils/threadpool/WorkersPool.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #pragma once #include "caffe2/core/common.h" diff --git a/caffe2/utils/threadpool/pthreadpool.cc b/caffe2/utils/threadpool/pthreadpool.cc index 53c4f6cc6744..59cc2f43f9eb 100644 --- a/caffe2/utils/threadpool/pthreadpool.cc +++ b/caffe2/utils/threadpool/pthreadpool.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /* Standard C headers */ #include #include diff --git a/caffe2/utils/threadpool/pthreadpool.h b/caffe2/utils/threadpool/pthreadpool.h index de1b30810ef2..3de21a790514 100644 --- a/caffe2/utils/threadpool/pthreadpool.h +++ b/caffe2/utils/threadpool/pthreadpool.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // pthreadpool header from https://github.com/Maratyszcza/pthreadpool // for NNPACK #ifndef CAFFE2_UTILS_PTHREADPOOL_H_ diff --git a/caffe2/utils/threadpool/pthreadpool_impl.cc b/caffe2/utils/threadpool/pthreadpool_impl.cc index 831b36d00b46..edcfc80e8da4 100644 --- a/caffe2/utils/threadpool/pthreadpool_impl.cc +++ b/caffe2/utils/threadpool/pthreadpool_impl.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "caffe2/utils/threadpool/pthreadpool.h" #include "caffe2/utils/threadpool/pthreadpool_impl.h" #include "caffe2/utils/threadpool/ThreadPool.h" diff --git a/caffe2/utils/threadpool/pthreadpool_impl.h b/caffe2/utils/threadpool/pthreadpool_impl.h index fd6f91a1cb03..3d1cffc7e6cd 100644 --- a/caffe2/utils/threadpool/pthreadpool_impl.h +++ b/caffe2/utils/threadpool/pthreadpool_impl.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_PTHREADPOOL_IMPL_H_ #define CAFFE2_UTILS_PTHREADPOOL_IMPL_H_ diff --git a/caffe2/utils/zmq_helper.h b/caffe2/utils/zmq_helper.h index c55653c4fbbf..be03d98b3036 100644 --- a/caffe2/utils/zmq_helper.h +++ b/caffe2/utils/zmq_helper.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_UTILS_ZMQ_HELPER_H_ #define CAFFE2_UTILS_ZMQ_HELPER_H_ diff --git a/caffe2/video/optical_flow.cc b/caffe2/video/optical_flow.cc index be952c433e39..4855b2c0a389 100644 --- a/caffe2/video/optical_flow.cc +++ b/caffe2/video/optical_flow.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include namespace caffe2 { diff --git a/caffe2/video/optical_flow.h b/caffe2/video/optical_flow.h index 58b3a97cc315..2dbd7e31e4d5 100644 --- a/caffe2/video/optical_flow.h +++ b/caffe2/video/optical_flow.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_VIDEO_OPTICAL_FLOW_H_ #define CAFFE2_VIDEO_OPTICAL_FLOW_H_ diff --git a/caffe2/video/video_decoder.cc b/caffe2/video/video_decoder.cc index 9ea87f17a9ca..c05edc10ddc8 100644 --- a/caffe2/video/video_decoder.cc +++ b/caffe2/video/video_decoder.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include diff --git a/caffe2/video/video_decoder.h b/caffe2/video/video_decoder.h index 6cd3130911f1..7399735cb34e 100644 --- a/caffe2/video/video_decoder.h +++ b/caffe2/video/video_decoder.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_VIDEO_VIDEO_DECODER_H_ #define CAFFE2_VIDEO_VIDEO_DECODER_H_ diff --git a/caffe2/video/video_input_op.cc b/caffe2/video/video_input_op.cc index fedeba9bcf37..823de4908d15 100644 --- a/caffe2/video/video_input_op.cc +++ b/caffe2/video/video_input_op.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include namespace caffe2 { diff --git a/caffe2/video/video_input_op.h b/caffe2/video/video_input_op.h index 0a5373cd1cee..f3d5b7778ca9 100644 --- a/caffe2/video/video_input_op.h +++ b/caffe2/video/video_input_op.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_VIDEO_VIDEO_INPUT_OP_H_ #define CAFFE2_VIDEO_VIDEO_INPUT_OP_H_ diff --git a/caffe2/video/video_input_op_gpu.cc b/caffe2/video/video_input_op_gpu.cc index f719c8c57886..b9e60e63094a 100644 --- a/caffe2/video/video_input_op_gpu.cc +++ b/caffe2/video/video_input_op_gpu.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/video/video_io.cc b/caffe2/video/video_io.cc index b24900de72f3..8297113e76c1 100644 --- a/caffe2/video/video_io.cc +++ b/caffe2/video/video_io.cc @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include #include #include diff --git a/caffe2/video/video_io.h b/caffe2/video/video_io.h index cd901ef74126..33798af36f77 100644 --- a/caffe2/video/video_io.h +++ b/caffe2/video/video_io.h @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2016-present, Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #ifndef CAFFE2_VIDEO_VIDEO_IO_H_ #define CAFFE2_VIDEO_VIDEO_IO_H_