- 14 7月, 2017 8 次提交
-
-
由 fengjiayi 提交于
-
由 fengjiayi 提交于
-
由 fengjiayi 提交于
-
由 fengjiayi 提交于
1. Add template T which indicates data type to `CopyFrom()`, `Slice()` and `ShareData()` functions. This makes `CopyData()` code much clearer. 2. Add `set_dim()`. 3. `product(DDim)` transforms `DDim` to `vector<int>` first and then calculate its product. That might be quite slow. For `product(dims_)` is frequently used in Tensor, we add a mumber variable `numel_` as a cache of the product result. TODO: refactor `product()` to make it more efficient. 4. Unable Tensor::operator= 5. Remove the limit of POD type, because `float16` and `int8` are not POD type.
-
由 fengjiayi 提交于
-
-
由 Yu Yang 提交于
Add a sample op, `add_op`
-
由 qiaolongfei 提交于
-
- 13 7月, 2017 19 次提交
-
-
由 Yu Yang 提交于
* Convert `op` --> `operators` * Remove AddType in OpProtoMaker, because type is part of registry. * Rename CPU_OR_GPU --> DEVICE_TYPE in registry macro.
-
由 Yu Yang 提交于
Default scope function
-
由 Yu Yang 提交于
* Refine register methods, make Op can get rid of whole-archieve * `USE_OP` before a op is used. * Add unittest for add_op.
-
由 QI JUN 提交于
fix bug in dynload
-
由 qijun 提交于
-
由 Qiao Longfei 提交于
-
由 hedaoyuan 提交于
Compile for armv8.
-
由 QI JUN 提交于
"fix init error"
-
由 hedaoyuan 提交于
-
由 dongzhihong 提交于
-
由 dongzhihong 提交于
-
由 qijun 提交于
-
由 gangliao 提交于
go_binary: remove hardcoded library link path, add pserver client test
-
由 Yancey 提交于
* Server recovery from checkpoint
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
由 helinwang 提交于
Add go testing into cmake
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
- 12 7月, 2017 13 次提交
-
-
-
由 hedaoyuan 提交于
-
由 Qiao Longfei 提交于
Add unit test for OpKernel
-
由 Yu Yang 提交于
Add GetEigenDevice To DeviceContext.
-
由 qijun 提交于
-
由 gangliao 提交于
FIX: add -lrt for link
-
由 fengjiayi 提交于
1. Add `Tensor::CopyFrom`. Current version can only support CPU memory copy. The support of GPU will be provided later by `paddle::memory`. The current implementation of `Tensor::CopyFrom` is a little inefficient: Every time `CopyFrom` is called, tensor will re-allocate its memory. However, if we try to check and reuse `placeholder_`, we have to provide a template parameter for `CopyFrom` to indicate the data type. It seems strange for a simple copy function. 2. Add `Tensor::mutable_data(Place place)`, which directly use member variable `dims_` as its dim parameter. This interface is required by `Op::InferShape`.
-
由 qijun 提交于
-
由 qijun 提交于
-
由 gangliao 提交于
-
由 qijun 提交于
-
由 Tao Luo 提交于
fix pybind compile question
-
由 qijun 提交于
-