Commit Graph

402 Commits (dbf4035d0ab7f54b5d18e92539610fcd15a5cfdb)

Author SHA1 Message Date
fengjiayi f85ccdd351 Renew CMakeList dependence
8 years ago
Yu Yang c2543f5b29 Remove ScopePtr and OperatorPtr
8 years ago
Yu Yang 1294b3c53e Expose Net to Python (#2967)
8 years ago
Yi Wang 045470cf00 Slight simplification of eigen.h in hope to make it more readable.
8 years ago
fengjiayi da07ec1886 Update Tensor and PODDeleter's template parameter
8 years ago
fengjiayi 6cd94cc73f Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_refactor_tensor
8 years ago
fengjiayi 4736b239d9 Add a simple test for grad_op_creator
8 years ago
fengjiayi 9418717f80 Fix compile errors
8 years ago
fengjiayi f41fcd43d0 Merge branch 'backward' of https://github.com/dzhwinter/Paddle into backward
8 years ago
fengjiayi 99a5904c75 Merge branch 'backward_dev' into backward
8 years ago
dongzhihong 088e2200c4 "remove unused fake fc op"
8 years ago
qijun 586365e0ad using alias to simplify code
8 years ago
qijun 407b0efc79 fix bug in EigenVector::Flatten method
8 years ago
fengjiayi b635af71d8 Fix some compile error
8 years ago
fengjiayi 8a5ee462a5 Fix some compile errors
8 years ago
dongzhihong 6f0539246c Merge remote-tracking branch 'origin/develop' into backward2
8 years ago
dongzhihong 81a352aff7 "test fc without gradient"
8 years ago
dongzhihong 14424f314c "use built-in operator"
8 years ago
fengjiayi e192d0fd01 Refactor the implementation of gradient Op creating
8 years ago
dongzhihong 4876f35858 "make plainNet shared"
8 years ago
liaogang 5e8a4f16c7 Fix conflcts
8 years ago
liaogang aae53d836b Merge conflicts
8 years ago
QI JUN d81084939b Merge pull request #2953 from wangkuiyi/tensor_type_to_eigen
8 years ago
qijun d6d057b4e8 change EQ to NEAR for float value
8 years ago
dongzhihong 73f4779808 Merge remote-tracking branch 'origin/develop' into backward2
8 years ago
qijun 57c27b4e00 make EigenTensor default unaligned and follow comments
8 years ago
fengjiayi 55d301722f Simplify Tensor implimentation
8 years ago
fengjiayi 3dc70ff282 Merge branch 'backward' of https://github.com/dzhwinter/Paddle into backward
8 years ago
Yu Yang e8304bd92a Merge pull request #2945 from reyoung/feature/grouped_ops
8 years ago
dongzhihong 8bc4892106 "fix comment "
8 years ago
qijun cff8762f26 add more uinttest for EigenTensor
8 years ago
liaogang 941eccac83 Follow comments
8 years ago
fengjiayi 94a6b1fa43 rename a macro
8 years ago
dongzhihong cb95587feb "ignore some gradient of specific op"
8 years ago
qijun d9fa6159b7 add Flatten method to EigenVector
8 years ago
fengjiayi bf4da3d97a Refactor Rigistry::CreateGradOp()
8 years ago
Yu Yang b90780c3a8 Merge pull request #2939 from reyoung/feature/refine_tensor_hpp
8 years ago
Yi Wang 1981eaf922 Fix Tensor::data interface
8 years ago
Yi Wang 2538e20787 Fix wrong inclusion path
8 years ago
Yi Wang 00ed564307 Update
8 years ago
Yi Wang cb1d1f167c Add unit test
8 years ago
Yi Wang 642d3c4687 Refactorize Tensor to Eigen convesion
8 years ago
fengjiayi e786746f6f Merge branch 'backward' of https://github.com/dzhwinter/Paddle into backward
8 years ago
dongzhihong 855cae603c move unused file
8 years ago
fengjiayi 7f1533f251 test collaborating
8 years ago
dongzhihong 8b80cf8989 "add net op testing"
8 years ago
dongzhihong 9890b23c82 fix confilct
8 years ago
dongzhihong 816b4c8ab0 "add backward Op"
8 years ago
Yu Yang d3373c5b85 Skeleton Of fully connected operator
8 years ago
Yu Yang ad728419d6 Merge pull request #2912 from reyoung/feature/better_network_debug_str
8 years ago
Yu Yang 107b3395b4 Merge branch 'develop' into feature/better_network_debug_str
8 years ago
QI JUN 3208914b56 Merge pull request #2805 from QiJune/tensor_to_EigenTensor
8 years ago
Yu Yang fb48cb120d Merge pull request #2936 from reyoung/feature/create_op_in_cpp_params
8 years ago
Yu Yang 9b964b535b Tensor should use PADDLE_ONLY_CPU macro
8 years ago
Yu Yang 8539222a1a Merge branch 'develop' into feature/is_in_gpu
8 years ago
Yu Yang 1dc53a289f Use friend not to expose tensor's `type/place`
8 years ago
Yu Yang f6a51d9b4e Make CreateOp in Plain C++ params
8 years ago
QI JUN d344f6702c Merge branch 'develop' into tensor_to_EigenTensor
8 years ago
Yu Yang c1219a530c Change `in_out_idxs_` to shared_ptr
8 years ago
Yu Yang 1ac0bffaf7 Override Net::DebugString to invoke inner ops_
8 years ago
Yu Yang e00aae5386 Fix Merge Bugs
8 years ago
Qiao Longfei 051676a7e4 support multiple template parameter in KernelType for REGISTER_OP_XPU_KERNEL (#2932)
8 years ago
Yu Yang 861b66d4e3 Merge pull request #2914 from reyoung/feature/add_some_skeletons_of_ops
8 years ago
qijun 4d49f1d892 merge baidu/develop
8 years ago
Yu Yang bde90be71b Read/Write a Tensor Python
8 years ago
fengjiayi 78fa5e307d Add DDim::size()
8 years ago
fengjiayi 78bd815e85 refine conditional compilation and remove `numel_`
8 years ago
fengjiayi 1cd14f661b Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_enable_tensor_test
8 years ago
Yu Yang ad8fa77cce Merge branch 'develop' into feature/add_some_skeletons_of_ops
8 years ago
Yu Yang 5847b96a61 Follow comments, correct implement `DDim::size()`
8 years ago
qijun 87189665d9 merge baidu/develop
8 years ago
qijun 2a03e3808d set correct place for output tensor
8 years ago
Yu Yang 0e77b31a02 Merge branch 'develop' into feature/op_creation_methods
8 years ago
Yan Chunwei a0caf23430 Op varient inputs (#2901)
8 years ago
Yu Yang 1ed237c11e Add skeletons of `mul`, `rowwise_add`, `sigmoid`, `softmax` ops
8 years ago
qijun 6dc567a52e merge baidu/develop
8 years ago
qijun 5017b15468 refactor tensor mutable_data
8 years ago
Yu Yang a4eaf2d3ba Merge pull request #2897 from reyoung/feature/op_library
8 years ago
fengjiayi a33e9da9c9 Merge pull request #2900 from Canpio/dev_ddim_update
8 years ago
Yu Yang 38310f9349 Refine CMake dependencies graph
8 years ago
Qiao Longfei 80a26a6308 check duplicate of ProtoAndCheckerMaker (#2903)
8 years ago
Yan Chunwei cdec563449 Add enforce switch for convient develop (#2850)
8 years ago
Yu Yang c5bc126762 Follow comment, rename to `GenerateTempVariableName`
8 years ago
Yu Yang 68f6ac011c Merge branch 'develop' into feature/op_creation_methods
8 years ago
fengjiayi 778a1a9f87 add a comment for
8 years ago
qijun 65dbeb6a24 fix gpu build error
8 years ago
qijun 9e3a9eb233 merge baidu/develop
8 years ago
qijun d649dbf442 implement add_op kernel
8 years ago
Qiao Longfei 45ce1649a1 change net to operator (#2846)
8 years ago
fengjiayi 7de10ee7e2 formate code
8 years ago
fengjiayi 85c4f488f3 Refactor DDim's product() and add slice_ddim()
8 years ago
Qiao Longfei afa99d9ae6 add ADD_OP_CPU to enable add op with only cpu kernel (#2896)
8 years ago
Yu Yang 9e0c6800c5 Python Generate OpCreation Methods by OpProto
8 years ago
Yu Yang 1faf5e0313 Merge pull request #2864 from reyoung/feature/op_creation_methods
8 years ago
fengjiayi afa2a88d78 add conditional compilation for tensor
8 years ago
fengjiayi 66cf21c880 fix compile error
8 years ago
fengjiayi 68adb9541d enbale tensor memory test
8 years ago
fengjiayi ee90c2d22b add slice_dim draft
8 years ago
liaogang 620575b6eb FIX: cpplint code style
8 years ago
liaogang 90c4cd8323 FIX: header file
8 years ago
liaogang f812de2cce ENH: unify PADDLE_ENFORCE
8 years ago
fengjiayi c48fc4d826 Merge pull request #2825 from Canpio/dev_add_tensor_copy
8 years ago
fengjiayi 57a22db3fa update PADDLE_ENFORCE message
8 years ago
fengjiayi 34beec0f7a update tensor.h
8 years ago
fengjiayi 8594d5c314 change int numel_ to size_t numel
8 years ago
fengjiayi 8bcd1faffc refactor product(DDim ddim)
8 years ago
fengjiayi 1f97388a34 fix several compile error
8 years ago
fengjiayi dcfcf6872a Refactor Tensor::CopyFrom()
8 years ago
fengjiayi a1dc4311a3 Refactor `Tensor::CopyFrom()`
8 years ago
qijun bac1426d47 add_op kernel implementation
8 years ago
Qiao Longfei 58f3de95cf Optimize ptr (#2851)
8 years ago
Yu Yang 2462d0c5fe Let OpProto support multiple and temporary (#2860)
8 years ago
Yu Yang cd5113c197 Init commit
8 years ago
qijun 0b0b3ba16a Merge remote-tracking branch 'baidu/develop' into tensor_to_EigenTensor
8 years ago
fengjiayi dfa4650920 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_tensor_copy
8 years ago
Yu Yang 79b70c2d69 Follow comments
8 years ago
Yu Yang a0aaafe9de Add a sample op, `add_op`
8 years ago
qijun f6fe37155f Merge remote-tracking branch 'baidu/develop' into fix_bug_dynload
8 years ago
Qiao Longfei 728665d709 Add Init to OperatorBase (#2838)
8 years ago
qijun 71e2a94310 Merge remote-tracking branch 'baidu/develop' into tensor_to_EigenTensor
8 years ago
qijun 4e918377d0 fix bug in dynload
8 years ago
Qiao Longfei be441f7d16 test OpKernel (#2820)
8 years ago
fengjiayi 69d99d481d Add Tensor::CopyFrom and Tensor::mutable_data(Place place)
8 years ago
Yu Yang 0a32008126 Merge pull request #2815 from reyoung/feature/op_kernel
8 years ago
Yu Yang 0ff8192072 Add OperatorWithKernel class
8 years ago
qijun 37bcc0860a merge baidu/develop
8 years ago
fengjiayi 8681c5800b Merge pull request #2813 from Canpio/dev_update_dim
8 years ago
fengjiayi 76b4dd6226 Merge pull request #2809 from Canpio/dev_add_tensor_interface
8 years ago
fengjiayi 2dbe60e489 Remove Dim::contiguous and Dim::contiguous_strides
8 years ago
fengjiayi 2dccab87d4 fix some syntax problems
8 years ago
Qiao Longfei a2e5f652d3 add operator base (#2725)
8 years ago
fengjiayi 0665dc9755 add more test
8 years ago
fengjiayi ca39515e24 Add several interfaces for Tensor class
8 years ago
Yu Yang 267f9a2cdf Move static variable defined in .cc (#2782)
8 years ago
qijun a5eb1d8fab fix build error
8 years ago
qijun d607f0b703 use cached rank
8 years ago
Yu Yang abff52abcb Simplelize framework/CMakeLists.txt (#2803)
8 years ago
qijun 958511160b add simple add_op_functor
8 years ago
qijun d6f7c3535d move unaligned tensor types
8 years ago
dongzhihong b871641a53 "switch to shared_ptr"
8 years ago
dongzhihong 18e65b0c08 "support net_proto header"
8 years ago
dongzhihong bc021d775e "move opContext to DeviceContext"
8 years ago
qijun 1a968b4f64 init
8 years ago
dongzhihong 052d1d16ee Merge remote-tracking branch 'origin/develop' into net_ycw
8 years ago
fengjiayi 1d2ef1db82 [draft] add registry for Op, OpProto and OpAttrChecker (#2739)
8 years ago
Yu Yang e2ea1f42e9 Generate python protobufs for paddle.v2.framework
8 years ago
Superjom 1264480b04 fix ci
8 years ago
Superjom 5cf9a23f9b Merge branch 'develop' of github.com:PaddlePaddle/Paddle into network
8 years ago
Superjom 568c03ba1d add virtual implementation
8 years ago
fengjiayi 830877f59b Merge pull request #2706 from Canpio/dev_tensor_test
8 years ago
Superjom 5c10a5ad55 remove virtual
8 years ago
Superjom 9f2357561d fix ci error
8 years ago
Superjom d1945e8d56 Merge branch 'develop' of github.com:PaddlePaddle/Paddle into network
8 years ago
Qiao Longfei 571714159a add op_desc.proto (#2736)
8 years ago
Superjom e95299b583 fix ci error
8 years ago
Superjom 109937b8d5 fix ci error
8 years ago
Superjom (Chunwei Yan) 58b7d9a048 Merge branch 'develop' into network
8 years ago
Superjom 16a1637ffe Merge branch 'develop' of github.com:PaddlePaddle/Paddle into network
8 years ago
Yu Yang b7397031e9 Add target_link_libraries for cc_library
8 years ago
Superjom 04e20034df replace Error with void
8 years ago
Superjom c602e04613 add fake interfaces to make compilable
8 years ago
Yu Yang 9558770f26 Merge pull request #2731 from reyoung/feature/add_deps_for_generic_protobuf
8 years ago
Superjom 90f55b1b18 Merge branch 'develop' of github.com:PaddlePaddle/Paddle into network
8 years ago
Yu Yang 3de3894b82 Add DEPS to `proto_library`
8 years ago
Superjom (Chunwei Yan) 06156daa28 net design with NetBuilder (#2598)
8 years ago
dongzhihong 9f365d3636 "add net proto"
8 years ago
dongzhihong aadbd49814 Merge remote-tracking branch 'origin/develop' into network
8 years ago
Yu Yang 80f8e24209 Merge pull request #2703 from reyoung/feature/op_proto
8 years ago
Yu Yang 3f63d96abe Fix link error in op_proto_test.
8 years ago
fengjiayi e48e21da2b remove unnecessary include
8 years ago
fengjiayi 2d1f95de87 fix a compile error
8 years ago
fengjiayi d054a5eef8 re-submit
8 years ago
fengjiayi e146fe836b fix compile errors and add assert test
8 years ago
Yu Yang 9bf9816828 Add OpProto unittest.
8 years ago
Yu Yang bdd2720877 Add OpProto implementation
8 years ago
fengjiayi 9f408dfb1b fix some compile error
8 years ago
fengjiayi 696ba1d2e1 init tensor_test.cc
8 years ago
Superjom 40573cd56f add net headers
8 years ago
fengjiayi bad85f94c3 Merge pull request #2611 from wangkuiyi/tensor
8 years ago
qiaolongfei 9af54c9ee9 do not use default argument in Scope
8 years ago
qiaolongfei cfdfa89bdd Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into scope-impl
8 years ago
qiaolongfei aabe171566 merge CreateVar and GetOrCreateVar
8 years ago
Yu Yang f0a3fb6e36 Using paddle::string in enforce
8 years ago
qiaolongfei 1678ad7b30 add Create for scope
8 years ago
qiaolongfei b8ffa8b9e9 move code to scope.h, remove scope.cc
8 years ago
qiaolongfei 3e16f5fdfb clang format
8 years ago
qiaolongfei 6ad1d21c4b refine code of operator
8 years ago
Yi Wang c263c21f7e Update copyright informaiton
8 years ago
Yi Wang 2c188a20de Follow QingQing's suggestion
8 years ago
qiaolongfei 7d138593d2 refine code of scope with style check
8 years ago
qiaolongfei fa4f00d9b5 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into scope-impl
8 years ago
qiaolongfei 5e8d8e073b refine GetOrCreateVariable
8 years ago
qiaolongfei 2f47562df8 scope-impl
8 years ago
Yu Yang 5b31bd7ae3 Add `Variable::IsType`
8 years ago
Yi Wang e2e0fbd418 Add tesnor.h
8 years ago
Yi Wang bd4559abbe Add design doc
8 years ago
Yi Wang ac28fad6f3 Add type assertion in Variable::Get
8 years ago
Yi Wang 58efbf41b3 Follow comments from Xu Wei
8 years ago
Yi Wang 5a22d73651 Add variable.h and test
8 years ago
Yi Wang 8913aff194 Make paddle/framework buildable and passed
8 years ago
Yi Wang d03159be09 Use Google Style in new directories
8 years ago
Yi Wang bb88202879 Move paddle/majel/* to paddle/platform/ and paddle/framework/
8 years ago