- 17 7月, 2017 4 次提交
- 16 7月, 2017 3 次提交
-
-
由 dongzhihong 提交于
-
由 Qiao Longfei 提交于
* OperatorBase should not store OpDesc because not All op contains an OpDesc and not all ops create from OpDesc. * Networks do not contain OpDesc and are not created by OpDesc * Do not register Network to OpRegistry. * The network is directly created by the user in Python. Not from registry. * Correctly handle the `inputs` and `outputs` of a Network. * Add CompleteAddOp() methods * Remove `AddOp(OpDesc&)` in net-op. All op are added by OperatorPtr. * Rewrite unit test for truly tested what networks do. * optimise operator_test
-
由 Qiao Longfei 提交于
* add ADD_OP_CPU to enable add op with only cpu kernel
-
- 15 7月, 2017 10 次提交
-
-
由 Yu Yang 提交于
Get OpProtos in Python
-
由 gangliao 提交于
FIX: cpplint code style
-
由 liaogang 提交于
-
由 liaogang 提交于
-
由 liaogang 提交于
-
由 liaogang 提交于
-
由 helinwang 提交于
cmake: do not run glide install every time.
-
由 helinwang 提交于
Turn on race detector for all go tests
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
- 14 7月, 2017 23 次提交
-
-
由 gangliao 提交于
[Done] Memory Management: Buddy Allocator
-
由 fengjiayi 提交于
Add Tensor::CopyFrom and Tensor::mutable_data(Place place)
-
由 liaogang 提交于
-
由 fengjiayi 提交于
-
由 fengjiayi 提交于
-
由 fengjiayi 提交于
-
由 Yu Yang 提交于
-
由 hedaoyuan 提交于
Remove useless empty pointer check.
-
由 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.
-
由 Cao Ying 提交于
add configuration helper for the gated unit.
-
由 fengjiayi 提交于
-
由 qijun 提交于
-
由 caoying03 提交于
-
由 caoying03 提交于
-
由 Yu Yang 提交于
* PyBind and SWIG of paddle cannot be load in a single Python process, lazy import all SWIG library of Paddle. Otherwise, the glog, gflags are imported twice in a same Python process. * Note that all PyBind11 return C++ std::string as an unicode. For protobuf, it is need be cast to `str` before use them. * Add unit test for Get `OpProtos`
-
由 Qiao Longfei 提交于
* use OperatorPtr = std::shared_ptr<OperatorBase>; * use ScopePtr = std::share_ptr<Scope>;
-
由 Yu Yang 提交于
* Let OpProto support multiple and temporary * Each input/output of Paddle's Op could be a list. Add multiple mark to OpProto. Also add a `input_format`/`output_format` attribute if that Op has multiple input or output. The format of that attribute please reference the comments in `op_proto.proto` * Add temporary mark, because some output of an Op is not used by user but used by other op for faster computation. Explicitly mark which output is temporary could let future memory/computation optimization. * Add generated field to AttrProto. * Add `AddInputs`/`AddOutputs` function * It is more readable to invoke `AddInputs` not `AddInput(multiple=true)`.
-
由 hedaoyuan 提交于
-
由 Yu Yang 提交于
-
由 liaogang 提交于
-
由 qijun 提交于
-
由 liaogang 提交于
-