Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
c77b696b
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
c77b696b
编写于
12月 26, 2017
作者:
T
Tao Luo
提交者:
GitHub
12月 26, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7022 from luotao1/license
unify the indentation of license
上级
c3fd2c28
761b3297
变更
268
展开全部
隐藏空白更改
内联
并排
Showing
268 changed file
with
2470 addition
and
2453 deletion
+2470
-2453
go/pserver/client/c/test/test_cclient.c
go/pserver/client/c/test/test_cclient.c
+9
-9
paddle/framework/backward.cc
paddle/framework/backward.cc
+9
-9
paddle/framework/backward.h
paddle/framework/backward.h
+9
-9
paddle/framework/backward_test.cc
paddle/framework/backward_test.cc
+9
-9
paddle/framework/data_type.h
paddle/framework/data_type.h
+9
-9
paddle/framework/ddim_test.cc
paddle/framework/ddim_test.cc
+9
-9
paddle/framework/details/op_registry.h
paddle/framework/details/op_registry.h
+9
-9
paddle/framework/feed_fetch_type.h
paddle/framework/feed_fetch_type.h
+9
-9
paddle/framework/grad_op_desc_maker.h
paddle/framework/grad_op_desc_maker.h
+9
-9
paddle/framework/init.cc
paddle/framework/init.cc
+9
-9
paddle/framework/init.h
paddle/framework/init.h
+9
-9
paddle/framework/init_test.cc
paddle/framework/init_test.cc
+9
-9
paddle/framework/lod_rank_table.cc
paddle/framework/lod_rank_table.cc
+10
-10
paddle/framework/lod_rank_table.h
paddle/framework/lod_rank_table.h
+10
-10
paddle/framework/lod_tensor.cc
paddle/framework/lod_tensor.cc
+9
-9
paddle/framework/lod_tensor.h
paddle/framework/lod_tensor.h
+9
-9
paddle/framework/lod_tensor_array.h
paddle/framework/lod_tensor_array.h
+10
-10
paddle/framework/op_info.cc
paddle/framework/op_info.cc
+9
-9
paddle/framework/op_info.h
paddle/framework/op_info.h
+9
-9
paddle/framework/program_desc_test.cc
paddle/framework/program_desc_test.cc
+9
-9
paddle/framework/prune_test.cc
paddle/framework/prune_test.cc
+9
-9
paddle/framework/shape_inference.cc
paddle/framework/shape_inference.cc
+10
-10
paddle/framework/tensor.cc
paddle/framework/tensor.cc
+9
-9
paddle/framework/tensor_util.h
paddle/framework/tensor_util.h
+9
-9
paddle/framework/threadpool.cc
paddle/framework/threadpool.cc
+9
-9
paddle/framework/type_defs.h
paddle/framework/type_defs.h
+9
-9
paddle/framework/var_type.h
paddle/framework/var_type.h
+10
-10
paddle/framework/var_type_inference.h
paddle/framework/var_type_inference.h
+9
-9
paddle/framework/var_type_inference_test.cc
paddle/framework/var_type_inference_test.cc
+9
-9
paddle/memory/detail/buddy_allocator.cc
paddle/memory/detail/buddy_allocator.cc
+9
-9
paddle/memory/detail/buddy_allocator.h
paddle/memory/detail/buddy_allocator.h
+9
-9
paddle/memory/detail/memory_block.cc
paddle/memory/detail/memory_block.cc
+9
-9
paddle/memory/detail/memory_block.h
paddle/memory/detail/memory_block.h
+9
-9
paddle/memory/detail/meta_cache.cc
paddle/memory/detail/meta_cache.cc
+9
-9
paddle/memory/detail/meta_cache.h
paddle/memory/detail/meta_cache.h
+9
-9
paddle/memory/detail/meta_data.cc
paddle/memory/detail/meta_data.cc
+9
-9
paddle/memory/detail/meta_data.h
paddle/memory/detail/meta_data.h
+9
-9
paddle/operators/activation_op.cc
paddle/operators/activation_op.cc
+9
-9
paddle/operators/activation_op.cu
paddle/operators/activation_op.cu
+9
-9
paddle/operators/activation_op.h
paddle/operators/activation_op.h
+9
-9
paddle/operators/adadelta_op.cu
paddle/operators/adadelta_op.cu
+9
-9
paddle/operators/adagrad_op.cu
paddle/operators/adagrad_op.cu
+9
-9
paddle/operators/adam_op.cu
paddle/operators/adam_op.cu
+9
-9
paddle/operators/adamax_op.cu
paddle/operators/adamax_op.cu
+9
-9
paddle/operators/array_operator.h
paddle/operators/array_operator.h
+10
-10
paddle/operators/array_to_lod_tensor_op.cc
paddle/operators/array_to_lod_tensor_op.cc
+10
-10
paddle/operators/assign_op.cc
paddle/operators/assign_op.cc
+10
-10
paddle/operators/beam_search_op.cc
paddle/operators/beam_search_op.cc
+9
-9
paddle/operators/cast_op.cc
paddle/operators/cast_op.cc
+10
-10
paddle/operators/cast_op.cu
paddle/operators/cast_op.cu
+10
-10
paddle/operators/cast_op.h
paddle/operators/cast_op.h
+10
-10
paddle/operators/clip_by_norm_op.cc
paddle/operators/clip_by_norm_op.cc
+9
-9
paddle/operators/clip_by_norm_op.cu
paddle/operators/clip_by_norm_op.cu
+9
-9
paddle/operators/clip_by_norm_op.h
paddle/operators/clip_by_norm_op.h
+9
-9
paddle/operators/clip_op.cc
paddle/operators/clip_op.cc
+9
-9
paddle/operators/clip_op.cu
paddle/operators/clip_op.cu
+9
-9
paddle/operators/clip_op.h
paddle/operators/clip_op.h
+9
-9
paddle/operators/compare_op.cc
paddle/operators/compare_op.cc
+10
-10
paddle/operators/compare_op.cu
paddle/operators/compare_op.cu
+10
-10
paddle/operators/compare_op.h
paddle/operators/compare_op.h
+10
-10
paddle/operators/conditional_block_op.cc
paddle/operators/conditional_block_op.cc
+10
-10
paddle/operators/conv_cudnn_op.cc
paddle/operators/conv_cudnn_op.cc
+9
-9
paddle/operators/conv_cudnn_op.cu.cc
paddle/operators/conv_cudnn_op.cu.cc
+10
-10
paddle/operators/conv_op.cc
paddle/operators/conv_op.cc
+9
-9
paddle/operators/conv_op.cu.cc
paddle/operators/conv_op.cu.cc
+10
-10
paddle/operators/conv_shift_op.cc
paddle/operators/conv_shift_op.cc
+10
-10
paddle/operators/conv_shift_op.cu
paddle/operators/conv_shift_op.cu
+10
-10
paddle/operators/conv_shift_op.h
paddle/operators/conv_shift_op.h
+10
-10
paddle/operators/conv_transpose_cudnn_op.cc
paddle/operators/conv_transpose_cudnn_op.cc
+9
-9
paddle/operators/conv_transpose_cudnn_op.cu.cc
paddle/operators/conv_transpose_cudnn_op.cu.cc
+10
-10
paddle/operators/conv_transpose_op.cc
paddle/operators/conv_transpose_op.cc
+9
-9
paddle/operators/conv_transpose_op.cu.cc
paddle/operators/conv_transpose_op.cu.cc
+10
-10
paddle/operators/cos_sim_op.cc
paddle/operators/cos_sim_op.cc
+9
-9
paddle/operators/cos_sim_op.cu
paddle/operators/cos_sim_op.cu
+9
-9
paddle/operators/cos_sim_op.h
paddle/operators/cos_sim_op.h
+9
-9
paddle/operators/crop_op.cc
paddle/operators/crop_op.cc
+9
-9
paddle/operators/crop_op.cu
paddle/operators/crop_op.cu
+9
-9
paddle/operators/crop_op.h
paddle/operators/crop_op.h
+10
-10
paddle/operators/cross_entropy_op.cu
paddle/operators/cross_entropy_op.cu
+9
-9
paddle/operators/decayed_adagrad_op.cu
paddle/operators/decayed_adagrad_op.cu
+9
-9
paddle/operators/detail/recv_impl.cc
paddle/operators/detail/recv_impl.cc
+9
-9
paddle/operators/detail/safe_ref.h
paddle/operators/detail/safe_ref.h
+10
-10
paddle/operators/detail/send_impl.cc
paddle/operators/detail/send_impl.cc
+9
-9
paddle/operators/detail/send_recv.proto
paddle/operators/detail/send_recv.proto
+10
-10
paddle/operators/detail/send_recv_impl.h
paddle/operators/detail/send_recv_impl.h
+9
-9
paddle/operators/detail/simple_block_queue.h
paddle/operators/detail/simple_block_queue.h
+10
-10
paddle/operators/detail/strided_memcpy.h
paddle/operators/detail/strided_memcpy.h
+9
-9
paddle/operators/dropout_op.cc
paddle/operators/dropout_op.cc
+9
-9
paddle/operators/dropout_op.cu
paddle/operators/dropout_op.cu
+9
-9
paddle/operators/dropout_op.h
paddle/operators/dropout_op.h
+9
-9
paddle/operators/elementwise_add_op.cc
paddle/operators/elementwise_add_op.cc
+9
-9
paddle/operators/elementwise_add_op.cu
paddle/operators/elementwise_add_op.cu
+9
-9
paddle/operators/elementwise_add_op.h
paddle/operators/elementwise_add_op.h
+9
-9
paddle/operators/elementwise_div_op.cc
paddle/operators/elementwise_div_op.cc
+9
-9
paddle/operators/elementwise_div_op.cu
paddle/operators/elementwise_div_op.cu
+9
-9
paddle/operators/elementwise_div_op.h
paddle/operators/elementwise_div_op.h
+9
-9
paddle/operators/elementwise_mul_op.cc
paddle/operators/elementwise_mul_op.cc
+9
-9
paddle/operators/elementwise_mul_op.cu
paddle/operators/elementwise_mul_op.cu
+9
-9
paddle/operators/elementwise_mul_op.h
paddle/operators/elementwise_mul_op.h
+9
-9
paddle/operators/elementwise_op_function.h
paddle/operators/elementwise_op_function.h
+9
-9
paddle/operators/elementwise_sub_op.cc
paddle/operators/elementwise_sub_op.cc
+9
-9
paddle/operators/elementwise_sub_op.cu
paddle/operators/elementwise_sub_op.cu
+9
-9
paddle/operators/elementwise_sub_op.h
paddle/operators/elementwise_sub_op.h
+9
-9
paddle/operators/expand_op.cu
paddle/operators/expand_op.cu
+9
-9
paddle/operators/expand_op.h
paddle/operators/expand_op.h
+9
-9
paddle/operators/feed_op.cc
paddle/operators/feed_op.cc
+9
-9
paddle/operators/fetch_op.cc
paddle/operators/fetch_op.cc
+9
-9
paddle/operators/fill_constant_batch_size_like_op.cu.cc
paddle/operators/fill_constant_batch_size_like_op.cu.cc
+9
-9
paddle/operators/fill_op.cc
paddle/operators/fill_op.cc
+10
-10
paddle/operators/fill_zeros_like_op.cu.cc
paddle/operators/fill_zeros_like_op.cu.cc
+9
-9
paddle/operators/gather.cu.h
paddle/operators/gather.cu.h
+10
-10
paddle/operators/gather_op.cu
paddle/operators/gather_op.cu
+9
-9
paddle/operators/gaussian_random_op.cc
paddle/operators/gaussian_random_op.cc
+12
-9
paddle/operators/gaussian_random_op.cu
paddle/operators/gaussian_random_op.cu
+11
-11
paddle/operators/gru_op.cc
paddle/operators/gru_op.cc
+12
-9
paddle/operators/gru_op.cu.cc
paddle/operators/gru_op.cu.cc
+9
-9
paddle/operators/gru_op.h
paddle/operators/gru_op.h
+9
-9
paddle/operators/gru_unit_op.cc
paddle/operators/gru_unit_op.cc
+9
-9
paddle/operators/gru_unit_op.cu
paddle/operators/gru_unit_op.cu
+9
-9
paddle/operators/gru_unit_op.h
paddle/operators/gru_unit_op.h
+9
-9
paddle/operators/hinge_loss_op.cu
paddle/operators/hinge_loss_op.cu
+9
-9
paddle/operators/huber_loss_op.cu
paddle/operators/huber_loss_op.cu
+9
-9
paddle/operators/increment_op.cc
paddle/operators/increment_op.cc
+9
-9
paddle/operators/is_empty_op.cc
paddle/operators/is_empty_op.cc
+9
-9
paddle/operators/l1_norm_op.cc
paddle/operators/l1_norm_op.cc
+9
-9
paddle/operators/l1_norm_op.cu
paddle/operators/l1_norm_op.cu
+9
-9
paddle/operators/l1_norm_op.h
paddle/operators/l1_norm_op.h
+9
-9
paddle/operators/linear_chain_crf_op.cu
paddle/operators/linear_chain_crf_op.cu
+4
-4
paddle/operators/load_op.cc
paddle/operators/load_op.cc
+10
-10
paddle/operators/lod_array_length_op.cc
paddle/operators/lod_array_length_op.cc
+10
-10
paddle/operators/lod_rank_table_op.cc
paddle/operators/lod_rank_table_op.cc
+10
-10
paddle/operators/lod_reset_op.cc
paddle/operators/lod_reset_op.cc
+9
-9
paddle/operators/lod_reset_op.cu
paddle/operators/lod_reset_op.cu
+9
-9
paddle/operators/lod_reset_op.h
paddle/operators/lod_reset_op.h
+9
-9
paddle/operators/lod_tensor_to_array_op.cc
paddle/operators/lod_tensor_to_array_op.cc
+10
-10
paddle/operators/log_loss_op.cu
paddle/operators/log_loss_op.cu
+9
-9
paddle/operators/logical_op.cc
paddle/operators/logical_op.cc
+10
-10
paddle/operators/logical_op.cu
paddle/operators/logical_op.cu
+10
-10
paddle/operators/logical_op.h
paddle/operators/logical_op.h
+10
-10
paddle/operators/lookup_table_op.cc
paddle/operators/lookup_table_op.cc
+9
-9
paddle/operators/lookup_table_op.cu
paddle/operators/lookup_table_op.cu
+12
-9
paddle/operators/lookup_table_op.h
paddle/operators/lookup_table_op.h
+12
-9
paddle/operators/lrn_op.cc
paddle/operators/lrn_op.cc
+9
-9
paddle/operators/lrn_op.cu
paddle/operators/lrn_op.cu
+9
-9
paddle/operators/lrn_op.h
paddle/operators/lrn_op.h
+9
-9
paddle/operators/lstm_op.cu.cc
paddle/operators/lstm_op.cu.cc
+9
-9
paddle/operators/lstm_unit_op.cc
paddle/operators/lstm_unit_op.cc
+9
-9
paddle/operators/lstm_unit_op.cu
paddle/operators/lstm_unit_op.cu
+9
-9
paddle/operators/lstm_unit_op.h
paddle/operators/lstm_unit_op.h
+9
-9
paddle/operators/margin_rank_loss_op.cc
paddle/operators/margin_rank_loss_op.cc
+9
-9
paddle/operators/margin_rank_loss_op.cu
paddle/operators/margin_rank_loss_op.cu
+9
-9
paddle/operators/margin_rank_loss_op.h
paddle/operators/margin_rank_loss_op.h
+9
-9
paddle/operators/math/cross_entropy.cc
paddle/operators/math/cross_entropy.cc
+9
-9
paddle/operators/math/cross_entropy.cu
paddle/operators/math/cross_entropy.cu
+9
-9
paddle/operators/math/cross_entropy.h
paddle/operators/math/cross_entropy.h
+9
-9
paddle/operators/matmul_op.cu.cc
paddle/operators/matmul_op.cu.cc
+9
-9
paddle/operators/matmul_op.h
paddle/operators/matmul_op.h
+10
-10
paddle/operators/max_sequence_len_op.cc
paddle/operators/max_sequence_len_op.cc
+10
-10
paddle/operators/maxout_op.cu.cc
paddle/operators/maxout_op.cu.cc
+9
-9
paddle/operators/mean_op.cu
paddle/operators/mean_op.cu
+9
-9
paddle/operators/minus_op.cc
paddle/operators/minus_op.cc
+9
-9
paddle/operators/minus_op.cu
paddle/operators/minus_op.cu
+9
-9
paddle/operators/minus_op.h
paddle/operators/minus_op.h
+9
-9
paddle/operators/modified_huber_loss_op.cc
paddle/operators/modified_huber_loss_op.cc
+9
-9
paddle/operators/modified_huber_loss_op.cu
paddle/operators/modified_huber_loss_op.cu
+11
-11
paddle/operators/modified_huber_loss_op.h
paddle/operators/modified_huber_loss_op.h
+9
-9
paddle/operators/momentum_op.cu
paddle/operators/momentum_op.cu
+9
-9
paddle/operators/mul_op.cu.cc
paddle/operators/mul_op.cu.cc
+9
-9
paddle/operators/mul_op.h
paddle/operators/mul_op.h
+9
-9
paddle/operators/multiplex_op.cc
paddle/operators/multiplex_op.cc
+9
-9
paddle/operators/multiplex_op.cu
paddle/operators/multiplex_op.cu
+9
-9
paddle/operators/multiplex_op.h
paddle/operators/multiplex_op.h
+9
-10
paddle/operators/nccl/nccl_gpu_common.cc
paddle/operators/nccl/nccl_gpu_common.cc
+12
-9
paddle/operators/nccl/nccl_gpu_common.h
paddle/operators/nccl/nccl_gpu_common.h
+9
-9
paddle/operators/nccl_op.cc
paddle/operators/nccl_op.cc
+12
-9
paddle/operators/nccl_op_test.cu.cc
paddle/operators/nccl_op_test.cu.cc
+9
-9
paddle/operators/nce_op.h
paddle/operators/nce_op.h
+9
-9
paddle/operators/pad_op.cc
paddle/operators/pad_op.cc
+9
-9
paddle/operators/pad_op.cu
paddle/operators/pad_op.cu
+9
-9
paddle/operators/pad_op.h
paddle/operators/pad_op.h
+9
-9
paddle/operators/prelu_op.cc
paddle/operators/prelu_op.cc
+9
-9
paddle/operators/prelu_op.cu
paddle/operators/prelu_op.cu
+9
-9
paddle/operators/rank_loss_op.cc
paddle/operators/rank_loss_op.cc
+9
-9
paddle/operators/rank_loss_op.cu
paddle/operators/rank_loss_op.cu
+9
-9
paddle/operators/rank_loss_op.h
paddle/operators/rank_loss_op.h
+9
-9
paddle/operators/recurrent_op.cc
paddle/operators/recurrent_op.cc
+9
-9
paddle/operators/recv_op.cc
paddle/operators/recv_op.cc
+10
-10
paddle/operators/reduce_op.cc
paddle/operators/reduce_op.cc
+9
-9
paddle/operators/reduce_op.cu
paddle/operators/reduce_op.cu
+9
-9
paddle/operators/reduce_op.h
paddle/operators/reduce_op.h
+9
-9
paddle/operators/reorder_lod_tensor_by_rank_op.cc
paddle/operators/reorder_lod_tensor_by_rank_op.cc
+10
-10
paddle/operators/reshape_op.cc
paddle/operators/reshape_op.cc
+9
-9
paddle/operators/reshape_op.cu
paddle/operators/reshape_op.cu
+9
-9
paddle/operators/reshape_op.h
paddle/operators/reshape_op.h
+9
-9
paddle/operators/rmsprop_op.cu
paddle/operators/rmsprop_op.cu
+9
-9
paddle/operators/rnn_memory_helper_op.cc
paddle/operators/rnn_memory_helper_op.cc
+9
-9
paddle/operators/row_conv_op.cc
paddle/operators/row_conv_op.cc
+10
-10
paddle/operators/row_conv_op.cu
paddle/operators/row_conv_op.cu
+10
-10
paddle/operators/row_conv_op.h
paddle/operators/row_conv_op.h
+10
-10
paddle/operators/save_load_op_test.cc
paddle/operators/save_load_op_test.cc
+10
-10
paddle/operators/save_op.cc
paddle/operators/save_op.cc
+10
-10
paddle/operators/scale_op.cc
paddle/operators/scale_op.cc
+9
-9
paddle/operators/scale_op.cu
paddle/operators/scale_op.cu
+9
-9
paddle/operators/scale_op.h
paddle/operators/scale_op.h
+9
-9
paddle/operators/scatter.cu.h
paddle/operators/scatter.cu.h
+10
-10
paddle/operators/scatter_op.cu
paddle/operators/scatter_op.cu
+9
-9
paddle/operators/send_op.cc
paddle/operators/send_op.cc
+10
-10
paddle/operators/send_recv_op_test.cc
paddle/operators/send_recv_op_test.cc
+10
-10
paddle/operators/sequence_conv_op.cu.cc
paddle/operators/sequence_conv_op.cu.cc
+9
-9
paddle/operators/sequence_expand_op.cc
paddle/operators/sequence_expand_op.cc
+9
-9
paddle/operators/sequence_expand_op.cu
paddle/operators/sequence_expand_op.cu
+9
-9
paddle/operators/sequence_expand_op.h
paddle/operators/sequence_expand_op.h
+9
-9
paddle/operators/sequence_pool_op.cu
paddle/operators/sequence_pool_op.cu
+9
-9
paddle/operators/sgd_op.cu
paddle/operators/sgd_op.cu
+9
-9
paddle/operators/shrink_rnn_memory_op.cc
paddle/operators/shrink_rnn_memory_op.cc
+10
-10
paddle/operators/sigmoid_cross_entropy_with_logits_op.cc
paddle/operators/sigmoid_cross_entropy_with_logits_op.cc
+9
-9
paddle/operators/sigmoid_cross_entropy_with_logits_op.cu
paddle/operators/sigmoid_cross_entropy_with_logits_op.cu
+9
-9
paddle/operators/sigmoid_cross_entropy_with_logits_op.h
paddle/operators/sigmoid_cross_entropy_with_logits_op.h
+9
-9
paddle/operators/sign_op.cc
paddle/operators/sign_op.cc
+9
-9
paddle/operators/sign_op.cu
paddle/operators/sign_op.cu
+9
-9
paddle/operators/sign_op.h
paddle/operators/sign_op.h
+9
-9
paddle/operators/smooth_l1_loss_op.cc
paddle/operators/smooth_l1_loss_op.cc
+9
-9
paddle/operators/smooth_l1_loss_op.cu
paddle/operators/smooth_l1_loss_op.cu
+9
-9
paddle/operators/smooth_l1_loss_op.h
paddle/operators/smooth_l1_loss_op.h
+9
-9
paddle/operators/softmax_op.cu.cc
paddle/operators/softmax_op.cu.cc
+10
-10
paddle/operators/softmax_with_cross_entropy_op.cc
paddle/operators/softmax_with_cross_entropy_op.cc
+4
-4
paddle/operators/softmax_with_cross_entropy_op.cu
paddle/operators/softmax_with_cross_entropy_op.cu
+4
-4
paddle/operators/softmax_with_cross_entropy_op.h
paddle/operators/softmax_with_cross_entropy_op.h
+4
-4
paddle/operators/squared_l2_distance_op.cu
paddle/operators/squared_l2_distance_op.cu
+9
-9
paddle/operators/squared_l2_norm_op.cc
paddle/operators/squared_l2_norm_op.cc
+9
-9
paddle/operators/squared_l2_norm_op.cu
paddle/operators/squared_l2_norm_op.cu
+9
-9
paddle/operators/squared_l2_norm_op.h
paddle/operators/squared_l2_norm_op.h
+9
-9
paddle/operators/strided_memcpy.h
paddle/operators/strided_memcpy.h
+9
-9
paddle/operators/strided_memcpy_test.cc
paddle/operators/strided_memcpy_test.cc
+9
-9
paddle/operators/tensor_array_read_write_op.cc
paddle/operators/tensor_array_read_write_op.cc
+10
-10
paddle/operators/top_k_op.cu
paddle/operators/top_k_op.cu
+10
-10
paddle/operators/transpose_op.cc
paddle/operators/transpose_op.cc
+9
-9
paddle/operators/transpose_op.cu.cc
paddle/operators/transpose_op.cu.cc
+9
-9
paddle/operators/transpose_op.h
paddle/operators/transpose_op.h
+9
-9
paddle/operators/uniform_random_op.cc
paddle/operators/uniform_random_op.cc
+11
-11
paddle/operators/uniform_random_op.cu
paddle/operators/uniform_random_op.cu
+11
-11
paddle/operators/while_op.cc
paddle/operators/while_op.cc
+9
-9
paddle/optimizer/adadelta_optimizer.cc
paddle/optimizer/adadelta_optimizer.cc
+9
-9
paddle/optimizer/adadelta_optimizer.h
paddle/optimizer/adadelta_optimizer.h
+9
-9
paddle/optimizer/adagrad_optimizer.cc
paddle/optimizer/adagrad_optimizer.cc
+9
-9
paddle/optimizer/adagrad_optimizer.h
paddle/optimizer/adagrad_optimizer.h
+9
-9
paddle/optimizer/adam_optimizer.cc
paddle/optimizer/adam_optimizer.cc
+9
-9
paddle/optimizer/adam_optimizer.h
paddle/optimizer/adam_optimizer.h
+9
-9
paddle/optimizer/optimizer.cc
paddle/optimizer/optimizer.cc
+9
-9
paddle/optimizer/optimizer.h
paddle/optimizer/optimizer.h
+9
-9
paddle/optimizer/parameter_optimizer.cc
paddle/optimizer/parameter_optimizer.cc
+9
-9
paddle/optimizer/parameter_optimizer.h
paddle/optimizer/parameter_optimizer.h
+9
-9
paddle/optimizer/sgd_optimizer.cc
paddle/optimizer/sgd_optimizer.cc
+9
-9
paddle/optimizer/sgd_optimizer.h
paddle/optimizer/sgd_optimizer.h
+9
-9
paddle/platform/call_once.h
paddle/platform/call_once.h
+9
-9
paddle/platform/dynload/nccl.cc
paddle/platform/dynload/nccl.cc
+9
-9
paddle/platform/dynload/nccl.h
paddle/platform/dynload/nccl.h
+9
-9
paddle/platform/for_range.h
paddle/platform/for_range.h
+10
-10
paddle/platform/nccl_test.cu
paddle/platform/nccl_test.cu
+9
-9
paddle/platform/place.cc
paddle/platform/place.cc
+9
-9
paddle/platform/transform.h
paddle/platform/transform.h
+9
-9
paddle/platform/transform_test.cu
paddle/platform/transform_test.cu
+9
-9
paddle/platform/variant.h
paddle/platform/variant.h
+9
-9
paddle/pybind/exception.cc
paddle/pybind/exception.cc
+9
-9
paddle/pybind/exception.h
paddle/pybind/exception.h
+9
-9
paddle/pybind/tensor_py.h
paddle/pybind/tensor_py.h
+9
-9
paddle/string/to_string.h
paddle/string/to_string.h
+9
-9
paddle/string/to_string_test.cc
paddle/string/to_string_test.cc
+9
-9
未找到文件。
go/pserver/client/c/test/test_cclient.c
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
paddle/framework/backward.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/backward.h"
#include "paddle/framework/backward.h"
#include "paddle/operators/net_op.h"
#include "paddle/operators/net_op.h"
...
...
paddle/framework/backward.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/framework/backward_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/backward.h"
#include "paddle/framework/backward.h"
...
...
paddle/framework/data_type.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <typeindex>
#include <typeindex>
...
...
paddle/framework/ddim_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include <sstream>
#include <sstream>
#include <vector>
#include <vector>
...
...
paddle/framework/details/op_registry.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/framework/feed_fetch_type.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <vector>
#include <vector>
...
...
paddle/framework/grad_op_desc_maker.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <string>
#include <string>
...
...
paddle/framework/init.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include <algorithm>
#include <algorithm>
#include <string>
#include <string>
...
...
paddle/framework/init.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <mutex>
#include <mutex>
...
...
paddle/framework/init_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "gtest/gtest.h"
#include "gtest/gtest.h"
#include "paddle/framework/init.h"
#include "paddle/framework/init.h"
...
...
paddle/framework/lod_rank_table.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/lod_rank_table.h"
#include "paddle/framework/lod_rank_table.h"
...
...
paddle/framework/lod_rank_table.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <iosfwd>
#include <iosfwd>
...
...
paddle/framework/lod_tensor.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/lod_tensor.h"
#include "paddle/framework/lod_tensor.h"
#include "paddle/framework/data_type.h"
#include "paddle/framework/data_type.h"
...
...
paddle/framework/lod_tensor.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/framework/lod_tensor_array.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <vector>
#include <vector>
...
...
paddle/framework/op_info.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/op_info.h"
#include "paddle/framework/op_info.h"
...
...
paddle/framework/op_info.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <functional>
#include <functional>
...
...
paddle/framework/program_desc_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/program_desc.h"
#include "paddle/framework/program_desc.h"
#include "gtest/gtest.h"
#include "gtest/gtest.h"
...
...
paddle/framework/prune_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/prune.h"
#include "paddle/framework/prune.h"
...
...
paddle/framework/shape_inference.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/shape_inference.h"
#include "paddle/framework/shape_inference.h"
#include "grad_op_desc_maker.h"
#include "grad_op_desc_maker.h"
#include "paddle/framework/operator.h"
#include "paddle/framework/operator.h"
...
...
paddle/framework/tensor.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/tensor.h"
#include "paddle/framework/tensor.h"
...
...
paddle/framework/tensor_util.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/tensor.h"
#include "paddle/framework/tensor.h"
...
...
paddle/framework/threadpool.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/threadpool.h"
#include "paddle/framework/threadpool.h"
...
...
paddle/framework/type_defs.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <functional>
#include <functional>
...
...
paddle/framework/var_type.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/framework.pb.h"
#include "paddle/framework/framework.pb.h"
...
...
paddle/framework/var_type_inference.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/type_defs.h"
#include "paddle/framework/type_defs.h"
...
...
paddle/framework/var_type_inference_test.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/var_type_inference.h"
#include "paddle/framework/var_type_inference.h"
#include "gtest/gtest.h"
#include "gtest/gtest.h"
...
...
paddle/memory/detail/buddy_allocator.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/memory/detail/buddy_allocator.h"
#include "paddle/memory/detail/buddy_allocator.h"
#include "glog/logging.h"
#include "glog/logging.h"
...
...
paddle/memory/detail/buddy_allocator.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/memory/detail/memory_block.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/memory/detail/memory_block.h"
#include "paddle/memory/detail/memory_block.h"
#include "paddle/memory/detail/meta_cache.h"
#include "paddle/memory/detail/meta_cache.h"
...
...
paddle/memory/detail/memory_block.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/memory/detail/meta_cache.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/memory/detail/meta_cache.h"
#include "paddle/memory/detail/meta_cache.h"
#include "glog/logging.h"
#include "glog/logging.h"
...
...
paddle/memory/detail/meta_cache.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/memory/detail/meta_data.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/memory/detail/meta_data.h"
#include "paddle/memory/detail/meta_data.h"
...
...
paddle/memory/detail/meta_data.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/activation_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/activation_op.h"
#include "paddle/operators/activation_op.h"
...
...
paddle/operators/activation_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/activation_op.h"
#include "paddle/operators/activation_op.h"
...
...
paddle/operators/activation_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
...
...
paddle/operators/adadelta_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/adadelta_op.h"
#include "paddle/operators/adadelta_op.h"
...
...
paddle/operators/adagrad_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/adagrad_op.h"
#include "paddle/operators/adagrad_op.h"
...
...
paddle/operators/adam_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/adam_op.h"
#include "paddle/operators/adam_op.h"
...
...
paddle/operators/adamax_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/adamax_op.h"
#include "paddle/operators/adamax_op.h"
...
...
paddle/operators/array_operator.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/lod_tensor_array.h"
#include "paddle/framework/lod_tensor_array.h"
...
...
paddle/operators/array_to_lod_tensor_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include <numeric>
#include <numeric>
#include "paddle/framework/lod_rank_table.h"
#include "paddle/framework/lod_rank_table.h"
...
...
paddle/operators/assign_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/data_type.h"
#include "paddle/framework/data_type.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/beam_search_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/beam_search_op.h"
#include "paddle/operators/beam_search_op.h"
...
...
paddle/operators/cast_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/cast_op.h"
#include "paddle/operators/cast_op.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/cast_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/cast_op.h"
#include "paddle/operators/cast_op.h"
...
...
paddle/operators/cast_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/clip_by_norm_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/clip_by_norm_op.h"
#include "paddle/operators/clip_by_norm_op.h"
...
...
paddle/operators/clip_by_norm_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/clip_by_norm_op.h"
#include "paddle/operators/clip_by_norm_op.h"
...
...
paddle/operators/clip_by_norm_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/clip_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/clip_op.h"
#include "paddle/operators/clip_op.h"
...
...
paddle/operators/clip_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/clip_op.h"
#include "paddle/operators/clip_op.h"
...
...
paddle/operators/clip_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/compare_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/compare_op.h"
#include "paddle/operators/compare_op.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/compare_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/compare_op.h"
#include "paddle/operators/compare_op.h"
...
...
paddle/operators/compare_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <math.h>
#include <math.h>
...
...
paddle/operators/conditional_block_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include <algorithm>
#include <algorithm>
#include "paddle/framework/executor.h"
#include "paddle/framework/executor.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/conv_cudnn_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_op.h"
#include "paddle/operators/conv_op.h"
...
...
paddle/operators/conv_cudnn_op.cu.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors
.
All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/conv_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_op.h"
#include "paddle/operators/conv_op.h"
...
...
paddle/operators/conv_op.cu.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors
.
All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_op.h"
#include "paddle/operators/conv_op.h"
...
...
paddle/operators/conv_shift_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 201
7
PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 201
6
PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_shift_op.h"
#include "paddle/operators/conv_shift_op.h"
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
...
...
paddle/operators/conv_shift_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 201
7
PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 201
6
PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_shift_op.h"
#include "paddle/operators/conv_shift_op.h"
#include "paddle/operators/math/math_function.h"
#include "paddle/operators/math/math_function.h"
...
...
paddle/operators/conv_shift_op.h
浏览文件 @
c77b696b
/* Copyright (c) 201
7
PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 201
6
PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/conv_transpose_cudnn_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_transpose_op.h"
#include "paddle/operators/conv_transpose_op.h"
...
...
paddle/operators/conv_transpose_cudnn_op.cu.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors
.
All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
#include "paddle/framework/op_registry.h"
#include "paddle/framework/op_registry.h"
...
...
paddle/operators/conv_transpose_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_transpose_op.h"
#include "paddle/operators/conv_transpose_op.h"
...
...
paddle/operators/conv_transpose_op.cu.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors
.
All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/conv_transpose_op.h"
#include "paddle/operators/conv_transpose_op.h"
...
...
paddle/operators/cos_sim_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/cos_sim_op.h"
#include "paddle/operators/cos_sim_op.h"
...
...
paddle/operators/cos_sim_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/cos_sim_op.h"
#include "paddle/operators/cos_sim_op.h"
...
...
paddle/operators/cos_sim_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
...
...
paddle/operators/crop_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/crop_op.h"
#include "paddle/operators/crop_op.h"
#include <boost/lexical_cast.hpp>
#include <boost/lexical_cast.hpp>
...
...
paddle/operators/crop_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/crop_op.h"
#include "paddle/operators/crop_op.h"
...
...
paddle/operators/crop_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016
CropdleCrop
dle Authors. All Rights Reserve.
/* Copyright (c) 2016
PaddlePad
dle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/cross_entropy_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/cross_entropy_op.h"
#include "paddle/operators/cross_entropy_op.h"
...
...
paddle/operators/decayed_adagrad_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/decayed_adagrad_op.h"
#include "paddle/operators/decayed_adagrad_op.h"
...
...
paddle/operators/detail/recv_impl.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "send_recv_impl.h"
#include "send_recv_impl.h"
...
...
paddle/operators/detail/safe_ref.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/detail/send_impl.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "send_recv_impl.h"
#include "send_recv_impl.h"
...
...
paddle/operators/detail/send_recv.proto
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
syntax
=
"proto3"
;
syntax
=
"proto3"
;
...
...
paddle/operators/detail/send_recv_impl.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/detail/simple_block_queue.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve
d
.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/detail/strided_memcpy.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/ddim.h"
#include "paddle/framework/ddim.h"
...
...
paddle/operators/dropout_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/dropout_op.h"
#include "paddle/operators/dropout_op.h"
...
...
paddle/operators/dropout_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include <thrust/device_ptr.h>
#include <thrust/device_ptr.h>
...
...
paddle/operators/dropout_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include <random>
#include <random>
...
...
paddle/operators/elementwise_add_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/elementwise_add_op.h"
#include "paddle/operators/elementwise_add_op.h"
#include "paddle/operators/elementwise_op.h"
#include "paddle/operators/elementwise_op.h"
...
...
paddle/operators/elementwise_add_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/elementwise_add_op.h"
#include "paddle/operators/elementwise_add_op.h"
...
...
paddle/operators/elementwise_add_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/elementwise_div_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/elementwise_div_op.h"
#include "paddle/operators/elementwise_div_op.h"
#include "paddle/operators/elementwise_op.h"
#include "paddle/operators/elementwise_op.h"
...
...
paddle/operators/elementwise_div_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/elementwise_div_op.h"
#include "paddle/operators/elementwise_div_op.h"
...
...
paddle/operators/elementwise_div_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
...
...
paddle/operators/elementwise_mul_op.cc
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/operators/elementwise_mul_op.h"
#include "paddle/operators/elementwise_mul_op.h"
#include "paddle/operators/elementwise_op.h"
#include "paddle/operators/elementwise_op.h"
...
...
paddle/operators/elementwise_mul_op.cu
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#define EIGEN_USE_GPU
#define EIGEN_USE_GPU
#include "paddle/operators/elementwise_mul_op.h"
#include "paddle/operators/elementwise_mul_op.h"
...
...
paddle/operators/elementwise_mul_op.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/operators/elementwise_op_function.h"
#include "paddle/operators/elementwise_op_function.h"
...
...
paddle/operators/elementwise_op_function.h
浏览文件 @
c77b696b
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#pragma once
#pragma once
#include "paddle/framework/eigen.h"
#include "paddle/framework/eigen.h"
...
...
paddle/operators/elementwise_sub_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/elementwise_sub_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/elementwise_sub_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/expand_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/expand_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/feed_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/fetch_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/fill_constant_batch_size_like_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/fill_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/fill_zeros_like_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gather.cu.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gather_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gaussian_random_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gaussian_random_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_unit_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_unit_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/gru_unit_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/hinge_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/huber_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/increment_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/is_empty_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/l1_norm_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/l1_norm_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/l1_norm_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/linear_chain_crf_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/load_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_array_length_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_rank_table_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_reset_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_reset_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_reset_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lod_tensor_to_array_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/log_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/logical_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/logical_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/logical_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lookup_table_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lookup_table_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lookup_table_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lrn_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lrn_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lrn_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lstm_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lstm_unit_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lstm_unit_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/lstm_unit_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/margin_rank_loss_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/margin_rank_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/margin_rank_loss_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/math/cross_entropy.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/math/cross_entropy.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/math/cross_entropy.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/matmul_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/matmul_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/max_sequence_len_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/maxout_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/mean_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/minus_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/minus_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/minus_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/modified_huber_loss_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/modified_huber_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/modified_huber_loss_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/momentum_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/mul_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/mul_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/multiplex_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/multiplex_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/multiplex_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/nccl/nccl_gpu_common.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/nccl/nccl_gpu_common.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/nccl_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/nccl_op_test.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/nce_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/pad_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/pad_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/pad_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/prelu_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/prelu_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/rank_loss_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/rank_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/rank_loss_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/recurrent_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/recv_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reduce_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reduce_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reduce_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reorder_lod_tensor_by_rank_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reshape_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reshape_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/reshape_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/rmsprop_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/rnn_memory_helper_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/row_conv_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/row_conv_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/row_conv_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/save_load_op_test.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/save_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/scale_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/scale_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/scale_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/scatter.cu.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/scatter_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/send_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/send_recv_op_test.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sequence_conv_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sequence_expand_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sequence_expand_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sequence_expand_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sequence_pool_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sgd_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/shrink_rnn_memory_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sigmoid_cross_entropy_with_logits_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sigmoid_cross_entropy_with_logits_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sigmoid_cross_entropy_with_logits_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sign_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sign_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/sign_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/smooth_l1_loss_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/smooth_l1_loss_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/smooth_l1_loss_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/softmax_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/softmax_with_cross_entropy_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/softmax_with_cross_entropy_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/softmax_with_cross_entropy_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/squared_l2_distance_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/squared_l2_norm_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/squared_l2_norm_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/squared_l2_norm_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/strided_memcpy.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/strided_memcpy_test.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/tensor_array_read_write_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/top_k_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/transpose_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/transpose_op.cu.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/transpose_op.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/uniform_random_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/uniform_random_op.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/operators/while_op.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adadelta_optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adadelta_optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adagrad_optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adagrad_optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adam_optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/adam_optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/parameter_optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/parameter_optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/sgd_optimizer.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/optimizer/sgd_optimizer.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/call_once.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/dynload/nccl.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/dynload/nccl.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/for_range.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/nccl_test.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/place.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/transform.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/transform_test.cu
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/platform/variant.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/pybind/exception.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/pybind/exception.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/pybind/tensor_py.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/string/to_string.h
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
paddle/string/to_string_test.cc
浏览文件 @
c77b696b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录