- 16 7月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* It is used to create an operator library. It handles to split CPU and GPU sources and links operator common libraries. * It also give a reasonable warning and error when operator developer not correctly implement an operator. * Warning for lack of GPU kernel. * Same interface as `cc_library` to make code style consistent.
-
- 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 29 次提交
-
-
由 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 提交于
-
由 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 提交于
-
由 liaogang 提交于
-
由 Yu Yang 提交于
-
由 liaogang 提交于
-
由 liaogang 提交于
-
由 liaogang 提交于
-
由 Helin Wang 提交于
-
由 helinwang 提交于
Fix optimizer parameter buffer allocation size.
-
由 Yiqun Liu 提交于
Add build_android task on Travis CI.
-
-