Add fill constant op
Created by: lijiancheng0614
FillConstantBatchSizeLike Operator. Fill up a variable with specified constant value.
Attributes
- dtype
int
, Output data type - shape:
std::vector<int>
, The shape of the output - value
float
, The value to be filled
Outputs
- Out
Tensor
, Tensor of specified shape will be filled with the specified value
Reference
https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/fluid/operators/fill_constant_op.cc