Yu Yang
ce6dad3b35
Rename CopyFrom to Copy for tensors ( #7292 )
...
* Rename Tensor::CopyFrom to Tensor::Copy
* Fix CI
* Fix compile
7 years ago
Yu Yang
15e8c80ee0
Rename API of DeviceContext ( #7055 )
...
* Rename API of DeviceContext
Make them as usual names.
* Rename API of DeviceContext
Make them as usual names.
* Fix compile
* Fix compile
* Fix compile
* Fix compile
* Fix compile
7 years ago
Luo Tao
761b329793
unify the indentation of license
7 years ago
dzhwinter
735eba2976
Feature/operator run place ( #6783 )
...
* "change operator interface"
* "move devicepool to device_context"
* "fix operator test"
* "fix op_registry Run interface"
* "net op passed. Need to fix nccl multi-Context"
* "add nccl group function"
* "add nccl group function"
* "fix gpu count exceed 32 error"
* "fix recurrent op, nccl op"
* "change the other operators interface with Place"
* "fix typo"
* "fix pybind"
* "fix device in python side"
* "fix pybind failed"
* "add init for test"
* "fix CI"
7 years ago
Yu Yang
091897321f
Rename XXDescBind --> XXDesc ( #6797 )
...
* Rename XXDescBind --> XXDesc
* Fix Compile
7 years ago
Yu Yang
e445b3ff20
Move framework.proto to proto namespace ( #6718 )
...
* Move framework.proto to proto namespace
* Fix compile
* Fix compile
* Fix Compile
7 years ago
Yu Yang
d5e3279451
While op forward for sentimental analysis ( #6140 )
...
* Add DataFeeder
A v2 API like data feeder for book demos.
We can feed data directly from reader.
* Fix CI
* Add an unittest for while/rnn op forward
* Add unittest for raw while op backward
* Fix CI
7 years ago
dzhwinter
45062fe5d7
Feature/copytensor ( #5455 )
...
* "make global tensor function independently"
* "replace functor"
* "fix inline template error"
* "fix tensor array with CopyFrom"
* "fix other case use CopyFrom"
* "move the op interface hardly"
* "fix operators"
* "fix typo"
* "delete dynamic recurrent rnn and fix gru_unit in debugmode"
* "fix unique_ptr copy"
* "fix cuda copy"
* "fix namespace error"
* "removed nccl python test"
* "fix include error"
* "fix typo"
* fix copy util test
7 years ago
fengjiayi
b698d19bfb
Add grad for lodtensor array ops ( #5461 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* Add grad for ops
* Debug
* Fix a bug
* fix a bug
* fix a bug
8 years ago
Yu Yang
f72729d407
Feature/rnn to array to lod tensor ( #5411 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* clean code
* refactor
* use ostream
* update test
* fix gpu build error
* make gpu test pass
8 years ago