Jeff Wang
Jeff Wang
@Xreki Sure, I will make the change.
@shanyi15 @luotao1 Will "Fluid" section cover "Operator" completely? We are about to delete "Operator", but we find there are technical details in "Operator" not yet in "Fluid".
@luotao1 Since "Fluid" section will not have "Operator", shouldn't we keep "Operator" for reference? Or is it because we don't find the info in "Operator" is necessary to the users.
When we were trying to implement the Param class, we realized it was pretty ugly to implement with a share scope. Therefore we update the syntax to the following. ```Python...
Latest Syntax ```Python import paddle.fluid as paddle import paddle.v2.dataset as dataset def inference_program(): image = fluid.layers.data(name='image', shape=[1, 28, 28]) hidden = fluid.layers.simple_img_conv_pool(image, num_filters=32, filter_size=3, pool_size=3, pool_stride=1, act='relu') hidden = fluid.layers.dropout(hidden,...
Talked offline with @helinwang . add_params is no longer needed.
Do you mean move from `from paddle.fluid import fluid` to just `import paddle` ? How will we distinguish between v1/v2 with fluid then?
Yes, the train network needs to return more information. Since inter network could also use this helper class, should we re-name this to `TrainProgram ` to `NetworkProgram` And the usage...
@JiayiFeng Is this the proposed syntax? ```Python def train_program(): label = fluid.layers.data(name='label', shape=[1], dtype='int64') predict = inference_program() cost = fluid.layers.cross_entropy(input=predict, label=label) avg_cost = fluid.layers.mean(cost) acc = fluid.layers.accuracy(input=predict, label=label) return avg_cost,...
@jacquesqiao @seiriosPlus Does the bug only happen with the learning rate decay? I wonder if there is a way to create a copy of the optimizer with the proper.