未验证 提交 45fb85ae 编写于 作者: C Chen Long 提交者: GitHub

change (声明式编程模式(静态图)) to (声明式编程(静态图)专用API) (#2207)

上级 7902fc9d
......@@ -3,7 +3,7 @@
append_backward
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.backward.append_backward(loss, parameter_list=None, no_grad_set=None, callbacks=None)
......
......@@ -3,7 +3,7 @@
gradients
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.backward.gradients(targets, inputs, target_gradients=None, no_grad_set=None)
......
......@@ -3,7 +3,7 @@
set_gradient_clip
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.clip.set_gradient_clip(clip, param_list=None, program=None)
......
......@@ -3,7 +3,7 @@
Executor
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.executor.Executor (place=None)
......
......@@ -3,7 +3,7 @@
global_scope
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.global_scope()
......
......@@ -3,7 +3,7 @@
scope_guard
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.executor.scope_guard (scope)
......
......@@ -3,7 +3,7 @@
BuildStrategy
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.BuildStrategy
......
......@@ -3,7 +3,7 @@
CompiledProgram
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.CompiledProgram(program_or_graph, build_strategy=None)
......
......@@ -3,7 +3,7 @@
DataFeedDesc
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.DataFeedDesc(proto_file)
......
......@@ -3,7 +3,7 @@
DataFeeder
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.DataFeeder(feed_list, place, program=None)
......
......@@ -3,7 +3,7 @@
ExecutionStrategy
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.ExecutionStrategy
......
......@@ -4,7 +4,7 @@ Executor
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.Executor (place=None)
......
......@@ -3,7 +3,7 @@
ParallelExecutor
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.ParallelExecutor(use_cuda, loss_name=None, main_program=None, share_vars_from=None, exec_strategy=None, build_strategy=None, num_trainers=1, trainer_id=0, scope=None)
......
......@@ -3,7 +3,7 @@
WeightNormParamAttr
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.WeightNormParamAttr(dim=None, name=None, initializer=None, learning_rate=1.0, regularizer=None, trainable=True, do_model_average=False)
......
......@@ -4,7 +4,7 @@
create_random_int_lodtensor
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.create_random_int_lodtensor(recursive_seq_lens, base_shape, place, low, high)
......
......@@ -3,7 +3,7 @@
data
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.data(name, shape, dtype='float32', lod_level=0)
......
......@@ -3,7 +3,7 @@
device_guard
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.device_guard(device=None)
......
......@@ -3,7 +3,7 @@
embedding
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.embedding(input, size, is_sparse=False, is_distributed=False, padding_idx=None, param_attr=None, dtype='float32')
......
......@@ -3,7 +3,7 @@
global_scope
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.global_scope()
......
......@@ -3,7 +3,7 @@
gradients
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.gradients(targets, inputs, target_gradients=None, no_grad_set=None)
......
......@@ -3,7 +3,7 @@
memory_optimize
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.memory_optimize(input_program, skip_opt_set=None, print_log=False, level=0, skip_grads=True)
......
......@@ -3,7 +3,7 @@
name_scope
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.name_scope(prefix=None)
......
......@@ -3,7 +3,7 @@
program_guard
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.program_guard(main_program, startup_program=None)
......
......@@ -3,7 +3,7 @@
release_memory
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.release_memory(input_program, skip_opt_set=None)
......
......@@ -3,7 +3,7 @@
save
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.save(program, model_path)
......
......@@ -3,7 +3,7 @@
scope_guard
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.scope_guard(scope)
......
......@@ -3,7 +3,7 @@
load_inference_model
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.load_inference_model(dirname, executor, model_filename=None, params_filename=None, pserver_endpoints=None)
......
......@@ -3,7 +3,7 @@
load_params
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.load_params(executor, dirname, main_program=None, filename=None)
......
......@@ -3,7 +3,7 @@
load_persistables
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.load_persistables(executor, dirname, main_program=None, filename=None)
......
......@@ -3,7 +3,7 @@
save
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.save(program, model_path)
......
......@@ -3,7 +3,7 @@
save_inference_model
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.save_inference_model(dirname, feeded_var_names, target_vars, executor, main_program=None, model_filename=None, params_filename=None, export_for_deployment=True, program_only=False)
......
......@@ -3,7 +3,7 @@
save_params
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.save_params(executor, dirname, main_program=None, filename=None)
......
......@@ -3,7 +3,7 @@
save_persistables
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.save_persistables(executor, dirname, main_program=None, filename=None)
......
......@@ -3,7 +3,7 @@
save_vars
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.io.save_vars(executor, dirname, main_program=None, vars=None, predicate=None, filename=None)
......
......@@ -4,7 +4,7 @@ BeamSearchDecoder
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.BeamSearchDecoder(cell, start_token, end_token, beam_size, embedding_fn=None, output_fn=None)
......
......@@ -4,7 +4,7 @@ Decoder
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.Decoder()
......
......@@ -3,7 +3,7 @@
DynamicRNN
===================
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.DynamicRNN(name=None)
......
......@@ -3,7 +3,7 @@
GRUCell
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.GRUCell(hidden_size, param_attr=None, bias_attr=None, gate_activation=None, activation=None, dtype="float32", name="GRUCell")
......
......@@ -3,7 +3,7 @@
IfElse
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.IfElse(cond, name=None)
......
......@@ -4,7 +4,7 @@ LSTMCell
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.LSTMCell(hidden_size, param_attr=None, bias_attr=None, gate_activation=None, activation=None, forget_bias=1.0, dtype="float32", name="LSTMCell")
......
......@@ -3,7 +3,7 @@
Print
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.Print(input, first_n=-1, message=None, summarize=20, print_tensor_name=True, print_tensor_type=True, print_tensor_shape=True, print_tensor_lod=True, print_phase='both')
......
......@@ -4,7 +4,7 @@ RNNCell
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.RNNCell(name=None)
RNNCell是抽象的基类,代表将输入和状态映射到输出和新状态的计算,主要用于RNN。
......
......@@ -3,7 +3,7 @@
StaticRNN
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.StaticRNN(name=None)
......
......@@ -3,7 +3,7 @@
Switch
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.Switch (name=None)
......
......@@ -3,7 +3,7 @@
While
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:class:: paddle.fluid.layers.While (cond, is_test=False, name=None)
......
......@@ -3,7 +3,7 @@
autoincreased_step_counter
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.autoincreased_step_counter(counter_name=None, begin=1, step=1)
......
......@@ -3,7 +3,7 @@
batch_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.batch_norm(input, act=None, is_test=False, momentum=0.9, epsilon=1e-05, param_attr=None, bias_attr=None, data_layout='NCHW', in_place=False, name=None, moving_mean_name=None, moving_variance_name=None, do_model_average_for_mean_and_var=False, use_global_stats=False)
......
......@@ -3,7 +3,7 @@
bilinear_tensor_product
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.bilinear_tensor_product(x, y, size, act=None, name=None, param_attr=None, bias_attr=None)
......
......@@ -3,7 +3,7 @@
case
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.case(pred_fn_pairs, default=None, name=None)
......
......@@ -3,7 +3,7 @@
center_loss
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.center_loss(input, label, num_classes, alpha, param_attr, update_center=True)
......
......@@ -3,7 +3,7 @@
cond
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.cond(pred, true_fn=None, false_fn=None, name=None)
......
......@@ -3,7 +3,7 @@
conv2d
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.conv2d(input, num_filters, filter_size, stride=1, padding=0, dilation=1, groups=None, param_attr=None, bias_attr=None, use_cudnn=True, act=None, name=None, data_format="NCHW")
......
......@@ -3,7 +3,7 @@
conv2d_transpose
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.conv2d_transpose(input, num_filters, output_size=None, filter_size=None, padding=0, stride=1, dilation=1, groups=None, param_attr=None, bias_attr=None, use_cudnn=True, act=None, name=None, data_format='NCHW')
......
......@@ -3,7 +3,7 @@
conv3d
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.conv3d(input, num_filters, filter_size, stride=1, padding=0, dilation=1, groups=None, param_attr=None, bias_attr=None, use_cudnn=True, act=None, name=None, data_format="NCDHW")
......
......@@ -3,7 +3,7 @@
conv3d_transpose
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.conv3d_transpose(input, num_filters, output_size=None, filter_size=None, padding=0, stride=1, dilation=1, groups=None, param_attr=None, bias_attr=None, use_cudnn=True, act=None, name=None, data_format='NCDHW')
......
......@@ -3,7 +3,7 @@
create_parameter
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.create_parameter(shape,dtype,name=None,attr=None,is_bias=False,default_initializer=None)
......
......@@ -3,7 +3,7 @@
create_py_reader_by_data
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.create_py_reader_by_data(capacity,feed_list,name=None,use_double_buffer=True)
......
......@@ -3,7 +3,7 @@
crf_decoding
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.crf_decoding(input, param_attr, label=None, length=None)
......
......@@ -3,7 +3,7 @@
data
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.data(name, shape, append_batch_size=True, dtype='float32', lod_level=0, type=VarType.LOD_TENSOR, stop_gradient=True)
......
......@@ -3,7 +3,7 @@
data_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.data_norm(input, act=None, epsilon=1e-05, param_attr=None, data_layout='NCHW', in_place=False, name=None, moving_mean_name=None, moving_variance_name=None, do_model_average_for_mean_and_var=False)
......
......@@ -3,7 +3,7 @@
deformable_conv
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.deformable_conv(input, offset, mask, num_filters, filter_size, stride=1, padding=0, dilation=1, groups=None, deformable_groups=None, im2col_step=None, param_attr=None, bias_attr=None, modulated=True, name=None)
......
......@@ -4,7 +4,7 @@ dynamic_decode
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:method:: dynamic_decode(decoder, inits=None, max_step_num=None, output_time_major=False, **kwargs):
......
......@@ -3,7 +3,7 @@
dynamic_gru
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.dynamic_gru(input, size, param_attr=None, bias_attr=None, is_reverse=False, gate_activation='sigmoid', candidate_activation='tanh', h_0=None, origin_mode=False)
......
......@@ -3,7 +3,7 @@
dynamic_lstm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.dynamic_lstm(input, size, h_0=None, c_0=None, param_attr=None, bias_attr=None, use_peepholes=True, is_reverse=False, gate_activation='sigmoid', cell_activation='tanh', candidate_activation='tanh', dtype='float32', name=None)
......
......@@ -2,7 +2,7 @@
dynamic_lstmp
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.dynamic_lstmp(input, size, proj_size, param_attr=None, bias_attr=None, use_peepholes=True, is_reverse=False, gate_activation='sigmoid', cell_activation='tanh', candidate_activation='tanh', proj_activation='tanh', dtype='float32', name=None, h_0=None, c_0=None, cell_clip=None, proj_clip=None)
......
......@@ -3,7 +3,7 @@
embedding
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.embedding(input, size, is_sparse=False, is_distributed=False, padding_idx=None, param_attr=None, dtype='float32')
......
......@@ -3,7 +3,7 @@
fc
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.fc(input, size, num_flatten_dims=1, param_attr=None, bias_attr=None, act=None, name=None)
......
......@@ -3,7 +3,7 @@
group_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.group_norm(input, groups, epsilon=1e-05, param_attr=None, bias_attr=None, act=None, data_layout='NCHW', name=None)
......
......@@ -3,7 +3,7 @@
gru_unit
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.gru_unit(input, hidden, size, param_attr=None, bias_attr=None, activation='tanh', gate_activation='sigmoid', origin_mode=False)
......
......@@ -3,7 +3,7 @@
hsigmoid
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.hsigmoid(input, label, num_classes, param_attr=None, bias_attr=None, name=None, path_table=None, path_code=None, is_custom=False, is_sparse=False)
......
......@@ -3,7 +3,7 @@
im2sequence
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.im2sequence(input, filter_size=1, stride=1, padding=0, input_image_size=None, out_stride=1, name=None)
......
......@@ -3,7 +3,7 @@
inplace_abn
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.inplace_abn(input, act=None, is_test=False, momentum=0.9, epsilon=1e-05, param_attr=None, bias_attr=None, data_layout='NCHW', name=None, moving_mean_name=None, moving_variance_name=None, do_model_average_for_mean_and_var=False, use_global_stats=False, act_alpha=1.0)
......
......@@ -3,7 +3,7 @@
instance_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.instance_norm(input, epsilon=1e-05, param_attr=None, bias_attr=None, name=None)
......
......@@ -3,7 +3,7 @@
layer_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.layer_norm(input, scale=True, shift=True, begin_norm_axis=1, epsilon=1e-05, param_attr=None, bias_attr=None, act=None, name=None)
......
......@@ -3,7 +3,7 @@
linear_chain_crf
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.linear_chain_crf(input, label, param_attr=None, length=None)
......
......@@ -3,7 +3,7 @@
lstm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.lstm(input, init_h, init_c, max_len, hidden_size, num_layers, dropout_prob=0.0, is_bidirec=False, is_test=False, name=None, default_initializer=None, seed=-1)
......
......@@ -3,7 +3,7 @@
lstm_unit
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.lstm_unit(x_t, hidden_t_prev, cell_t_prev, forget_bias=0.0, param_attr=None, bias_attr=None, name=None)
......
......@@ -3,7 +3,7 @@
multi_box_head
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.multi_box_head(inputs, image, base_size, num_classes, aspect_ratios, min_ratio=None, max_ratio=None, min_sizes=None, max_sizes=None, steps=None, step_w=None, step_h=None, offset=0.5, variance=[0.1, 0.1, 0.2, 0.2], flip=True, clip=False, kernel_size=1, pad=0, stride=1, name=None, min_max_aspect_ratios_order=False)
......
......@@ -3,7 +3,7 @@
nce
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.nce(input, label, num_total_classes, sample_weight=None, param_attr=None, bias_attr=None, num_neg_samples=None, name=None, sampler='uniform', custom_dist=None, seed=0, is_sparse=False)
......
......@@ -3,7 +3,7 @@
prelu
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.prelu(x, mode, param_attr=None, name=None)
......
......@@ -3,7 +3,7 @@
py_func
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.py_func(func, x, out, backward_func=None, skip_vars_in_backward_input=None)
......
......@@ -3,7 +3,7 @@
py_reader
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.py_reader(capacity, shapes, dtypes, lod_levels=None, name=None, use_double_buffer=True)
......
......@@ -3,7 +3,7 @@
read_file
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.read_file(reader)
......
......@@ -4,7 +4,7 @@ rnn
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:method:: paddle.fluid.layers.rnn(cell, inputs, initial_states=None, sequence_length=None, time_major=False, is_reverse=False, **kwargs)
......
......@@ -3,7 +3,7 @@
row_conv
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.row_conv(input, future_context_size, param_attr=None, act=None)
......
......@@ -3,7 +3,7 @@
sequence_concat
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_concat(input, name=None)
......
......@@ -3,7 +3,7 @@
sequence_conv
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_conv(input, num_filters, filter_size=3, filter_stride=1, padding=True, padding_start=None, bias_attr=None, param_attr=None, act=None, name=None)
......
......@@ -3,7 +3,7 @@
sequence_enumerate
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_enumerate(input, win_size, pad_value=0, name=None)
......
......@@ -3,7 +3,7 @@
sequence_expand_as
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_expand_as(x, y, name=None)
......
......@@ -3,7 +3,7 @@
sequence_expand
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_expand(x, y, ref_level=-1, name=None)
......
......@@ -3,7 +3,7 @@
sequence_first_step
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_first_step(input)
......
......@@ -3,7 +3,7 @@
sequence_last_step
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_last_step(input)
......
......@@ -3,7 +3,7 @@
sequence_pad
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_pad(x,pad_value,maxlen=None,name=None)
......
......@@ -3,7 +3,7 @@
sequence_pool
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_pool(input, pool_type, is_test=False, pad_value=0.0)
......
......@@ -3,7 +3,7 @@
sequence_reshape
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_reshape(input, new_dim)
......
......@@ -3,7 +3,7 @@
sequence_scatter
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_scatter(input, index, updates, name=None)
......
......@@ -3,7 +3,7 @@
sequence_slice
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_slice(input, offset, length, name=None)
......
......@@ -3,7 +3,7 @@
sequence_softmax
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_softmax(input, use_cudnn=False, name=None)
......
......@@ -3,7 +3,7 @@
sequence_unpad
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.sequence_unpad(x, length, name=None)
......
......@@ -3,7 +3,7 @@
spectral_norm
-------------------------------
:api_attr: 声明式编程模式(静态图)
:api_attr: 声明式编程(静态图)专用API
.. py:function:: paddle.fluid.layers.spectral_norm(weight, dim=0, power_iters=1, eps=1e-12, name=None)
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册