From 6b3dccab22b519604f9db79eed546e6016e3c757 Mon Sep 17 00:00:00 2001 From: Zeng Jinle <32832641+sneaxiy@users.noreply.github.com> Date: Thu, 13 Jun 2019 16:51:11 +0800 Subject: [PATCH] Split nn layers (#892) * split layers,test=develop * split nn layers * remove nn header, test=develop --- doc/fluid/api/gen_doc.py | 142 +- doc/fluid/api/gen_doc.sh | 17 +- doc/fluid/api/gen_module_index.py | 39 + doc/fluid/api/layers.rst | 1 - doc/fluid/api/layers/nn.rst | 1509 ++--------------- doc/fluid/api/layers/nn/adaptive_pool2d.rst | 11 + doc/fluid/api/layers/nn/adaptive_pool3d.rst | 11 + .../api/layers/nn/add_position_encoding.rst | 11 + doc/fluid/api/layers/nn/affine_channel.rst | 11 + doc/fluid/api/layers/nn/affine_grid.rst | 11 + .../layers/nn/autoincreased_step_counter.rst | 11 + doc/fluid/api/layers/nn/batch_norm.rst | 11 + doc/fluid/api/layers/nn/beam_search.rst | 11 + .../api/layers/nn/beam_search_decode.rst | 11 + .../api/layers/nn/bilinear_tensor_product.rst | 11 + doc/fluid/api/layers/nn/bpr_loss.rst | 11 + doc/fluid/api/layers/nn/brelu.rst | 11 + doc/fluid/api/layers/nn/chunk_eval.rst | 11 + doc/fluid/api/layers/nn/clip.rst | 11 + doc/fluid/api/layers/nn/clip_by_norm.rst | 11 + .../api/layers/nn/continuous_value_model.rst | 11 + doc/fluid/api/layers/nn/conv2d.rst | 11 + doc/fluid/api/layers/nn/conv2d_transpose.rst | 11 + doc/fluid/api/layers/nn/conv3d.rst | 11 + doc/fluid/api/layers/nn/conv3d_transpose.rst | 11 + doc/fluid/api/layers/nn/cos_sim.rst | 11 + doc/fluid/api/layers/nn/crf_decoding.rst | 11 + doc/fluid/api/layers/nn/crop.rst | 11 + doc/fluid/api/layers/nn/cross_entropy.rst | 11 + .../api/layers/nn/ctc_greedy_decoder.rst | 11 + doc/fluid/api/layers/nn/data_norm.rst | 11 + doc/fluid/api/layers/nn/deformable_conv.rst | 11 + doc/fluid/api/layers/nn/dice_loss.rst | 11 + doc/fluid/api/layers/nn/dropout.rst | 11 + doc/fluid/api/layers/nn/dynamic_gru.rst | 11 + doc/fluid/api/layers/nn/dynamic_lstm.rst | 11 + doc/fluid/api/layers/nn/dynamic_lstmp.rst | 11 + doc/fluid/api/layers/nn/edit_distance.rst | 11 + doc/fluid/api/layers/nn/elementwise_add.rst | 11 + doc/fluid/api/layers/nn/elementwise_div.rst | 11 + .../api/layers/nn/elementwise_floordiv.rst | 11 + doc/fluid/api/layers/nn/elementwise_max.rst | 11 + doc/fluid/api/layers/nn/elementwise_min.rst | 11 + doc/fluid/api/layers/nn/elementwise_mod.rst | 11 + doc/fluid/api/layers/nn/elementwise_mul.rst | 11 + doc/fluid/api/layers/nn/elementwise_pow.rst | 11 + doc/fluid/api/layers/nn/elementwise_sub.rst | 11 + doc/fluid/api/layers/nn/elu.rst | 11 + doc/fluid/api/layers/nn/embedding.rst | 11 + doc/fluid/api/layers/nn/expand.rst | 11 + doc/fluid/api/layers/nn/fc.rst | 11 + doc/fluid/api/layers/nn/flatten.rst | 11 + doc/fluid/api/layers/nn/fsp_matrix.rst | 11 + doc/fluid/api/layers/nn/gather.rst | 11 + doc/fluid/api/layers/nn/gaussian_random.rst | 11 + .../nn/gaussian_random_batch_size_like.rst | 11 + .../nn/get_tensor_from_selected_rows.rst | 11 + doc/fluid/api/layers/nn/grid_sampler.rst | 11 + doc/fluid/api/layers/nn/group_norm.rst | 11 + doc/fluid/api/layers/nn/gru_unit.rst | 11 + doc/fluid/api/layers/nn/hard_sigmoid.rst | 11 + doc/fluid/api/layers/nn/hash.rst | 11 + doc/fluid/api/layers/nn/hsigmoid.rst | 11 + doc/fluid/api/layers/nn/huber_loss.rst | 11 + doc/fluid/api/layers/nn/im2sequence.rst | 11 + doc/fluid/api/layers/nn/image_resize.rst | 11 + .../api/layers/nn/image_resize_short.rst | 11 + doc/fluid/api/layers/nn/kldiv_loss.rst | 11 + doc/fluid/api/layers/nn/l2_normalize.rst | 11 + doc/fluid/api/layers/nn/label_smooth.rst | 11 + doc/fluid/api/layers/nn/layer_norm.rst | 11 + doc/fluid/api/layers/nn/leaky_relu.rst | 11 + doc/fluid/api/layers/nn/linear_chain_crf.rst | 11 + doc/fluid/api/layers/nn/lod_reset.rst | 11 + doc/fluid/api/layers/nn/log.rst | 11 + doc/fluid/api/layers/nn/log_loss.rst | 11 + doc/fluid/api/layers/nn/logical_and.rst | 11 + doc/fluid/api/layers/nn/logical_not.rst | 11 + doc/fluid/api/layers/nn/logical_or.rst | 11 + doc/fluid/api/layers/nn/logical_xor.rst | 11 + doc/fluid/api/layers/nn/lrn.rst | 11 + doc/fluid/api/layers/nn/lstm.rst | 11 + doc/fluid/api/layers/nn/lstm_unit.rst | 11 + doc/fluid/api/layers/nn/margin_rank_loss.rst | 11 + doc/fluid/api/layers/nn/matmul.rst | 11 + doc/fluid/api/layers/nn/maxout.rst | 11 + doc/fluid/api/layers/nn/mean.rst | 11 + doc/fluid/api/layers/nn/mean_iou.rst | 11 + .../api/layers/nn/merge_selected_rows.rst | 11 + doc/fluid/api/layers/nn/mul.rst | 11 + doc/fluid/api/layers/nn/multiplex.rst | 11 + doc/fluid/api/layers/nn/nce.rst | 11 + doc/fluid/api/layers/nn/npair_loss.rst | 11 + doc/fluid/api/layers/nn/one_hot.rst | 11 + doc/fluid/api/layers/nn/pad.rst | 11 + doc/fluid/api/layers/nn/pad2d.rst | 11 + doc/fluid/api/layers/nn/pad_constant_like.rst | 11 + doc/fluid/api/layers/nn/pixel_shuffle.rst | 11 + doc/fluid/api/layers/nn/pool2d.rst | 11 + doc/fluid/api/layers/nn/pool3d.rst | 11 + doc/fluid/api/layers/nn/pow.rst | 11 + doc/fluid/api/layers/nn/prelu.rst | 11 + doc/fluid/api/layers/nn/psroi_pool.rst | 11 + doc/fluid/api/layers/nn/py_func.rst | 11 + doc/fluid/api/layers/nn/random_crop.rst | 11 + doc/fluid/api/layers/nn/rank.rst | 11 + doc/fluid/api/layers/nn/rank_loss.rst | 11 + doc/fluid/api/layers/nn/reduce_all.rst | 11 + doc/fluid/api/layers/nn/reduce_any.rst | 11 + doc/fluid/api/layers/nn/reduce_max.rst | 11 + doc/fluid/api/layers/nn/reduce_mean.rst | 11 + doc/fluid/api/layers/nn/reduce_min.rst | 11 + doc/fluid/api/layers/nn/reduce_prod.rst | 11 + doc/fluid/api/layers/nn/reduce_sum.rst | 11 + doc/fluid/api/layers/nn/relu.rst | 11 + doc/fluid/api/layers/nn/relu6.rst | 11 + doc/fluid/api/layers/nn/reshape.rst | 11 + doc/fluid/api/layers/nn/resize_bilinear.rst | 11 + doc/fluid/api/layers/nn/resize_nearest.rst | 11 + doc/fluid/api/layers/nn/roi_align.rst | 11 + doc/fluid/api/layers/nn/roi_pool.rst | 11 + doc/fluid/api/layers/nn/row_conv.rst | 11 + .../nn/sampled_softmax_with_cross_entropy.rst | 11 + doc/fluid/api/layers/nn/sampling_id.rst | 11 + doc/fluid/api/layers/nn/scale.rst | 11 + doc/fluid/api/layers/nn/scatter.rst | 11 + doc/fluid/api/layers/nn/selu.rst | 11 + doc/fluid/api/layers/nn/sequence_concat.rst | 11 + doc/fluid/api/layers/nn/sequence_conv.rst | 11 + .../api/layers/nn/sequence_enumerate.rst | 11 + doc/fluid/api/layers/nn/sequence_expand.rst | 11 + .../api/layers/nn/sequence_expand_as.rst | 11 + .../api/layers/nn/sequence_first_step.rst | 11 + .../api/layers/nn/sequence_last_step.rst | 11 + doc/fluid/api/layers/nn/sequence_mask.rst | 11 + doc/fluid/api/layers/nn/sequence_pad.rst | 11 + doc/fluid/api/layers/nn/sequence_pool.rst | 11 + doc/fluid/api/layers/nn/sequence_reshape.rst | 11 + doc/fluid/api/layers/nn/sequence_reverse.rst | 11 + doc/fluid/api/layers/nn/sequence_scatter.rst | 11 + doc/fluid/api/layers/nn/sequence_slice.rst | 11 + doc/fluid/api/layers/nn/sequence_softmax.rst | 11 + doc/fluid/api/layers/nn/sequence_unpad.rst | 11 + doc/fluid/api/layers/nn/shape.rst | 11 + doc/fluid/api/layers/nn/shuffle_channel.rst | 11 + .../nn/sigmoid_cross_entropy_with_logits.rst | 11 + doc/fluid/api/layers/nn/sign.rst | 11 + doc/fluid/api/layers/nn/similarity_focus.rst | 11 + doc/fluid/api/layers/nn/slice.rst | 11 + doc/fluid/api/layers/nn/smooth_l1.rst | 11 + doc/fluid/api/layers/nn/soft_relu.rst | 11 + doc/fluid/api/layers/nn/softmax.rst | 11 + .../layers/nn/softmax_with_cross_entropy.rst | 11 + doc/fluid/api/layers/nn/space_to_depth.rst | 11 + doc/fluid/api/layers/nn/spectral_norm.rst | 11 + doc/fluid/api/layers/nn/split.rst | 11 + doc/fluid/api/layers/nn/square_error_cost.rst | 11 + doc/fluid/api/layers/nn/squeeze.rst | 11 + doc/fluid/api/layers/nn/stack.rst | 11 + doc/fluid/api/layers/nn/stanh.rst | 11 + doc/fluid/api/layers/nn/sum.rst | 11 + doc/fluid/api/layers/nn/swish.rst | 11 + .../nn/teacher_student_sigmoid_loss.rst | 11 + doc/fluid/api/layers/nn/temporal_shift.rst | 11 + doc/fluid/api/layers/nn/topk.rst | 11 + doc/fluid/api/layers/nn/transpose.rst | 11 + doc/fluid/api/layers/nn/tree_conv.rst | 11 + .../nn/uniform_random_batch_size_like.rst | 11 + doc/fluid/api/layers/nn/unsqueeze.rst | 11 + doc/fluid/api/layers/nn/unstack.rst | 11 + doc/fluid/api/layers/nn/warpctc.rst | 11 + doc/fluid/api/layers/nn/where.rst | 11 + 172 files changed, 2150 insertions(+), 1395 deletions(-) create mode 100644 doc/fluid/api/gen_module_index.py create mode 100644 doc/fluid/api/layers/nn/adaptive_pool2d.rst create mode 100644 doc/fluid/api/layers/nn/adaptive_pool3d.rst create mode 100644 doc/fluid/api/layers/nn/add_position_encoding.rst create mode 100644 doc/fluid/api/layers/nn/affine_channel.rst create mode 100644 doc/fluid/api/layers/nn/affine_grid.rst create mode 100644 doc/fluid/api/layers/nn/autoincreased_step_counter.rst create mode 100644 doc/fluid/api/layers/nn/batch_norm.rst create mode 100644 doc/fluid/api/layers/nn/beam_search.rst create mode 100644 doc/fluid/api/layers/nn/beam_search_decode.rst create mode 100644 doc/fluid/api/layers/nn/bilinear_tensor_product.rst create mode 100644 doc/fluid/api/layers/nn/bpr_loss.rst create mode 100644 doc/fluid/api/layers/nn/brelu.rst create mode 100644 doc/fluid/api/layers/nn/chunk_eval.rst create mode 100644 doc/fluid/api/layers/nn/clip.rst create mode 100644 doc/fluid/api/layers/nn/clip_by_norm.rst create mode 100644 doc/fluid/api/layers/nn/continuous_value_model.rst create mode 100644 doc/fluid/api/layers/nn/conv2d.rst create mode 100644 doc/fluid/api/layers/nn/conv2d_transpose.rst create mode 100644 doc/fluid/api/layers/nn/conv3d.rst create mode 100644 doc/fluid/api/layers/nn/conv3d_transpose.rst create mode 100644 doc/fluid/api/layers/nn/cos_sim.rst create mode 100644 doc/fluid/api/layers/nn/crf_decoding.rst create mode 100644 doc/fluid/api/layers/nn/crop.rst create mode 100644 doc/fluid/api/layers/nn/cross_entropy.rst create mode 100644 doc/fluid/api/layers/nn/ctc_greedy_decoder.rst create mode 100644 doc/fluid/api/layers/nn/data_norm.rst create mode 100644 doc/fluid/api/layers/nn/deformable_conv.rst create mode 100644 doc/fluid/api/layers/nn/dice_loss.rst create mode 100644 doc/fluid/api/layers/nn/dropout.rst create mode 100644 doc/fluid/api/layers/nn/dynamic_gru.rst create mode 100644 doc/fluid/api/layers/nn/dynamic_lstm.rst create mode 100644 doc/fluid/api/layers/nn/dynamic_lstmp.rst create mode 100644 doc/fluid/api/layers/nn/edit_distance.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_add.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_div.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_floordiv.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_max.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_min.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_mod.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_mul.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_pow.rst create mode 100644 doc/fluid/api/layers/nn/elementwise_sub.rst create mode 100644 doc/fluid/api/layers/nn/elu.rst create mode 100644 doc/fluid/api/layers/nn/embedding.rst create mode 100644 doc/fluid/api/layers/nn/expand.rst create mode 100644 doc/fluid/api/layers/nn/fc.rst create mode 100644 doc/fluid/api/layers/nn/flatten.rst create mode 100644 doc/fluid/api/layers/nn/fsp_matrix.rst create mode 100644 doc/fluid/api/layers/nn/gather.rst create mode 100644 doc/fluid/api/layers/nn/gaussian_random.rst create mode 100644 doc/fluid/api/layers/nn/gaussian_random_batch_size_like.rst create mode 100644 doc/fluid/api/layers/nn/get_tensor_from_selected_rows.rst create mode 100644 doc/fluid/api/layers/nn/grid_sampler.rst create mode 100644 doc/fluid/api/layers/nn/group_norm.rst create mode 100644 doc/fluid/api/layers/nn/gru_unit.rst create mode 100644 doc/fluid/api/layers/nn/hard_sigmoid.rst create mode 100644 doc/fluid/api/layers/nn/hash.rst create mode 100644 doc/fluid/api/layers/nn/hsigmoid.rst create mode 100644 doc/fluid/api/layers/nn/huber_loss.rst create mode 100644 doc/fluid/api/layers/nn/im2sequence.rst create mode 100644 doc/fluid/api/layers/nn/image_resize.rst create mode 100644 doc/fluid/api/layers/nn/image_resize_short.rst create mode 100644 doc/fluid/api/layers/nn/kldiv_loss.rst create mode 100644 doc/fluid/api/layers/nn/l2_normalize.rst create mode 100644 doc/fluid/api/layers/nn/label_smooth.rst create mode 100644 doc/fluid/api/layers/nn/layer_norm.rst create mode 100644 doc/fluid/api/layers/nn/leaky_relu.rst create mode 100644 doc/fluid/api/layers/nn/linear_chain_crf.rst create mode 100644 doc/fluid/api/layers/nn/lod_reset.rst create mode 100644 doc/fluid/api/layers/nn/log.rst create mode 100644 doc/fluid/api/layers/nn/log_loss.rst create mode 100644 doc/fluid/api/layers/nn/logical_and.rst create mode 100644 doc/fluid/api/layers/nn/logical_not.rst create mode 100644 doc/fluid/api/layers/nn/logical_or.rst create mode 100644 doc/fluid/api/layers/nn/logical_xor.rst create mode 100644 doc/fluid/api/layers/nn/lrn.rst create mode 100644 doc/fluid/api/layers/nn/lstm.rst create mode 100644 doc/fluid/api/layers/nn/lstm_unit.rst create mode 100644 doc/fluid/api/layers/nn/margin_rank_loss.rst create mode 100644 doc/fluid/api/layers/nn/matmul.rst create mode 100644 doc/fluid/api/layers/nn/maxout.rst create mode 100644 doc/fluid/api/layers/nn/mean.rst create mode 100644 doc/fluid/api/layers/nn/mean_iou.rst create mode 100644 doc/fluid/api/layers/nn/merge_selected_rows.rst create mode 100644 doc/fluid/api/layers/nn/mul.rst create mode 100644 doc/fluid/api/layers/nn/multiplex.rst create mode 100644 doc/fluid/api/layers/nn/nce.rst create mode 100644 doc/fluid/api/layers/nn/npair_loss.rst create mode 100644 doc/fluid/api/layers/nn/one_hot.rst create mode 100644 doc/fluid/api/layers/nn/pad.rst create mode 100644 doc/fluid/api/layers/nn/pad2d.rst create mode 100644 doc/fluid/api/layers/nn/pad_constant_like.rst create mode 100644 doc/fluid/api/layers/nn/pixel_shuffle.rst create mode 100644 doc/fluid/api/layers/nn/pool2d.rst create mode 100644 doc/fluid/api/layers/nn/pool3d.rst create mode 100644 doc/fluid/api/layers/nn/pow.rst create mode 100644 doc/fluid/api/layers/nn/prelu.rst create mode 100644 doc/fluid/api/layers/nn/psroi_pool.rst create mode 100644 doc/fluid/api/layers/nn/py_func.rst create mode 100644 doc/fluid/api/layers/nn/random_crop.rst create mode 100644 doc/fluid/api/layers/nn/rank.rst create mode 100644 doc/fluid/api/layers/nn/rank_loss.rst create mode 100644 doc/fluid/api/layers/nn/reduce_all.rst create mode 100644 doc/fluid/api/layers/nn/reduce_any.rst create mode 100644 doc/fluid/api/layers/nn/reduce_max.rst create mode 100644 doc/fluid/api/layers/nn/reduce_mean.rst create mode 100644 doc/fluid/api/layers/nn/reduce_min.rst create mode 100644 doc/fluid/api/layers/nn/reduce_prod.rst create mode 100644 doc/fluid/api/layers/nn/reduce_sum.rst create mode 100644 doc/fluid/api/layers/nn/relu.rst create mode 100644 doc/fluid/api/layers/nn/relu6.rst create mode 100644 doc/fluid/api/layers/nn/reshape.rst create mode 100644 doc/fluid/api/layers/nn/resize_bilinear.rst create mode 100644 doc/fluid/api/layers/nn/resize_nearest.rst create mode 100644 doc/fluid/api/layers/nn/roi_align.rst create mode 100644 doc/fluid/api/layers/nn/roi_pool.rst create mode 100644 doc/fluid/api/layers/nn/row_conv.rst create mode 100644 doc/fluid/api/layers/nn/sampled_softmax_with_cross_entropy.rst create mode 100644 doc/fluid/api/layers/nn/sampling_id.rst create mode 100644 doc/fluid/api/layers/nn/scale.rst create mode 100644 doc/fluid/api/layers/nn/scatter.rst create mode 100644 doc/fluid/api/layers/nn/selu.rst create mode 100644 doc/fluid/api/layers/nn/sequence_concat.rst create mode 100644 doc/fluid/api/layers/nn/sequence_conv.rst create mode 100644 doc/fluid/api/layers/nn/sequence_enumerate.rst create mode 100644 doc/fluid/api/layers/nn/sequence_expand.rst create mode 100644 doc/fluid/api/layers/nn/sequence_expand_as.rst create mode 100644 doc/fluid/api/layers/nn/sequence_first_step.rst create mode 100644 doc/fluid/api/layers/nn/sequence_last_step.rst create mode 100644 doc/fluid/api/layers/nn/sequence_mask.rst create mode 100644 doc/fluid/api/layers/nn/sequence_pad.rst create mode 100644 doc/fluid/api/layers/nn/sequence_pool.rst create mode 100644 doc/fluid/api/layers/nn/sequence_reshape.rst create mode 100644 doc/fluid/api/layers/nn/sequence_reverse.rst create mode 100644 doc/fluid/api/layers/nn/sequence_scatter.rst create mode 100644 doc/fluid/api/layers/nn/sequence_slice.rst create mode 100644 doc/fluid/api/layers/nn/sequence_softmax.rst create mode 100644 doc/fluid/api/layers/nn/sequence_unpad.rst create mode 100644 doc/fluid/api/layers/nn/shape.rst create mode 100644 doc/fluid/api/layers/nn/shuffle_channel.rst create mode 100644 doc/fluid/api/layers/nn/sigmoid_cross_entropy_with_logits.rst create mode 100644 doc/fluid/api/layers/nn/sign.rst create mode 100644 doc/fluid/api/layers/nn/similarity_focus.rst create mode 100644 doc/fluid/api/layers/nn/slice.rst create mode 100644 doc/fluid/api/layers/nn/smooth_l1.rst create mode 100644 doc/fluid/api/layers/nn/soft_relu.rst create mode 100644 doc/fluid/api/layers/nn/softmax.rst create mode 100644 doc/fluid/api/layers/nn/softmax_with_cross_entropy.rst create mode 100644 doc/fluid/api/layers/nn/space_to_depth.rst create mode 100644 doc/fluid/api/layers/nn/spectral_norm.rst create mode 100644 doc/fluid/api/layers/nn/split.rst create mode 100644 doc/fluid/api/layers/nn/square_error_cost.rst create mode 100644 doc/fluid/api/layers/nn/squeeze.rst create mode 100644 doc/fluid/api/layers/nn/stack.rst create mode 100644 doc/fluid/api/layers/nn/stanh.rst create mode 100644 doc/fluid/api/layers/nn/sum.rst create mode 100644 doc/fluid/api/layers/nn/swish.rst create mode 100644 doc/fluid/api/layers/nn/teacher_student_sigmoid_loss.rst create mode 100644 doc/fluid/api/layers/nn/temporal_shift.rst create mode 100644 doc/fluid/api/layers/nn/topk.rst create mode 100644 doc/fluid/api/layers/nn/transpose.rst create mode 100644 doc/fluid/api/layers/nn/tree_conv.rst create mode 100644 doc/fluid/api/layers/nn/uniform_random_batch_size_like.rst create mode 100644 doc/fluid/api/layers/nn/unsqueeze.rst create mode 100644 doc/fluid/api/layers/nn/unstack.rst create mode 100644 doc/fluid/api/layers/nn/warpctc.rst create mode 100644 doc/fluid/api/layers/nn/where.rst diff --git a/doc/fluid/api/gen_doc.py b/doc/fluid/api/gen_doc.py index e4cfe8a61..f0d2bf696 100644 --- a/doc/fluid/api/gen_doc.py +++ b/doc/fluid/api/gen_doc.py @@ -16,63 +16,48 @@ from __future__ import print_function import argparse import sys import types +import os +import contextlib import paddle.fluid as fluid - def parse_arg(): parser = argparse.ArgumentParser() parser.add_argument('--submodules', nargs="*") parser.add_argument( - '--module', type=str, help='Generate the documentation of which module') + '--module_name', type=str, help='Generate the documentation of which module') parser.add_argument( '--module_prefix', type=str, help='Generate the prefix of module') + parser.add_argument( + '--output', type=str, help='Output file or output directory for output rst') + parser.add_argument( + '--to_multiple_files', type=bool, default=False, help='Whether to separate to multiple files') return parser.parse_args() - -class DocGenerator(object): - def __init__(self, module_name=None, module_prefix=None, stream=sys.stdout): - if module_name == "": - module_name = None - - if module_prefix == "": - module_prefix = None - - self.stream = stream - if module_name is None: - self.module_name = "fluid" - else: - self.module_name = "fluid." + module_name - if module_name is None: - self.module = fluid - else: - self.module = fluid - for each_module_name in module_name.split('.'): - if not hasattr(self.module, each_module_name): - raise ValueError("Cannot find fluid.{0}".format(module_name)) - else: - self.module = getattr(self.module, each_module_name) - - if module_prefix is None: - self.module_prefix = self.module_name + def print_item(self, name): + item = getattr(self.module, name, None) + if item is None: + return + if isinstance(item, types.TypeType): + self.print_class(name) + elif isinstance(item, types.FunctionType): + self.print_method(name) else: - self.module_prefix = "fluid." + module_prefix - - self.stream.write('''.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` - !DO NOT EDIT THIS FILE MANUALLY! - -''') + pass - header_name = self.module_name - if module_prefix is not None: - prefix_len = len(self.module_prefix) - assert self.module_prefix == self.module_name[0:prefix_len], \ - "module_prefix must be prefix of module_name" - diff_name = self.module_name[prefix_len+1:] - if diff_name != "": - header_name = diff_name - - self._print_header_(header_name, dot='=', is_title=True) +class DocGenerator(object): + def __init__(self, module_name=None, module_prefix=None): + self.module_name = module_name + self.module_prefix = module_prefix + self.stream = None + + @contextlib.contextmanager + def guard(self, filename): + assert self.stream is None, "stream must be None" + self.stream = open(filename, 'w') + yield + self.stream.close() + self.stream = None def print_submodule(self, submodule_name): submodule = getattr(self.module, submodule_name) @@ -118,6 +103,12 @@ class DocGenerator(object): '''.format(self.module_prefix, name)) + def print_header_reminder(self): + self.stream.write('''.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +''') + def _print_header_(self, name, dot, is_title): dot_line = dot * len(name) if is_title: @@ -133,15 +124,66 @@ class DocGenerator(object): self.stream.write(".. _api_{0}_{1}:\n\n".format("_".join( self.module_prefix.split(".")), name)) +def generate_doc(module_name, module_prefix, output, to_multiple_files): + if module_name == "": + module_name = None + + if module_prefix == "": + module_prefix = None + + gen = DocGenerator() + + if module_name is None: + gen.module = fluid + gen.module_name = 'fluid' + else: + gen.module = fluid + for each_module_name in module_name.split('.'): + if not hasattr(gen.module, each_module_name): + raise ValueError("Cannot find fluid.{0}".format(module_name)) + else: + gen.module = getattr(gen.module, each_module_name) + + gen.module_name = "fluid." + module_name + + if module_prefix is None: + gen.module_prefix = gen.module_name + else: + gen.module_prefix = "fluid." + module_prefix + + dirname = output if to_multiple_files else os.path.dirname(output) + if len(dirname) > 0 and (not os.path.exists(dirname) or not os.path.isdir(dirname)): + os.makedirs(dirname) + + if not to_multiple_files: + header_name = gen.module_name + if module_prefix is not None: + prefix_len = len(gen.module_prefix) + assert gen.module_prefix == gen.module_name[0:prefix_len], \ + "module_prefix must be prefix of module_name" + diff_name = gen.module_name[prefix_len+1:] + if diff_name != "": + header_name = diff_name + else: + header_name = None + + if not to_multiple_files: + with gen.guard(output): + gen.print_header_reminder() + gen._print_header_(header_name, dot='=', is_title=True) + gen.print_current_module() + else: + apis = sorted(gen.module.__all__,key=str.lower) + for api in apis: + header_name = api + with gen.guard(os.path.join(output, api + '.rst')): + gen.print_header_reminder() + gen.print_item(api) + def main(): args = parse_arg() - gen = DocGenerator(args.module, args.module_prefix) - if args.submodules is None: - gen.print_current_module() - else: - for submodule_name in args.submodules: - gen.print_submodule(submodule_name) + generate_doc(args.module_name, args.module_prefix, args.output, args.to_multiple_files) if __name__ == '__main__': diff --git a/doc/fluid/api/gen_doc.sh b/doc/fluid/api/gen_doc.sh index 9b868aaf8..dc628236d 100755 --- a/doc/fluid/api/gen_doc.sh +++ b/doc/fluid/api/gen_doc.sh @@ -1,17 +1,24 @@ #!/bin/bash -mkdir -p layers +for module in nn +do + python gen_doc.py --module_name layers.${module} --module_prefix layers --output layers/${module} --to_multiple_files True +done -for module in control_flow io nn ops tensor learning_rate_scheduler detection metric_op +for module in control_flow io ops tensor learning_rate_scheduler detection metric_op do - python gen_doc.py --module layers.${module} --module_prefix layers > layers/${module}.rst + python gen_doc.py --module_name layers.${module} --module_prefix layers --output layers/${module}.rst done for module in data_feeder dataset clip metrics executor initializer io nets optimizer profiler regularizer transpiler recordio_writer backward average profiler unique_name do - python gen_doc.py --module ${module} --module_prefix ${module} > ${module}.rst + python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module}.rst done -python gen_doc.py --module "" --module_prefix "" > fluid.rst +python gen_doc.py --module_name "" --module_prefix "" --output fluid.rst + +python gen_module_index.py layers.nn nn +python gen_module_index.py layers fluid.layers python gen_index.py + diff --git a/doc/fluid/api/gen_module_index.py b/doc/fluid/api/gen_module_index.py new file mode 100644 index 000000000..a372546fd --- /dev/null +++ b/doc/fluid/api/gen_module_index.py @@ -0,0 +1,39 @@ +import glob +import sys +import os + +def print_module_index(module, header): + modules = module.split('.') + if len(modules) > 1: + os.chdir('/'.join(modules[0:-1])) + pattern = modules[-1] + '/*.rst' + stream = open(modules[-1] + '.rst', 'w') + else: + pattern = modules[0] + '/*.rst' + stream = open(modules[0] + '.rst', 'w') + + stream.write('=' * len(header) + '\n') + stream.write(header + '\n') + stream.write('=' * len(header) + '\n') + stream.write(''' +.. toctree:: + :maxdepth: 1 + +''') + + blank_num = 4 + files = sorted(glob.glob(pattern), key=str.lower) + + for f in files: + stream.write(' ' * blank_num) + stream.write(f) + stream.write('\n') + + stream.close() + +if __name__ == '__main__': + if len(sys.argv) != 3: + print('Usage: python gen_module_index.py [module_name] [header_name]') + sys.exit(-1) + + print_module_index(sys.argv[1], sys.argv[2]) diff --git a/doc/fluid/api/layers.rst b/doc/fluid/api/layers.rst index a0ee26ef2..82ae6f212 100644 --- a/doc/fluid/api/layers.rst +++ b/doc/fluid/api/layers.rst @@ -7,7 +7,6 @@ fluid.layers layers/control_flow.rst layers/detection.rst - layers/device.rst layers/io.rst layers/learning_rate_scheduler.rst layers/metric_op.rst diff --git a/doc/fluid/api/layers/nn.rst b/doc/fluid/api/layers/nn.rst index 805838e48..5f99980fe 100644 --- a/doc/fluid/api/layers/nn.rst +++ b/doc/fluid/api/layers/nn.rst @@ -1,1343 +1,174 @@ -.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` - !DO NOT EDIT THIS FILE MANUALLY! - == nn == -.. _api_fluid_layers_adaptive_pool2d: - -adaptive_pool2d ---------------- - -.. autofunction:: paddle.fluid.layers.adaptive_pool2d - :noindex: - -.. _api_fluid_layers_adaptive_pool3d: - -adaptive_pool3d ---------------- - -.. autofunction:: paddle.fluid.layers.adaptive_pool3d - :noindex: - -.. _api_fluid_layers_add_position_encoding: - -add_position_encoding ---------------------- - -.. autofunction:: paddle.fluid.layers.add_position_encoding - :noindex: - -.. _api_fluid_layers_affine_channel: - -affine_channel --------------- - -.. autofunction:: paddle.fluid.layers.affine_channel - :noindex: - -.. _api_fluid_layers_affine_grid: - -affine_grid ------------ - -.. autofunction:: paddle.fluid.layers.affine_grid - :noindex: - -.. _api_fluid_layers_autoincreased_step_counter: - -autoincreased_step_counter --------------------------- - -.. autofunction:: paddle.fluid.layers.autoincreased_step_counter - :noindex: - -.. _api_fluid_layers_batch_norm: - -batch_norm ----------- - -.. autofunction:: paddle.fluid.layers.batch_norm - :noindex: - -.. _api_fluid_layers_beam_search: - -beam_search ------------ - -.. autofunction:: paddle.fluid.layers.beam_search - :noindex: - -.. _api_fluid_layers_beam_search_decode: - -beam_search_decode ------------------- - -.. autofunction:: paddle.fluid.layers.beam_search_decode - :noindex: - -.. _api_fluid_layers_bilinear_tensor_product: - -bilinear_tensor_product ------------------------ - -.. autofunction:: paddle.fluid.layers.bilinear_tensor_product - :noindex: - -.. _api_fluid_layers_bpr_loss: - -bpr_loss --------- - -.. autofunction:: paddle.fluid.layers.bpr_loss - :noindex: - -.. _api_fluid_layers_brelu: - -brelu ------ - -.. autofunction:: paddle.fluid.layers.brelu - :noindex: - -.. _api_fluid_layers_chunk_eval: - -chunk_eval ----------- - -.. autofunction:: paddle.fluid.layers.chunk_eval - :noindex: - -.. _api_fluid_layers_clip: - -clip ----- - -.. autofunction:: paddle.fluid.layers.clip - :noindex: - -.. _api_fluid_layers_clip_by_norm: - -clip_by_norm ------------- - -.. autofunction:: paddle.fluid.layers.clip_by_norm - :noindex: - -.. _api_fluid_layers_continuous_value_model: - -continuous_value_model ----------------------- - -.. autofunction:: paddle.fluid.layers.continuous_value_model - :noindex: - -.. _api_fluid_layers_conv2d: - -conv2d ------- - -.. autofunction:: paddle.fluid.layers.conv2d - :noindex: - -.. _api_fluid_layers_conv2d_transpose: - -conv2d_transpose ----------------- - -.. autofunction:: paddle.fluid.layers.conv2d_transpose - :noindex: - -.. _api_fluid_layers_conv3d: - -conv3d ------- - -.. autofunction:: paddle.fluid.layers.conv3d - :noindex: - -.. _api_fluid_layers_conv3d_transpose: - -conv3d_transpose ----------------- - -.. autofunction:: paddle.fluid.layers.conv3d_transpose - :noindex: - -.. _api_fluid_layers_cos_sim: - -cos_sim -------- - -.. autofunction:: paddle.fluid.layers.cos_sim - :noindex: - -.. _api_fluid_layers_crf_decoding: - -crf_decoding ------------- - -.. autofunction:: paddle.fluid.layers.crf_decoding - :noindex: - -.. _api_fluid_layers_crop: - -crop ----- - -.. autofunction:: paddle.fluid.layers.crop - :noindex: - -.. _api_fluid_layers_cross_entropy: - -cross_entropy -------------- - -.. autofunction:: paddle.fluid.layers.cross_entropy - :noindex: - -.. _api_fluid_layers_ctc_greedy_decoder: - -ctc_greedy_decoder ------------------- - -.. autofunction:: paddle.fluid.layers.ctc_greedy_decoder - :noindex: - -.. _api_fluid_layers_data_norm: - -data_norm ---------- - -.. autofunction:: paddle.fluid.layers.data_norm - :noindex: - -.. _api_fluid_layers_deformable_conv: - -deformable_conv ---------------- - -.. autofunction:: paddle.fluid.layers.deformable_conv - :noindex: - -.. _api_fluid_layers_dice_loss: - -dice_loss ---------- - -.. autofunction:: paddle.fluid.layers.dice_loss - :noindex: - -.. _api_fluid_layers_dropout: - -dropout -------- - -.. autofunction:: paddle.fluid.layers.dropout - :noindex: - -.. _api_fluid_layers_dynamic_gru: - -dynamic_gru ------------ - -.. autofunction:: paddle.fluid.layers.dynamic_gru - :noindex: - -.. _api_fluid_layers_dynamic_lstm: - -dynamic_lstm ------------- - -.. autofunction:: paddle.fluid.layers.dynamic_lstm - :noindex: - -.. _api_fluid_layers_dynamic_lstmp: - -dynamic_lstmp -------------- - -.. autofunction:: paddle.fluid.layers.dynamic_lstmp - :noindex: - -.. _api_fluid_layers_edit_distance: - -edit_distance -------------- - -.. autofunction:: paddle.fluid.layers.edit_distance - :noindex: - -.. _api_fluid_layers_elementwise_add: - -elementwise_add ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_add - :noindex: - -.. _api_fluid_layers_elementwise_div: - -elementwise_div ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_div - :noindex: - -.. _api_fluid_layers_elementwise_floordiv: - -elementwise_floordiv --------------------- - -.. autofunction:: paddle.fluid.layers.elementwise_floordiv - :noindex: - -.. _api_fluid_layers_elementwise_max: - -elementwise_max ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_max - :noindex: - -.. _api_fluid_layers_elementwise_min: - -elementwise_min ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_min - :noindex: - -.. _api_fluid_layers_elementwise_mod: - -elementwise_mod ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_mod - :noindex: - -.. _api_fluid_layers_elementwise_mul: - -elementwise_mul ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_mul - :noindex: - -.. _api_fluid_layers_elementwise_pow: - -elementwise_pow ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_pow - :noindex: - -.. _api_fluid_layers_elementwise_sub: - -elementwise_sub ---------------- - -.. autofunction:: paddle.fluid.layers.elementwise_sub - :noindex: - -.. _api_fluid_layers_elu: - -elu ---- - -.. autofunction:: paddle.fluid.layers.elu - :noindex: - -.. _api_fluid_layers_embedding: - -embedding ---------- - -.. autofunction:: paddle.fluid.layers.embedding - :noindex: - -.. _api_fluid_layers_expand: - -expand ------- - -.. autofunction:: paddle.fluid.layers.expand - :noindex: - -.. _api_fluid_layers_fc: - -fc --- - -.. autofunction:: paddle.fluid.layers.fc - :noindex: - -.. _api_fluid_layers_flatten: - -flatten -------- - -.. autofunction:: paddle.fluid.layers.flatten - :noindex: - -.. _api_fluid_layers_fsp_matrix: - -fsp_matrix ----------- - -.. autofunction:: paddle.fluid.layers.fsp_matrix - :noindex: - -.. _api_fluid_layers_gather: - -gather ------- - -.. autofunction:: paddle.fluid.layers.gather - :noindex: - -.. _api_fluid_layers_gaussian_random: - -gaussian_random ---------------- - -.. autofunction:: paddle.fluid.layers.gaussian_random - :noindex: - -.. _api_fluid_layers_gaussian_random_batch_size_like: - -gaussian_random_batch_size_like -------------------------------- - -.. autofunction:: paddle.fluid.layers.gaussian_random_batch_size_like - :noindex: - -.. _api_fluid_layers_get_tensor_from_selected_rows: - -get_tensor_from_selected_rows ------------------------------ - -.. autofunction:: paddle.fluid.layers.get_tensor_from_selected_rows - :noindex: - -.. _api_fluid_layers_grid_sampler: - -grid_sampler ------------- - -.. autofunction:: paddle.fluid.layers.grid_sampler - :noindex: - -.. _api_fluid_layers_group_norm: - -group_norm ----------- - -.. autofunction:: paddle.fluid.layers.group_norm - :noindex: - -.. _api_fluid_layers_gru_unit: - -gru_unit --------- - -.. autofunction:: paddle.fluid.layers.gru_unit - :noindex: - -.. _api_fluid_layers_hard_sigmoid: - -hard_sigmoid ------------- - -.. autofunction:: paddle.fluid.layers.hard_sigmoid - :noindex: - -.. _api_fluid_layers_hash: - -hash ----- - -.. autofunction:: paddle.fluid.layers.hash - :noindex: - -.. _api_fluid_layers_hsigmoid: - -hsigmoid --------- - -.. autofunction:: paddle.fluid.layers.hsigmoid - :noindex: - -.. _api_fluid_layers_huber_loss: - -huber_loss ----------- - -.. autofunction:: paddle.fluid.layers.huber_loss - :noindex: - -.. _api_fluid_layers_im2sequence: - -im2sequence ------------ - -.. autofunction:: paddle.fluid.layers.im2sequence - :noindex: - -.. _api_fluid_layers_image_resize: - -image_resize ------------- - -.. autofunction:: paddle.fluid.layers.image_resize - :noindex: - -.. _api_fluid_layers_image_resize_short: - -image_resize_short ------------------- - -.. autofunction:: paddle.fluid.layers.image_resize_short - :noindex: - -.. _api_fluid_layers_kldiv_loss: - -kldiv_loss ----------- - -.. autofunction:: paddle.fluid.layers.kldiv_loss - :noindex: - -.. _api_fluid_layers_l2_normalize: - -l2_normalize ------------- - -.. autofunction:: paddle.fluid.layers.l2_normalize - :noindex: - -.. _api_fluid_layers_label_smooth: - -label_smooth ------------- - -.. autofunction:: paddle.fluid.layers.label_smooth - :noindex: - -.. _api_fluid_layers_layer_norm: - -layer_norm ----------- - -.. autofunction:: paddle.fluid.layers.layer_norm - :noindex: - -.. _api_fluid_layers_leaky_relu: - -leaky_relu ----------- - -.. autofunction:: paddle.fluid.layers.leaky_relu - :noindex: - -.. _api_fluid_layers_linear_chain_crf: - -linear_chain_crf ----------------- - -.. autofunction:: paddle.fluid.layers.linear_chain_crf - :noindex: - -.. _api_fluid_layers_lod_reset: - -lod_reset ---------- - -.. autofunction:: paddle.fluid.layers.lod_reset - :noindex: - -.. _api_fluid_layers_log: - -log ---- - -.. autofunction:: paddle.fluid.layers.log - :noindex: - -.. _api_fluid_layers_log_loss: - -log_loss --------- - -.. autofunction:: paddle.fluid.layers.log_loss - :noindex: - -.. _api_fluid_layers_logical_and: - -logical_and ------------ - -.. autofunction:: paddle.fluid.layers.logical_and - :noindex: - -.. _api_fluid_layers_logical_not: - -logical_not ------------ - -.. autofunction:: paddle.fluid.layers.logical_not - :noindex: - -.. _api_fluid_layers_logical_or: - -logical_or ----------- - -.. autofunction:: paddle.fluid.layers.logical_or - :noindex: - -.. _api_fluid_layers_logical_xor: - -logical_xor ------------ - -.. autofunction:: paddle.fluid.layers.logical_xor - :noindex: - -.. _api_fluid_layers_lrn: - -lrn ---- - -.. autofunction:: paddle.fluid.layers.lrn - :noindex: - -.. _api_fluid_layers_lstm: - -lstm ----- - -.. autofunction:: paddle.fluid.layers.lstm - :noindex: - -.. _api_fluid_layers_lstm_unit: - -lstm_unit ---------- - -.. autofunction:: paddle.fluid.layers.lstm_unit - :noindex: - -.. _api_fluid_layers_margin_rank_loss: - -margin_rank_loss ----------------- - -.. autofunction:: paddle.fluid.layers.margin_rank_loss - :noindex: - -.. _api_fluid_layers_matmul: - -matmul ------- - -.. autofunction:: paddle.fluid.layers.matmul - :noindex: - -.. _api_fluid_layers_maxout: - -maxout ------- - -.. autofunction:: paddle.fluid.layers.maxout - :noindex: - -.. _api_fluid_layers_mean: - -mean ----- - -.. autofunction:: paddle.fluid.layers.mean - :noindex: - -.. _api_fluid_layers_mean_iou: - -mean_iou --------- - -.. autofunction:: paddle.fluid.layers.mean_iou - :noindex: - -.. _api_fluid_layers_merge_selected_rows: - -merge_selected_rows -------------------- - -.. autofunction:: paddle.fluid.layers.merge_selected_rows - :noindex: - -.. _api_fluid_layers_mul: - -mul ---- - -.. autofunction:: paddle.fluid.layers.mul - :noindex: - -.. _api_fluid_layers_multiplex: - -multiplex ---------- - -.. autofunction:: paddle.fluid.layers.multiplex - :noindex: - -.. _api_fluid_layers_nce: - -nce ---- - -.. autofunction:: paddle.fluid.layers.nce - :noindex: - -.. _api_fluid_layers_npair_loss: - -npair_loss ----------- - -.. autofunction:: paddle.fluid.layers.npair_loss - :noindex: - -.. _api_fluid_layers_one_hot: - -one_hot -------- - -.. autofunction:: paddle.fluid.layers.one_hot - :noindex: - -.. _api_fluid_layers_pad: - -pad ---- - -.. autofunction:: paddle.fluid.layers.pad - :noindex: - -.. _api_fluid_layers_pad2d: - -pad2d ------ - -.. autofunction:: paddle.fluid.layers.pad2d - :noindex: - -.. _api_fluid_layers_pad_constant_like: - -pad_constant_like ------------------ - -.. autofunction:: paddle.fluid.layers.pad_constant_like - :noindex: - -.. _api_fluid_layers_pixel_shuffle: - -pixel_shuffle -------------- - -.. autofunction:: paddle.fluid.layers.pixel_shuffle - :noindex: - -.. _api_fluid_layers_pool2d: - -pool2d ------- - -.. autofunction:: paddle.fluid.layers.pool2d - :noindex: - -.. _api_fluid_layers_pool3d: - -pool3d ------- - -.. autofunction:: paddle.fluid.layers.pool3d - :noindex: - -.. _api_fluid_layers_pow: - -pow ---- - -.. autofunction:: paddle.fluid.layers.pow - :noindex: - -.. _api_fluid_layers_prelu: - -prelu ------ - -.. autofunction:: paddle.fluid.layers.prelu - :noindex: - -.. _api_fluid_layers_psroi_pool: - -psroi_pool ----------- - -.. autofunction:: paddle.fluid.layers.psroi_pool - :noindex: - -.. _api_fluid_layers_py_func: - -py_func -------- - -.. autofunction:: paddle.fluid.layers.py_func - :noindex: - -.. _api_fluid_layers_random_crop: - -random_crop ------------ - -.. autofunction:: paddle.fluid.layers.random_crop - :noindex: - -.. _api_fluid_layers_rank: - -rank ----- - -.. autofunction:: paddle.fluid.layers.rank - :noindex: - -.. _api_fluid_layers_rank_loss: - -rank_loss ---------- - -.. autofunction:: paddle.fluid.layers.rank_loss - :noindex: - -.. _api_fluid_layers_reduce_all: - -reduce_all ----------- - -.. autofunction:: paddle.fluid.layers.reduce_all - :noindex: - -.. _api_fluid_layers_reduce_any: - -reduce_any ----------- - -.. autofunction:: paddle.fluid.layers.reduce_any - :noindex: - -.. _api_fluid_layers_reduce_max: - -reduce_max ----------- - -.. autofunction:: paddle.fluid.layers.reduce_max - :noindex: - -.. _api_fluid_layers_reduce_mean: - -reduce_mean ------------ - -.. autofunction:: paddle.fluid.layers.reduce_mean - :noindex: - -.. _api_fluid_layers_reduce_min: - -reduce_min ----------- - -.. autofunction:: paddle.fluid.layers.reduce_min - :noindex: - -.. _api_fluid_layers_reduce_prod: - -reduce_prod ------------ - -.. autofunction:: paddle.fluid.layers.reduce_prod - :noindex: - -.. _api_fluid_layers_reduce_sum: - -reduce_sum ----------- - -.. autofunction:: paddle.fluid.layers.reduce_sum - :noindex: - -.. _api_fluid_layers_relu: - -relu ----- - -.. autofunction:: paddle.fluid.layers.relu - :noindex: - -.. _api_fluid_layers_relu6: - -relu6 ------ - -.. autofunction:: paddle.fluid.layers.relu6 - :noindex: - -.. _api_fluid_layers_reshape: - -reshape -------- - -.. autofunction:: paddle.fluid.layers.reshape - :noindex: - -.. _api_fluid_layers_resize_bilinear: - -resize_bilinear ---------------- - -.. autofunction:: paddle.fluid.layers.resize_bilinear - :noindex: - -.. _api_fluid_layers_resize_nearest: - -resize_nearest --------------- - -.. autofunction:: paddle.fluid.layers.resize_nearest - :noindex: - -.. _api_fluid_layers_roi_align: - -roi_align ---------- - -.. autofunction:: paddle.fluid.layers.roi_align - :noindex: - -.. _api_fluid_layers_roi_pool: - -roi_pool --------- - -.. autofunction:: paddle.fluid.layers.roi_pool - :noindex: - -.. _api_fluid_layers_row_conv: - -row_conv --------- - -.. autofunction:: paddle.fluid.layers.row_conv - :noindex: - -.. _api_fluid_layers_sampled_softmax_with_cross_entropy: - -sampled_softmax_with_cross_entropy ----------------------------------- - -.. autofunction:: paddle.fluid.layers.sampled_softmax_with_cross_entropy - :noindex: - -.. _api_fluid_layers_sampling_id: - -sampling_id ------------ - -.. autofunction:: paddle.fluid.layers.sampling_id - :noindex: - -.. _api_fluid_layers_scale: - -scale ------ - -.. autofunction:: paddle.fluid.layers.scale - :noindex: - -.. _api_fluid_layers_scatter: - -scatter -------- - -.. autofunction:: paddle.fluid.layers.scatter - :noindex: - -.. _api_fluid_layers_selu: - -selu ----- - -.. autofunction:: paddle.fluid.layers.selu - :noindex: - -.. _api_fluid_layers_sequence_concat: - -sequence_concat ---------------- - -.. autofunction:: paddle.fluid.layers.sequence_concat - :noindex: - -.. _api_fluid_layers_sequence_conv: - -sequence_conv -------------- - -.. autofunction:: paddle.fluid.layers.sequence_conv - :noindex: - -.. _api_fluid_layers_sequence_enumerate: - -sequence_enumerate ------------------- - -.. autofunction:: paddle.fluid.layers.sequence_enumerate - :noindex: - -.. _api_fluid_layers_sequence_expand: - -sequence_expand ---------------- - -.. autofunction:: paddle.fluid.layers.sequence_expand - :noindex: - -.. _api_fluid_layers_sequence_expand_as: - -sequence_expand_as ------------------- - -.. autofunction:: paddle.fluid.layers.sequence_expand_as - :noindex: - -.. _api_fluid_layers_sequence_first_step: - -sequence_first_step -------------------- - -.. autofunction:: paddle.fluid.layers.sequence_first_step - :noindex: - -.. _api_fluid_layers_sequence_last_step: - -sequence_last_step ------------------- - -.. autofunction:: paddle.fluid.layers.sequence_last_step - :noindex: - -.. _api_fluid_layers_sequence_mask: - -sequence_mask -------------- - -.. autofunction:: paddle.fluid.layers.sequence_mask - :noindex: - -.. _api_fluid_layers_sequence_pad: - -sequence_pad ------------- - -.. autofunction:: paddle.fluid.layers.sequence_pad - :noindex: - -.. _api_fluid_layers_sequence_pool: - -sequence_pool -------------- - -.. autofunction:: paddle.fluid.layers.sequence_pool - :noindex: - -.. _api_fluid_layers_sequence_reshape: - -sequence_reshape ----------------- - -.. autofunction:: paddle.fluid.layers.sequence_reshape - :noindex: - -.. _api_fluid_layers_sequence_reverse: - -sequence_reverse ----------------- - -.. autofunction:: paddle.fluid.layers.sequence_reverse - :noindex: - -.. _api_fluid_layers_sequence_scatter: - -sequence_scatter ----------------- - -.. autofunction:: paddle.fluid.layers.sequence_scatter - :noindex: - -.. _api_fluid_layers_sequence_slice: - -sequence_slice --------------- - -.. autofunction:: paddle.fluid.layers.sequence_slice - :noindex: - -.. _api_fluid_layers_sequence_softmax: - -sequence_softmax ----------------- - -.. autofunction:: paddle.fluid.layers.sequence_softmax - :noindex: - -.. _api_fluid_layers_sequence_unpad: - -sequence_unpad --------------- - -.. autofunction:: paddle.fluid.layers.sequence_unpad - :noindex: - -.. _api_fluid_layers_shape: - -shape ------ - -.. autofunction:: paddle.fluid.layers.shape - :noindex: - -.. _api_fluid_layers_shuffle_channel: - -shuffle_channel ---------------- - -.. autofunction:: paddle.fluid.layers.shuffle_channel - :noindex: - -.. _api_fluid_layers_sigmoid_cross_entropy_with_logits: - -sigmoid_cross_entropy_with_logits ---------------------------------- - -.. autofunction:: paddle.fluid.layers.sigmoid_cross_entropy_with_logits - :noindex: - -.. _api_fluid_layers_sign: - -sign ----- - -.. autofunction:: paddle.fluid.layers.sign - :noindex: - -.. _api_fluid_layers_similarity_focus: - -similarity_focus ----------------- - -.. autofunction:: paddle.fluid.layers.similarity_focus - :noindex: - -.. _api_fluid_layers_slice: - -slice ------ - -.. autofunction:: paddle.fluid.layers.slice - :noindex: - -.. _api_fluid_layers_smooth_l1: - -smooth_l1 ---------- - -.. autofunction:: paddle.fluid.layers.smooth_l1 - :noindex: - -.. _api_fluid_layers_soft_relu: - -soft_relu ---------- - -.. autofunction:: paddle.fluid.layers.soft_relu - :noindex: - -.. _api_fluid_layers_softmax: - -softmax -------- - -.. autofunction:: paddle.fluid.layers.softmax - :noindex: - -.. _api_fluid_layers_softmax_with_cross_entropy: - -softmax_with_cross_entropy --------------------------- - -.. autofunction:: paddle.fluid.layers.softmax_with_cross_entropy - :noindex: - -.. _api_fluid_layers_space_to_depth: - -space_to_depth --------------- - -.. autofunction:: paddle.fluid.layers.space_to_depth - :noindex: - -.. _api_fluid_layers_spectral_norm: - -spectral_norm -------------- - -.. autofunction:: paddle.fluid.layers.spectral_norm - :noindex: - -.. _api_fluid_layers_split: - -split ------ - -.. autofunction:: paddle.fluid.layers.split - :noindex: - -.. _api_fluid_layers_square_error_cost: - -square_error_cost ------------------ - -.. autofunction:: paddle.fluid.layers.square_error_cost - :noindex: - -.. _api_fluid_layers_squeeze: - -squeeze -------- - -.. autofunction:: paddle.fluid.layers.squeeze - :noindex: - -.. _api_fluid_layers_stack: - -stack ------ - -.. autofunction:: paddle.fluid.layers.stack - :noindex: - -.. _api_fluid_layers_stanh: - -stanh ------ - -.. autofunction:: paddle.fluid.layers.stanh - :noindex: - -.. _api_fluid_layers_sum: - -sum ---- - -.. autofunction:: paddle.fluid.layers.sum - :noindex: - -.. _api_fluid_layers_swish: - -swish ------ - -.. autofunction:: paddle.fluid.layers.swish - :noindex: - -.. _api_fluid_layers_teacher_student_sigmoid_loss: - -teacher_student_sigmoid_loss ----------------------------- - -.. autofunction:: paddle.fluid.layers.teacher_student_sigmoid_loss - :noindex: - -.. _api_fluid_layers_temporal_shift: - -temporal_shift --------------- - -.. autofunction:: paddle.fluid.layers.temporal_shift - :noindex: - -.. _api_fluid_layers_topk: - -topk ----- - -.. autofunction:: paddle.fluid.layers.topk - :noindex: - -.. _api_fluid_layers_transpose: - -transpose ---------- - -.. autofunction:: paddle.fluid.layers.transpose - :noindex: - -.. _api_fluid_layers_tree_conv: - -tree_conv ---------- - -.. autofunction:: paddle.fluid.layers.tree_conv - :noindex: - -.. _api_fluid_layers_uniform_random_batch_size_like: - -uniform_random_batch_size_like ------------------------------- - -.. autofunction:: paddle.fluid.layers.uniform_random_batch_size_like - :noindex: - -.. _api_fluid_layers_unsqueeze: - -unsqueeze ---------- - -.. autofunction:: paddle.fluid.layers.unsqueeze - :noindex: - -.. _api_fluid_layers_unstack: - -unstack -------- - -.. autofunction:: paddle.fluid.layers.unstack - :noindex: - -.. _api_fluid_layers_warpctc: - -warpctc -------- - -.. autofunction:: paddle.fluid.layers.warpctc - :noindex: - -.. _api_fluid_layers_where: - -where ------ - -.. autofunction:: paddle.fluid.layers.where - :noindex: - +.. toctree:: + :maxdepth: 1 + + nn/adaptive_pool2d.rst + nn/adaptive_pool3d.rst + nn/add_position_encoding.rst + nn/affine_channel.rst + nn/affine_grid.rst + nn/autoincreased_step_counter.rst + nn/batch_norm.rst + nn/beam_search.rst + nn/beam_search_decode.rst + nn/bilinear_tensor_product.rst + nn/bpr_loss.rst + nn/brelu.rst + nn/chunk_eval.rst + nn/clip.rst + nn/clip_by_norm.rst + nn/continuous_value_model.rst + nn/conv2d.rst + nn/conv2d_transpose.rst + nn/conv3d.rst + nn/conv3d_transpose.rst + nn/cos_sim.rst + nn/crf_decoding.rst + nn/crop.rst + nn/cross_entropy.rst + nn/ctc_greedy_decoder.rst + nn/data_norm.rst + nn/deformable_conv.rst + nn/dice_loss.rst + nn/dropout.rst + nn/dynamic_gru.rst + nn/dynamic_lstm.rst + nn/dynamic_lstmp.rst + nn/edit_distance.rst + nn/elementwise_add.rst + nn/elementwise_div.rst + nn/elementwise_floordiv.rst + nn/elementwise_max.rst + nn/elementwise_min.rst + nn/elementwise_mod.rst + nn/elementwise_mul.rst + nn/elementwise_pow.rst + nn/elementwise_sub.rst + nn/elu.rst + nn/embedding.rst + nn/expand.rst + nn/fc.rst + nn/flatten.rst + nn/fsp_matrix.rst + nn/gather.rst + nn/gaussian_random.rst + nn/gaussian_random_batch_size_like.rst + nn/get_tensor_from_selected_rows.rst + nn/grid_sampler.rst + nn/group_norm.rst + nn/gru_unit.rst + nn/hard_sigmoid.rst + nn/hash.rst + nn/hsigmoid.rst + nn/huber_loss.rst + nn/im2sequence.rst + nn/image_resize.rst + nn/image_resize_short.rst + nn/kldiv_loss.rst + nn/l2_normalize.rst + nn/label_smooth.rst + nn/layer_norm.rst + nn/leaky_relu.rst + nn/linear_chain_crf.rst + nn/lod_reset.rst + nn/log.rst + nn/log_loss.rst + nn/logical_and.rst + nn/logical_not.rst + nn/logical_or.rst + nn/logical_xor.rst + nn/lrn.rst + nn/lstm.rst + nn/lstm_unit.rst + nn/margin_rank_loss.rst + nn/matmul.rst + nn/maxout.rst + nn/mean.rst + nn/mean_iou.rst + nn/merge_selected_rows.rst + nn/mul.rst + nn/multiplex.rst + nn/nce.rst + nn/npair_loss.rst + nn/one_hot.rst + nn/pad.rst + nn/pad2d.rst + nn/pad_constant_like.rst + nn/pixel_shuffle.rst + nn/pool2d.rst + nn/pool3d.rst + nn/pow.rst + nn/prelu.rst + nn/psroi_pool.rst + nn/py_func.rst + nn/random_crop.rst + nn/rank.rst + nn/rank_loss.rst + nn/reduce_all.rst + nn/reduce_any.rst + nn/reduce_max.rst + nn/reduce_mean.rst + nn/reduce_min.rst + nn/reduce_prod.rst + nn/reduce_sum.rst + nn/relu.rst + nn/relu6.rst + nn/reshape.rst + nn/resize_bilinear.rst + nn/resize_nearest.rst + nn/roi_align.rst + nn/roi_pool.rst + nn/row_conv.rst + nn/sampled_softmax_with_cross_entropy.rst + nn/sampling_id.rst + nn/scale.rst + nn/scatter.rst + nn/selu.rst + nn/sequence_concat.rst + nn/sequence_conv.rst + nn/sequence_enumerate.rst + nn/sequence_expand.rst + nn/sequence_expand_as.rst + nn/sequence_first_step.rst + nn/sequence_last_step.rst + nn/sequence_mask.rst + nn/sequence_pad.rst + nn/sequence_pool.rst + nn/sequence_reshape.rst + nn/sequence_reverse.rst + nn/sequence_scatter.rst + nn/sequence_slice.rst + nn/sequence_softmax.rst + nn/sequence_unpad.rst + nn/shape.rst + nn/shuffle_channel.rst + nn/sigmoid_cross_entropy_with_logits.rst + nn/sign.rst + nn/similarity_focus.rst + nn/slice.rst + nn/smooth_l1.rst + nn/soft_relu.rst + nn/softmax.rst + nn/softmax_with_cross_entropy.rst + nn/space_to_depth.rst + nn/spectral_norm.rst + nn/split.rst + nn/square_error_cost.rst + nn/squeeze.rst + nn/stack.rst + nn/stanh.rst + nn/sum.rst + nn/swish.rst + nn/teacher_student_sigmoid_loss.rst + nn/temporal_shift.rst + nn/topk.rst + nn/transpose.rst + nn/tree_conv.rst + nn/uniform_random_batch_size_like.rst + nn/unsqueeze.rst + nn/unstack.rst + nn/warpctc.rst + nn/where.rst diff --git a/doc/fluid/api/layers/nn/adaptive_pool2d.rst b/doc/fluid/api/layers/nn/adaptive_pool2d.rst new file mode 100644 index 000000000..657f5c387 --- /dev/null +++ b/doc/fluid/api/layers/nn/adaptive_pool2d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_adaptive_pool2d: + +adaptive_pool2d +--------------- + +.. autofunction:: paddle.fluid.layers.adaptive_pool2d + :noindex: + diff --git a/doc/fluid/api/layers/nn/adaptive_pool3d.rst b/doc/fluid/api/layers/nn/adaptive_pool3d.rst new file mode 100644 index 000000000..423ee4345 --- /dev/null +++ b/doc/fluid/api/layers/nn/adaptive_pool3d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_adaptive_pool3d: + +adaptive_pool3d +--------------- + +.. autofunction:: paddle.fluid.layers.adaptive_pool3d + :noindex: + diff --git a/doc/fluid/api/layers/nn/add_position_encoding.rst b/doc/fluid/api/layers/nn/add_position_encoding.rst new file mode 100644 index 000000000..fe666fa25 --- /dev/null +++ b/doc/fluid/api/layers/nn/add_position_encoding.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_add_position_encoding: + +add_position_encoding +--------------------- + +.. autofunction:: paddle.fluid.layers.add_position_encoding + :noindex: + diff --git a/doc/fluid/api/layers/nn/affine_channel.rst b/doc/fluid/api/layers/nn/affine_channel.rst new file mode 100644 index 000000000..818f78c5c --- /dev/null +++ b/doc/fluid/api/layers/nn/affine_channel.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_affine_channel: + +affine_channel +-------------- + +.. autofunction:: paddle.fluid.layers.affine_channel + :noindex: + diff --git a/doc/fluid/api/layers/nn/affine_grid.rst b/doc/fluid/api/layers/nn/affine_grid.rst new file mode 100644 index 000000000..af914bef8 --- /dev/null +++ b/doc/fluid/api/layers/nn/affine_grid.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_affine_grid: + +affine_grid +----------- + +.. autofunction:: paddle.fluid.layers.affine_grid + :noindex: + diff --git a/doc/fluid/api/layers/nn/autoincreased_step_counter.rst b/doc/fluid/api/layers/nn/autoincreased_step_counter.rst new file mode 100644 index 000000000..028335c9e --- /dev/null +++ b/doc/fluid/api/layers/nn/autoincreased_step_counter.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_autoincreased_step_counter: + +autoincreased_step_counter +-------------------------- + +.. autofunction:: paddle.fluid.layers.autoincreased_step_counter + :noindex: + diff --git a/doc/fluid/api/layers/nn/batch_norm.rst b/doc/fluid/api/layers/nn/batch_norm.rst new file mode 100644 index 000000000..6b0d35637 --- /dev/null +++ b/doc/fluid/api/layers/nn/batch_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_batch_norm: + +batch_norm +---------- + +.. autofunction:: paddle.fluid.layers.batch_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/beam_search.rst b/doc/fluid/api/layers/nn/beam_search.rst new file mode 100644 index 000000000..7c44bfd80 --- /dev/null +++ b/doc/fluid/api/layers/nn/beam_search.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_beam_search: + +beam_search +----------- + +.. autofunction:: paddle.fluid.layers.beam_search + :noindex: + diff --git a/doc/fluid/api/layers/nn/beam_search_decode.rst b/doc/fluid/api/layers/nn/beam_search_decode.rst new file mode 100644 index 000000000..1373457fd --- /dev/null +++ b/doc/fluid/api/layers/nn/beam_search_decode.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_beam_search_decode: + +beam_search_decode +------------------ + +.. autofunction:: paddle.fluid.layers.beam_search_decode + :noindex: + diff --git a/doc/fluid/api/layers/nn/bilinear_tensor_product.rst b/doc/fluid/api/layers/nn/bilinear_tensor_product.rst new file mode 100644 index 000000000..2876b99e9 --- /dev/null +++ b/doc/fluid/api/layers/nn/bilinear_tensor_product.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_bilinear_tensor_product: + +bilinear_tensor_product +----------------------- + +.. autofunction:: paddle.fluid.layers.bilinear_tensor_product + :noindex: + diff --git a/doc/fluid/api/layers/nn/bpr_loss.rst b/doc/fluid/api/layers/nn/bpr_loss.rst new file mode 100644 index 000000000..b21646d2b --- /dev/null +++ b/doc/fluid/api/layers/nn/bpr_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_bpr_loss: + +bpr_loss +-------- + +.. autofunction:: paddle.fluid.layers.bpr_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/brelu.rst b/doc/fluid/api/layers/nn/brelu.rst new file mode 100644 index 000000000..4bd6c2d18 --- /dev/null +++ b/doc/fluid/api/layers/nn/brelu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_brelu: + +brelu +----- + +.. autofunction:: paddle.fluid.layers.brelu + :noindex: + diff --git a/doc/fluid/api/layers/nn/chunk_eval.rst b/doc/fluid/api/layers/nn/chunk_eval.rst new file mode 100644 index 000000000..77db045e0 --- /dev/null +++ b/doc/fluid/api/layers/nn/chunk_eval.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_chunk_eval: + +chunk_eval +---------- + +.. autofunction:: paddle.fluid.layers.chunk_eval + :noindex: + diff --git a/doc/fluid/api/layers/nn/clip.rst b/doc/fluid/api/layers/nn/clip.rst new file mode 100644 index 000000000..93b98dbea --- /dev/null +++ b/doc/fluid/api/layers/nn/clip.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_clip: + +clip +---- + +.. autofunction:: paddle.fluid.layers.clip + :noindex: + diff --git a/doc/fluid/api/layers/nn/clip_by_norm.rst b/doc/fluid/api/layers/nn/clip_by_norm.rst new file mode 100644 index 000000000..a1d6f9a5b --- /dev/null +++ b/doc/fluid/api/layers/nn/clip_by_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_clip_by_norm: + +clip_by_norm +------------ + +.. autofunction:: paddle.fluid.layers.clip_by_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/continuous_value_model.rst b/doc/fluid/api/layers/nn/continuous_value_model.rst new file mode 100644 index 000000000..9c61958d1 --- /dev/null +++ b/doc/fluid/api/layers/nn/continuous_value_model.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_continuous_value_model: + +continuous_value_model +---------------------- + +.. autofunction:: paddle.fluid.layers.continuous_value_model + :noindex: + diff --git a/doc/fluid/api/layers/nn/conv2d.rst b/doc/fluid/api/layers/nn/conv2d.rst new file mode 100644 index 000000000..c9a0d5027 --- /dev/null +++ b/doc/fluid/api/layers/nn/conv2d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_conv2d: + +conv2d +------ + +.. autofunction:: paddle.fluid.layers.conv2d + :noindex: + diff --git a/doc/fluid/api/layers/nn/conv2d_transpose.rst b/doc/fluid/api/layers/nn/conv2d_transpose.rst new file mode 100644 index 000000000..f41a89714 --- /dev/null +++ b/doc/fluid/api/layers/nn/conv2d_transpose.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_conv2d_transpose: + +conv2d_transpose +---------------- + +.. autofunction:: paddle.fluid.layers.conv2d_transpose + :noindex: + diff --git a/doc/fluid/api/layers/nn/conv3d.rst b/doc/fluid/api/layers/nn/conv3d.rst new file mode 100644 index 000000000..c2c33eb78 --- /dev/null +++ b/doc/fluid/api/layers/nn/conv3d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_conv3d: + +conv3d +------ + +.. autofunction:: paddle.fluid.layers.conv3d + :noindex: + diff --git a/doc/fluid/api/layers/nn/conv3d_transpose.rst b/doc/fluid/api/layers/nn/conv3d_transpose.rst new file mode 100644 index 000000000..fbf6a3ac7 --- /dev/null +++ b/doc/fluid/api/layers/nn/conv3d_transpose.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_conv3d_transpose: + +conv3d_transpose +---------------- + +.. autofunction:: paddle.fluid.layers.conv3d_transpose + :noindex: + diff --git a/doc/fluid/api/layers/nn/cos_sim.rst b/doc/fluid/api/layers/nn/cos_sim.rst new file mode 100644 index 000000000..164c018cf --- /dev/null +++ b/doc/fluid/api/layers/nn/cos_sim.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_cos_sim: + +cos_sim +------- + +.. autofunction:: paddle.fluid.layers.cos_sim + :noindex: + diff --git a/doc/fluid/api/layers/nn/crf_decoding.rst b/doc/fluid/api/layers/nn/crf_decoding.rst new file mode 100644 index 000000000..075e22ad3 --- /dev/null +++ b/doc/fluid/api/layers/nn/crf_decoding.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_crf_decoding: + +crf_decoding +------------ + +.. autofunction:: paddle.fluid.layers.crf_decoding + :noindex: + diff --git a/doc/fluid/api/layers/nn/crop.rst b/doc/fluid/api/layers/nn/crop.rst new file mode 100644 index 000000000..ff6fceb99 --- /dev/null +++ b/doc/fluid/api/layers/nn/crop.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_crop: + +crop +---- + +.. autofunction:: paddle.fluid.layers.crop + :noindex: + diff --git a/doc/fluid/api/layers/nn/cross_entropy.rst b/doc/fluid/api/layers/nn/cross_entropy.rst new file mode 100644 index 000000000..46d1ce7d3 --- /dev/null +++ b/doc/fluid/api/layers/nn/cross_entropy.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_cross_entropy: + +cross_entropy +------------- + +.. autofunction:: paddle.fluid.layers.cross_entropy + :noindex: + diff --git a/doc/fluid/api/layers/nn/ctc_greedy_decoder.rst b/doc/fluid/api/layers/nn/ctc_greedy_decoder.rst new file mode 100644 index 000000000..32c675000 --- /dev/null +++ b/doc/fluid/api/layers/nn/ctc_greedy_decoder.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_ctc_greedy_decoder: + +ctc_greedy_decoder +------------------ + +.. autofunction:: paddle.fluid.layers.ctc_greedy_decoder + :noindex: + diff --git a/doc/fluid/api/layers/nn/data_norm.rst b/doc/fluid/api/layers/nn/data_norm.rst new file mode 100644 index 000000000..04b659676 --- /dev/null +++ b/doc/fluid/api/layers/nn/data_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_data_norm: + +data_norm +--------- + +.. autofunction:: paddle.fluid.layers.data_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/deformable_conv.rst b/doc/fluid/api/layers/nn/deformable_conv.rst new file mode 100644 index 000000000..b28db1c34 --- /dev/null +++ b/doc/fluid/api/layers/nn/deformable_conv.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_deformable_conv: + +deformable_conv +--------------- + +.. autofunction:: paddle.fluid.layers.deformable_conv + :noindex: + diff --git a/doc/fluid/api/layers/nn/dice_loss.rst b/doc/fluid/api/layers/nn/dice_loss.rst new file mode 100644 index 000000000..793ffbba1 --- /dev/null +++ b/doc/fluid/api/layers/nn/dice_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_dice_loss: + +dice_loss +--------- + +.. autofunction:: paddle.fluid.layers.dice_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/dropout.rst b/doc/fluid/api/layers/nn/dropout.rst new file mode 100644 index 000000000..a329153f2 --- /dev/null +++ b/doc/fluid/api/layers/nn/dropout.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_dropout: + +dropout +------- + +.. autofunction:: paddle.fluid.layers.dropout + :noindex: + diff --git a/doc/fluid/api/layers/nn/dynamic_gru.rst b/doc/fluid/api/layers/nn/dynamic_gru.rst new file mode 100644 index 000000000..c23806c93 --- /dev/null +++ b/doc/fluid/api/layers/nn/dynamic_gru.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_dynamic_gru: + +dynamic_gru +----------- + +.. autofunction:: paddle.fluid.layers.dynamic_gru + :noindex: + diff --git a/doc/fluid/api/layers/nn/dynamic_lstm.rst b/doc/fluid/api/layers/nn/dynamic_lstm.rst new file mode 100644 index 000000000..060bc27ea --- /dev/null +++ b/doc/fluid/api/layers/nn/dynamic_lstm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_dynamic_lstm: + +dynamic_lstm +------------ + +.. autofunction:: paddle.fluid.layers.dynamic_lstm + :noindex: + diff --git a/doc/fluid/api/layers/nn/dynamic_lstmp.rst b/doc/fluid/api/layers/nn/dynamic_lstmp.rst new file mode 100644 index 000000000..b894b1914 --- /dev/null +++ b/doc/fluid/api/layers/nn/dynamic_lstmp.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_dynamic_lstmp: + +dynamic_lstmp +------------- + +.. autofunction:: paddle.fluid.layers.dynamic_lstmp + :noindex: + diff --git a/doc/fluid/api/layers/nn/edit_distance.rst b/doc/fluid/api/layers/nn/edit_distance.rst new file mode 100644 index 000000000..07a6a5cd5 --- /dev/null +++ b/doc/fluid/api/layers/nn/edit_distance.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_edit_distance: + +edit_distance +------------- + +.. autofunction:: paddle.fluid.layers.edit_distance + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_add.rst b/doc/fluid/api/layers/nn/elementwise_add.rst new file mode 100644 index 000000000..f6d4f3a7a --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_add.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_add: + +elementwise_add +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_add + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_div.rst b/doc/fluid/api/layers/nn/elementwise_div.rst new file mode 100644 index 000000000..99b8335e3 --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_div.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_div: + +elementwise_div +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_div + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_floordiv.rst b/doc/fluid/api/layers/nn/elementwise_floordiv.rst new file mode 100644 index 000000000..0bce726bf --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_floordiv.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_floordiv: + +elementwise_floordiv +-------------------- + +.. autofunction:: paddle.fluid.layers.elementwise_floordiv + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_max.rst b/doc/fluid/api/layers/nn/elementwise_max.rst new file mode 100644 index 000000000..6cf8e0862 --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_max.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_max: + +elementwise_max +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_max + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_min.rst b/doc/fluid/api/layers/nn/elementwise_min.rst new file mode 100644 index 000000000..91196182d --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_min.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_min: + +elementwise_min +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_min + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_mod.rst b/doc/fluid/api/layers/nn/elementwise_mod.rst new file mode 100644 index 000000000..4d24d70d2 --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_mod.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_mod: + +elementwise_mod +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_mod + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_mul.rst b/doc/fluid/api/layers/nn/elementwise_mul.rst new file mode 100644 index 000000000..4c1b6f91a --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_mul.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_mul: + +elementwise_mul +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_mul + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_pow.rst b/doc/fluid/api/layers/nn/elementwise_pow.rst new file mode 100644 index 000000000..ffe5d9210 --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_pow.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_pow: + +elementwise_pow +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_pow + :noindex: + diff --git a/doc/fluid/api/layers/nn/elementwise_sub.rst b/doc/fluid/api/layers/nn/elementwise_sub.rst new file mode 100644 index 000000000..382338230 --- /dev/null +++ b/doc/fluid/api/layers/nn/elementwise_sub.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elementwise_sub: + +elementwise_sub +--------------- + +.. autofunction:: paddle.fluid.layers.elementwise_sub + :noindex: + diff --git a/doc/fluid/api/layers/nn/elu.rst b/doc/fluid/api/layers/nn/elu.rst new file mode 100644 index 000000000..6238b7f61 --- /dev/null +++ b/doc/fluid/api/layers/nn/elu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_elu: + +elu +--- + +.. autofunction:: paddle.fluid.layers.elu + :noindex: + diff --git a/doc/fluid/api/layers/nn/embedding.rst b/doc/fluid/api/layers/nn/embedding.rst new file mode 100644 index 000000000..9283a00a9 --- /dev/null +++ b/doc/fluid/api/layers/nn/embedding.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_embedding: + +embedding +--------- + +.. autofunction:: paddle.fluid.layers.embedding + :noindex: + diff --git a/doc/fluid/api/layers/nn/expand.rst b/doc/fluid/api/layers/nn/expand.rst new file mode 100644 index 000000000..4ec120ae8 --- /dev/null +++ b/doc/fluid/api/layers/nn/expand.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_expand: + +expand +------ + +.. autofunction:: paddle.fluid.layers.expand + :noindex: + diff --git a/doc/fluid/api/layers/nn/fc.rst b/doc/fluid/api/layers/nn/fc.rst new file mode 100644 index 000000000..449ab5c61 --- /dev/null +++ b/doc/fluid/api/layers/nn/fc.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_fc: + +fc +-- + +.. autofunction:: paddle.fluid.layers.fc + :noindex: + diff --git a/doc/fluid/api/layers/nn/flatten.rst b/doc/fluid/api/layers/nn/flatten.rst new file mode 100644 index 000000000..371430557 --- /dev/null +++ b/doc/fluid/api/layers/nn/flatten.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_flatten: + +flatten +------- + +.. autofunction:: paddle.fluid.layers.flatten + :noindex: + diff --git a/doc/fluid/api/layers/nn/fsp_matrix.rst b/doc/fluid/api/layers/nn/fsp_matrix.rst new file mode 100644 index 000000000..9e726c2bc --- /dev/null +++ b/doc/fluid/api/layers/nn/fsp_matrix.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_fsp_matrix: + +fsp_matrix +---------- + +.. autofunction:: paddle.fluid.layers.fsp_matrix + :noindex: + diff --git a/doc/fluid/api/layers/nn/gather.rst b/doc/fluid/api/layers/nn/gather.rst new file mode 100644 index 000000000..8bdf8fbf7 --- /dev/null +++ b/doc/fluid/api/layers/nn/gather.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_gather: + +gather +------ + +.. autofunction:: paddle.fluid.layers.gather + :noindex: + diff --git a/doc/fluid/api/layers/nn/gaussian_random.rst b/doc/fluid/api/layers/nn/gaussian_random.rst new file mode 100644 index 000000000..110bc9795 --- /dev/null +++ b/doc/fluid/api/layers/nn/gaussian_random.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_gaussian_random: + +gaussian_random +--------------- + +.. autofunction:: paddle.fluid.layers.gaussian_random + :noindex: + diff --git a/doc/fluid/api/layers/nn/gaussian_random_batch_size_like.rst b/doc/fluid/api/layers/nn/gaussian_random_batch_size_like.rst new file mode 100644 index 000000000..f57989de1 --- /dev/null +++ b/doc/fluid/api/layers/nn/gaussian_random_batch_size_like.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_gaussian_random_batch_size_like: + +gaussian_random_batch_size_like +------------------------------- + +.. autofunction:: paddle.fluid.layers.gaussian_random_batch_size_like + :noindex: + diff --git a/doc/fluid/api/layers/nn/get_tensor_from_selected_rows.rst b/doc/fluid/api/layers/nn/get_tensor_from_selected_rows.rst new file mode 100644 index 000000000..4b42ee5f5 --- /dev/null +++ b/doc/fluid/api/layers/nn/get_tensor_from_selected_rows.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_get_tensor_from_selected_rows: + +get_tensor_from_selected_rows +----------------------------- + +.. autofunction:: paddle.fluid.layers.get_tensor_from_selected_rows + :noindex: + diff --git a/doc/fluid/api/layers/nn/grid_sampler.rst b/doc/fluid/api/layers/nn/grid_sampler.rst new file mode 100644 index 000000000..a0efb0f1c --- /dev/null +++ b/doc/fluid/api/layers/nn/grid_sampler.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_grid_sampler: + +grid_sampler +------------ + +.. autofunction:: paddle.fluid.layers.grid_sampler + :noindex: + diff --git a/doc/fluid/api/layers/nn/group_norm.rst b/doc/fluid/api/layers/nn/group_norm.rst new file mode 100644 index 000000000..9a3056903 --- /dev/null +++ b/doc/fluid/api/layers/nn/group_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_group_norm: + +group_norm +---------- + +.. autofunction:: paddle.fluid.layers.group_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/gru_unit.rst b/doc/fluid/api/layers/nn/gru_unit.rst new file mode 100644 index 000000000..434336fc0 --- /dev/null +++ b/doc/fluid/api/layers/nn/gru_unit.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_gru_unit: + +gru_unit +-------- + +.. autofunction:: paddle.fluid.layers.gru_unit + :noindex: + diff --git a/doc/fluid/api/layers/nn/hard_sigmoid.rst b/doc/fluid/api/layers/nn/hard_sigmoid.rst new file mode 100644 index 000000000..00b358474 --- /dev/null +++ b/doc/fluid/api/layers/nn/hard_sigmoid.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_hard_sigmoid: + +hard_sigmoid +------------ + +.. autofunction:: paddle.fluid.layers.hard_sigmoid + :noindex: + diff --git a/doc/fluid/api/layers/nn/hash.rst b/doc/fluid/api/layers/nn/hash.rst new file mode 100644 index 000000000..0ea3a3a94 --- /dev/null +++ b/doc/fluid/api/layers/nn/hash.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_hash: + +hash +---- + +.. autofunction:: paddle.fluid.layers.hash + :noindex: + diff --git a/doc/fluid/api/layers/nn/hsigmoid.rst b/doc/fluid/api/layers/nn/hsigmoid.rst new file mode 100644 index 000000000..8cc12f34b --- /dev/null +++ b/doc/fluid/api/layers/nn/hsigmoid.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_hsigmoid: + +hsigmoid +-------- + +.. autofunction:: paddle.fluid.layers.hsigmoid + :noindex: + diff --git a/doc/fluid/api/layers/nn/huber_loss.rst b/doc/fluid/api/layers/nn/huber_loss.rst new file mode 100644 index 000000000..3d18c768e --- /dev/null +++ b/doc/fluid/api/layers/nn/huber_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_huber_loss: + +huber_loss +---------- + +.. autofunction:: paddle.fluid.layers.huber_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/im2sequence.rst b/doc/fluid/api/layers/nn/im2sequence.rst new file mode 100644 index 000000000..6da275206 --- /dev/null +++ b/doc/fluid/api/layers/nn/im2sequence.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_im2sequence: + +im2sequence +----------- + +.. autofunction:: paddle.fluid.layers.im2sequence + :noindex: + diff --git a/doc/fluid/api/layers/nn/image_resize.rst b/doc/fluid/api/layers/nn/image_resize.rst new file mode 100644 index 000000000..4216e70cf --- /dev/null +++ b/doc/fluid/api/layers/nn/image_resize.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_image_resize: + +image_resize +------------ + +.. autofunction:: paddle.fluid.layers.image_resize + :noindex: + diff --git a/doc/fluid/api/layers/nn/image_resize_short.rst b/doc/fluid/api/layers/nn/image_resize_short.rst new file mode 100644 index 000000000..acb6a6e45 --- /dev/null +++ b/doc/fluid/api/layers/nn/image_resize_short.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_image_resize_short: + +image_resize_short +------------------ + +.. autofunction:: paddle.fluid.layers.image_resize_short + :noindex: + diff --git a/doc/fluid/api/layers/nn/kldiv_loss.rst b/doc/fluid/api/layers/nn/kldiv_loss.rst new file mode 100644 index 000000000..a895b5349 --- /dev/null +++ b/doc/fluid/api/layers/nn/kldiv_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_kldiv_loss: + +kldiv_loss +---------- + +.. autofunction:: paddle.fluid.layers.kldiv_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/l2_normalize.rst b/doc/fluid/api/layers/nn/l2_normalize.rst new file mode 100644 index 000000000..ed7d19d0b --- /dev/null +++ b/doc/fluid/api/layers/nn/l2_normalize.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_l2_normalize: + +l2_normalize +------------ + +.. autofunction:: paddle.fluid.layers.l2_normalize + :noindex: + diff --git a/doc/fluid/api/layers/nn/label_smooth.rst b/doc/fluid/api/layers/nn/label_smooth.rst new file mode 100644 index 000000000..1acb843d6 --- /dev/null +++ b/doc/fluid/api/layers/nn/label_smooth.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_label_smooth: + +label_smooth +------------ + +.. autofunction:: paddle.fluid.layers.label_smooth + :noindex: + diff --git a/doc/fluid/api/layers/nn/layer_norm.rst b/doc/fluid/api/layers/nn/layer_norm.rst new file mode 100644 index 000000000..fb396430b --- /dev/null +++ b/doc/fluid/api/layers/nn/layer_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_layer_norm: + +layer_norm +---------- + +.. autofunction:: paddle.fluid.layers.layer_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/leaky_relu.rst b/doc/fluid/api/layers/nn/leaky_relu.rst new file mode 100644 index 000000000..49dd9f966 --- /dev/null +++ b/doc/fluid/api/layers/nn/leaky_relu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_leaky_relu: + +leaky_relu +---------- + +.. autofunction:: paddle.fluid.layers.leaky_relu + :noindex: + diff --git a/doc/fluid/api/layers/nn/linear_chain_crf.rst b/doc/fluid/api/layers/nn/linear_chain_crf.rst new file mode 100644 index 000000000..41618143d --- /dev/null +++ b/doc/fluid/api/layers/nn/linear_chain_crf.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_linear_chain_crf: + +linear_chain_crf +---------------- + +.. autofunction:: paddle.fluid.layers.linear_chain_crf + :noindex: + diff --git a/doc/fluid/api/layers/nn/lod_reset.rst b/doc/fluid/api/layers/nn/lod_reset.rst new file mode 100644 index 000000000..e7e3f4bca --- /dev/null +++ b/doc/fluid/api/layers/nn/lod_reset.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_lod_reset: + +lod_reset +--------- + +.. autofunction:: paddle.fluid.layers.lod_reset + :noindex: + diff --git a/doc/fluid/api/layers/nn/log.rst b/doc/fluid/api/layers/nn/log.rst new file mode 100644 index 000000000..5d367c821 --- /dev/null +++ b/doc/fluid/api/layers/nn/log.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_log: + +log +--- + +.. autofunction:: paddle.fluid.layers.log + :noindex: + diff --git a/doc/fluid/api/layers/nn/log_loss.rst b/doc/fluid/api/layers/nn/log_loss.rst new file mode 100644 index 000000000..8ab6ea775 --- /dev/null +++ b/doc/fluid/api/layers/nn/log_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_log_loss: + +log_loss +-------- + +.. autofunction:: paddle.fluid.layers.log_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/logical_and.rst b/doc/fluid/api/layers/nn/logical_and.rst new file mode 100644 index 000000000..bc1e8cf60 --- /dev/null +++ b/doc/fluid/api/layers/nn/logical_and.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_logical_and: + +logical_and +----------- + +.. autofunction:: paddle.fluid.layers.logical_and + :noindex: + diff --git a/doc/fluid/api/layers/nn/logical_not.rst b/doc/fluid/api/layers/nn/logical_not.rst new file mode 100644 index 000000000..e827729d0 --- /dev/null +++ b/doc/fluid/api/layers/nn/logical_not.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_logical_not: + +logical_not +----------- + +.. autofunction:: paddle.fluid.layers.logical_not + :noindex: + diff --git a/doc/fluid/api/layers/nn/logical_or.rst b/doc/fluid/api/layers/nn/logical_or.rst new file mode 100644 index 000000000..8776b5b20 --- /dev/null +++ b/doc/fluid/api/layers/nn/logical_or.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_logical_or: + +logical_or +---------- + +.. autofunction:: paddle.fluid.layers.logical_or + :noindex: + diff --git a/doc/fluid/api/layers/nn/logical_xor.rst b/doc/fluid/api/layers/nn/logical_xor.rst new file mode 100644 index 000000000..58b324f22 --- /dev/null +++ b/doc/fluid/api/layers/nn/logical_xor.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_logical_xor: + +logical_xor +----------- + +.. autofunction:: paddle.fluid.layers.logical_xor + :noindex: + diff --git a/doc/fluid/api/layers/nn/lrn.rst b/doc/fluid/api/layers/nn/lrn.rst new file mode 100644 index 000000000..6b7dbdbcd --- /dev/null +++ b/doc/fluid/api/layers/nn/lrn.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_lrn: + +lrn +--- + +.. autofunction:: paddle.fluid.layers.lrn + :noindex: + diff --git a/doc/fluid/api/layers/nn/lstm.rst b/doc/fluid/api/layers/nn/lstm.rst new file mode 100644 index 000000000..b4f9588fd --- /dev/null +++ b/doc/fluid/api/layers/nn/lstm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_lstm: + +lstm +---- + +.. autofunction:: paddle.fluid.layers.lstm + :noindex: + diff --git a/doc/fluid/api/layers/nn/lstm_unit.rst b/doc/fluid/api/layers/nn/lstm_unit.rst new file mode 100644 index 000000000..889c39ed8 --- /dev/null +++ b/doc/fluid/api/layers/nn/lstm_unit.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_lstm_unit: + +lstm_unit +--------- + +.. autofunction:: paddle.fluid.layers.lstm_unit + :noindex: + diff --git a/doc/fluid/api/layers/nn/margin_rank_loss.rst b/doc/fluid/api/layers/nn/margin_rank_loss.rst new file mode 100644 index 000000000..8f6df353c --- /dev/null +++ b/doc/fluid/api/layers/nn/margin_rank_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_margin_rank_loss: + +margin_rank_loss +---------------- + +.. autofunction:: paddle.fluid.layers.margin_rank_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/matmul.rst b/doc/fluid/api/layers/nn/matmul.rst new file mode 100644 index 000000000..fadafd35b --- /dev/null +++ b/doc/fluid/api/layers/nn/matmul.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_matmul: + +matmul +------ + +.. autofunction:: paddle.fluid.layers.matmul + :noindex: + diff --git a/doc/fluid/api/layers/nn/maxout.rst b/doc/fluid/api/layers/nn/maxout.rst new file mode 100644 index 000000000..ad3e06516 --- /dev/null +++ b/doc/fluid/api/layers/nn/maxout.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_maxout: + +maxout +------ + +.. autofunction:: paddle.fluid.layers.maxout + :noindex: + diff --git a/doc/fluid/api/layers/nn/mean.rst b/doc/fluid/api/layers/nn/mean.rst new file mode 100644 index 000000000..4cacbc933 --- /dev/null +++ b/doc/fluid/api/layers/nn/mean.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_mean: + +mean +---- + +.. autofunction:: paddle.fluid.layers.mean + :noindex: + diff --git a/doc/fluid/api/layers/nn/mean_iou.rst b/doc/fluid/api/layers/nn/mean_iou.rst new file mode 100644 index 000000000..8e2a12146 --- /dev/null +++ b/doc/fluid/api/layers/nn/mean_iou.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_mean_iou: + +mean_iou +-------- + +.. autofunction:: paddle.fluid.layers.mean_iou + :noindex: + diff --git a/doc/fluid/api/layers/nn/merge_selected_rows.rst b/doc/fluid/api/layers/nn/merge_selected_rows.rst new file mode 100644 index 000000000..80be86ef4 --- /dev/null +++ b/doc/fluid/api/layers/nn/merge_selected_rows.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_merge_selected_rows: + +merge_selected_rows +------------------- + +.. autofunction:: paddle.fluid.layers.merge_selected_rows + :noindex: + diff --git a/doc/fluid/api/layers/nn/mul.rst b/doc/fluid/api/layers/nn/mul.rst new file mode 100644 index 000000000..a74c1642c --- /dev/null +++ b/doc/fluid/api/layers/nn/mul.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_mul: + +mul +--- + +.. autofunction:: paddle.fluid.layers.mul + :noindex: + diff --git a/doc/fluid/api/layers/nn/multiplex.rst b/doc/fluid/api/layers/nn/multiplex.rst new file mode 100644 index 000000000..11807cab2 --- /dev/null +++ b/doc/fluid/api/layers/nn/multiplex.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_multiplex: + +multiplex +--------- + +.. autofunction:: paddle.fluid.layers.multiplex + :noindex: + diff --git a/doc/fluid/api/layers/nn/nce.rst b/doc/fluid/api/layers/nn/nce.rst new file mode 100644 index 000000000..df6501705 --- /dev/null +++ b/doc/fluid/api/layers/nn/nce.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_nce: + +nce +--- + +.. autofunction:: paddle.fluid.layers.nce + :noindex: + diff --git a/doc/fluid/api/layers/nn/npair_loss.rst b/doc/fluid/api/layers/nn/npair_loss.rst new file mode 100644 index 000000000..cfbd4c7cb --- /dev/null +++ b/doc/fluid/api/layers/nn/npair_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_npair_loss: + +npair_loss +---------- + +.. autofunction:: paddle.fluid.layers.npair_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/one_hot.rst b/doc/fluid/api/layers/nn/one_hot.rst new file mode 100644 index 000000000..385b1601d --- /dev/null +++ b/doc/fluid/api/layers/nn/one_hot.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_one_hot: + +one_hot +------- + +.. autofunction:: paddle.fluid.layers.one_hot + :noindex: + diff --git a/doc/fluid/api/layers/nn/pad.rst b/doc/fluid/api/layers/nn/pad.rst new file mode 100644 index 000000000..08ce9e947 --- /dev/null +++ b/doc/fluid/api/layers/nn/pad.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pad: + +pad +--- + +.. autofunction:: paddle.fluid.layers.pad + :noindex: + diff --git a/doc/fluid/api/layers/nn/pad2d.rst b/doc/fluid/api/layers/nn/pad2d.rst new file mode 100644 index 000000000..70a1c497d --- /dev/null +++ b/doc/fluid/api/layers/nn/pad2d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pad2d: + +pad2d +----- + +.. autofunction:: paddle.fluid.layers.pad2d + :noindex: + diff --git a/doc/fluid/api/layers/nn/pad_constant_like.rst b/doc/fluid/api/layers/nn/pad_constant_like.rst new file mode 100644 index 000000000..3d6514af6 --- /dev/null +++ b/doc/fluid/api/layers/nn/pad_constant_like.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pad_constant_like: + +pad_constant_like +----------------- + +.. autofunction:: paddle.fluid.layers.pad_constant_like + :noindex: + diff --git a/doc/fluid/api/layers/nn/pixel_shuffle.rst b/doc/fluid/api/layers/nn/pixel_shuffle.rst new file mode 100644 index 000000000..59d3efc12 --- /dev/null +++ b/doc/fluid/api/layers/nn/pixel_shuffle.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pixel_shuffle: + +pixel_shuffle +------------- + +.. autofunction:: paddle.fluid.layers.pixel_shuffle + :noindex: + diff --git a/doc/fluid/api/layers/nn/pool2d.rst b/doc/fluid/api/layers/nn/pool2d.rst new file mode 100644 index 000000000..a7f2e779c --- /dev/null +++ b/doc/fluid/api/layers/nn/pool2d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pool2d: + +pool2d +------ + +.. autofunction:: paddle.fluid.layers.pool2d + :noindex: + diff --git a/doc/fluid/api/layers/nn/pool3d.rst b/doc/fluid/api/layers/nn/pool3d.rst new file mode 100644 index 000000000..8cddc67f4 --- /dev/null +++ b/doc/fluid/api/layers/nn/pool3d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pool3d: + +pool3d +------ + +.. autofunction:: paddle.fluid.layers.pool3d + :noindex: + diff --git a/doc/fluid/api/layers/nn/pow.rst b/doc/fluid/api/layers/nn/pow.rst new file mode 100644 index 000000000..88f0c71af --- /dev/null +++ b/doc/fluid/api/layers/nn/pow.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_pow: + +pow +--- + +.. autofunction:: paddle.fluid.layers.pow + :noindex: + diff --git a/doc/fluid/api/layers/nn/prelu.rst b/doc/fluid/api/layers/nn/prelu.rst new file mode 100644 index 000000000..fefbafed9 --- /dev/null +++ b/doc/fluid/api/layers/nn/prelu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_prelu: + +prelu +----- + +.. autofunction:: paddle.fluid.layers.prelu + :noindex: + diff --git a/doc/fluid/api/layers/nn/psroi_pool.rst b/doc/fluid/api/layers/nn/psroi_pool.rst new file mode 100644 index 000000000..a931a9289 --- /dev/null +++ b/doc/fluid/api/layers/nn/psroi_pool.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_psroi_pool: + +psroi_pool +---------- + +.. autofunction:: paddle.fluid.layers.psroi_pool + :noindex: + diff --git a/doc/fluid/api/layers/nn/py_func.rst b/doc/fluid/api/layers/nn/py_func.rst new file mode 100644 index 000000000..42d9f8f53 --- /dev/null +++ b/doc/fluid/api/layers/nn/py_func.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_py_func: + +py_func +------- + +.. autofunction:: paddle.fluid.layers.py_func + :noindex: + diff --git a/doc/fluid/api/layers/nn/random_crop.rst b/doc/fluid/api/layers/nn/random_crop.rst new file mode 100644 index 000000000..8754cd0dd --- /dev/null +++ b/doc/fluid/api/layers/nn/random_crop.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_random_crop: + +random_crop +----------- + +.. autofunction:: paddle.fluid.layers.random_crop + :noindex: + diff --git a/doc/fluid/api/layers/nn/rank.rst b/doc/fluid/api/layers/nn/rank.rst new file mode 100644 index 000000000..28b238450 --- /dev/null +++ b/doc/fluid/api/layers/nn/rank.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_rank: + +rank +---- + +.. autofunction:: paddle.fluid.layers.rank + :noindex: + diff --git a/doc/fluid/api/layers/nn/rank_loss.rst b/doc/fluid/api/layers/nn/rank_loss.rst new file mode 100644 index 000000000..bf2bdbf7f --- /dev/null +++ b/doc/fluid/api/layers/nn/rank_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_rank_loss: + +rank_loss +--------- + +.. autofunction:: paddle.fluid.layers.rank_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_all.rst b/doc/fluid/api/layers/nn/reduce_all.rst new file mode 100644 index 000000000..7e00f2425 --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_all.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_all: + +reduce_all +---------- + +.. autofunction:: paddle.fluid.layers.reduce_all + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_any.rst b/doc/fluid/api/layers/nn/reduce_any.rst new file mode 100644 index 000000000..ea4a81a3c --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_any.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_any: + +reduce_any +---------- + +.. autofunction:: paddle.fluid.layers.reduce_any + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_max.rst b/doc/fluid/api/layers/nn/reduce_max.rst new file mode 100644 index 000000000..81857fecf --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_max.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_max: + +reduce_max +---------- + +.. autofunction:: paddle.fluid.layers.reduce_max + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_mean.rst b/doc/fluid/api/layers/nn/reduce_mean.rst new file mode 100644 index 000000000..72e900e22 --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_mean.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_mean: + +reduce_mean +----------- + +.. autofunction:: paddle.fluid.layers.reduce_mean + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_min.rst b/doc/fluid/api/layers/nn/reduce_min.rst new file mode 100644 index 000000000..76d0fbfaa --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_min.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_min: + +reduce_min +---------- + +.. autofunction:: paddle.fluid.layers.reduce_min + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_prod.rst b/doc/fluid/api/layers/nn/reduce_prod.rst new file mode 100644 index 000000000..4ea02eb5e --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_prod.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_prod: + +reduce_prod +----------- + +.. autofunction:: paddle.fluid.layers.reduce_prod + :noindex: + diff --git a/doc/fluid/api/layers/nn/reduce_sum.rst b/doc/fluid/api/layers/nn/reduce_sum.rst new file mode 100644 index 000000000..6b2bbaf91 --- /dev/null +++ b/doc/fluid/api/layers/nn/reduce_sum.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reduce_sum: + +reduce_sum +---------- + +.. autofunction:: paddle.fluid.layers.reduce_sum + :noindex: + diff --git a/doc/fluid/api/layers/nn/relu.rst b/doc/fluid/api/layers/nn/relu.rst new file mode 100644 index 000000000..c29bb8484 --- /dev/null +++ b/doc/fluid/api/layers/nn/relu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_relu: + +relu +---- + +.. autofunction:: paddle.fluid.layers.relu + :noindex: + diff --git a/doc/fluid/api/layers/nn/relu6.rst b/doc/fluid/api/layers/nn/relu6.rst new file mode 100644 index 000000000..aef2decef --- /dev/null +++ b/doc/fluid/api/layers/nn/relu6.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_relu6: + +relu6 +----- + +.. autofunction:: paddle.fluid.layers.relu6 + :noindex: + diff --git a/doc/fluid/api/layers/nn/reshape.rst b/doc/fluid/api/layers/nn/reshape.rst new file mode 100644 index 000000000..a8ab19542 --- /dev/null +++ b/doc/fluid/api/layers/nn/reshape.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_reshape: + +reshape +------- + +.. autofunction:: paddle.fluid.layers.reshape + :noindex: + diff --git a/doc/fluid/api/layers/nn/resize_bilinear.rst b/doc/fluid/api/layers/nn/resize_bilinear.rst new file mode 100644 index 000000000..7db111304 --- /dev/null +++ b/doc/fluid/api/layers/nn/resize_bilinear.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_resize_bilinear: + +resize_bilinear +--------------- + +.. autofunction:: paddle.fluid.layers.resize_bilinear + :noindex: + diff --git a/doc/fluid/api/layers/nn/resize_nearest.rst b/doc/fluid/api/layers/nn/resize_nearest.rst new file mode 100644 index 000000000..a185b2a82 --- /dev/null +++ b/doc/fluid/api/layers/nn/resize_nearest.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_resize_nearest: + +resize_nearest +-------------- + +.. autofunction:: paddle.fluid.layers.resize_nearest + :noindex: + diff --git a/doc/fluid/api/layers/nn/roi_align.rst b/doc/fluid/api/layers/nn/roi_align.rst new file mode 100644 index 000000000..11d6a2127 --- /dev/null +++ b/doc/fluid/api/layers/nn/roi_align.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_roi_align: + +roi_align +--------- + +.. autofunction:: paddle.fluid.layers.roi_align + :noindex: + diff --git a/doc/fluid/api/layers/nn/roi_pool.rst b/doc/fluid/api/layers/nn/roi_pool.rst new file mode 100644 index 000000000..c95fe6f27 --- /dev/null +++ b/doc/fluid/api/layers/nn/roi_pool.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_roi_pool: + +roi_pool +-------- + +.. autofunction:: paddle.fluid.layers.roi_pool + :noindex: + diff --git a/doc/fluid/api/layers/nn/row_conv.rst b/doc/fluid/api/layers/nn/row_conv.rst new file mode 100644 index 000000000..bc10fae14 --- /dev/null +++ b/doc/fluid/api/layers/nn/row_conv.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_row_conv: + +row_conv +-------- + +.. autofunction:: paddle.fluid.layers.row_conv + :noindex: + diff --git a/doc/fluid/api/layers/nn/sampled_softmax_with_cross_entropy.rst b/doc/fluid/api/layers/nn/sampled_softmax_with_cross_entropy.rst new file mode 100644 index 000000000..c9cca56f3 --- /dev/null +++ b/doc/fluid/api/layers/nn/sampled_softmax_with_cross_entropy.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sampled_softmax_with_cross_entropy: + +sampled_softmax_with_cross_entropy +---------------------------------- + +.. autofunction:: paddle.fluid.layers.sampled_softmax_with_cross_entropy + :noindex: + diff --git a/doc/fluid/api/layers/nn/sampling_id.rst b/doc/fluid/api/layers/nn/sampling_id.rst new file mode 100644 index 000000000..e18381210 --- /dev/null +++ b/doc/fluid/api/layers/nn/sampling_id.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sampling_id: + +sampling_id +----------- + +.. autofunction:: paddle.fluid.layers.sampling_id + :noindex: + diff --git a/doc/fluid/api/layers/nn/scale.rst b/doc/fluid/api/layers/nn/scale.rst new file mode 100644 index 000000000..954f678ba --- /dev/null +++ b/doc/fluid/api/layers/nn/scale.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_scale: + +scale +----- + +.. autofunction:: paddle.fluid.layers.scale + :noindex: + diff --git a/doc/fluid/api/layers/nn/scatter.rst b/doc/fluid/api/layers/nn/scatter.rst new file mode 100644 index 000000000..35d284f3c --- /dev/null +++ b/doc/fluid/api/layers/nn/scatter.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_scatter: + +scatter +------- + +.. autofunction:: paddle.fluid.layers.scatter + :noindex: + diff --git a/doc/fluid/api/layers/nn/selu.rst b/doc/fluid/api/layers/nn/selu.rst new file mode 100644 index 000000000..bef1b304a --- /dev/null +++ b/doc/fluid/api/layers/nn/selu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_selu: + +selu +---- + +.. autofunction:: paddle.fluid.layers.selu + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_concat.rst b/doc/fluid/api/layers/nn/sequence_concat.rst new file mode 100644 index 000000000..c8d17ec22 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_concat.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_concat: + +sequence_concat +--------------- + +.. autofunction:: paddle.fluid.layers.sequence_concat + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_conv.rst b/doc/fluid/api/layers/nn/sequence_conv.rst new file mode 100644 index 000000000..97730532f --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_conv.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_conv: + +sequence_conv +------------- + +.. autofunction:: paddle.fluid.layers.sequence_conv + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_enumerate.rst b/doc/fluid/api/layers/nn/sequence_enumerate.rst new file mode 100644 index 000000000..e7c82e7bb --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_enumerate.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_enumerate: + +sequence_enumerate +------------------ + +.. autofunction:: paddle.fluid.layers.sequence_enumerate + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_expand.rst b/doc/fluid/api/layers/nn/sequence_expand.rst new file mode 100644 index 000000000..5fe74fdc0 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_expand.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_expand: + +sequence_expand +--------------- + +.. autofunction:: paddle.fluid.layers.sequence_expand + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_expand_as.rst b/doc/fluid/api/layers/nn/sequence_expand_as.rst new file mode 100644 index 000000000..597b2215b --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_expand_as.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_expand_as: + +sequence_expand_as +------------------ + +.. autofunction:: paddle.fluid.layers.sequence_expand_as + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_first_step.rst b/doc/fluid/api/layers/nn/sequence_first_step.rst new file mode 100644 index 000000000..e19026b8b --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_first_step.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_first_step: + +sequence_first_step +------------------- + +.. autofunction:: paddle.fluid.layers.sequence_first_step + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_last_step.rst b/doc/fluid/api/layers/nn/sequence_last_step.rst new file mode 100644 index 000000000..0f10074d2 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_last_step.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_last_step: + +sequence_last_step +------------------ + +.. autofunction:: paddle.fluid.layers.sequence_last_step + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_mask.rst b/doc/fluid/api/layers/nn/sequence_mask.rst new file mode 100644 index 000000000..2ff6282a0 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_mask.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_mask: + +sequence_mask +------------- + +.. autofunction:: paddle.fluid.layers.sequence_mask + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_pad.rst b/doc/fluid/api/layers/nn/sequence_pad.rst new file mode 100644 index 000000000..36774623f --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_pad.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_pad: + +sequence_pad +------------ + +.. autofunction:: paddle.fluid.layers.sequence_pad + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_pool.rst b/doc/fluid/api/layers/nn/sequence_pool.rst new file mode 100644 index 000000000..00576d5da --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_pool.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_pool: + +sequence_pool +------------- + +.. autofunction:: paddle.fluid.layers.sequence_pool + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_reshape.rst b/doc/fluid/api/layers/nn/sequence_reshape.rst new file mode 100644 index 000000000..a5ae6aaad --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_reshape.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_reshape: + +sequence_reshape +---------------- + +.. autofunction:: paddle.fluid.layers.sequence_reshape + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_reverse.rst b/doc/fluid/api/layers/nn/sequence_reverse.rst new file mode 100644 index 000000000..ae65e4084 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_reverse.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_reverse: + +sequence_reverse +---------------- + +.. autofunction:: paddle.fluid.layers.sequence_reverse + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_scatter.rst b/doc/fluid/api/layers/nn/sequence_scatter.rst new file mode 100644 index 000000000..01c12f114 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_scatter.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_scatter: + +sequence_scatter +---------------- + +.. autofunction:: paddle.fluid.layers.sequence_scatter + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_slice.rst b/doc/fluid/api/layers/nn/sequence_slice.rst new file mode 100644 index 000000000..eeb422a6a --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_slice.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_slice: + +sequence_slice +-------------- + +.. autofunction:: paddle.fluid.layers.sequence_slice + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_softmax.rst b/doc/fluid/api/layers/nn/sequence_softmax.rst new file mode 100644 index 000000000..1bf2c7efc --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_softmax.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_softmax: + +sequence_softmax +---------------- + +.. autofunction:: paddle.fluid.layers.sequence_softmax + :noindex: + diff --git a/doc/fluid/api/layers/nn/sequence_unpad.rst b/doc/fluid/api/layers/nn/sequence_unpad.rst new file mode 100644 index 000000000..659461106 --- /dev/null +++ b/doc/fluid/api/layers/nn/sequence_unpad.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sequence_unpad: + +sequence_unpad +-------------- + +.. autofunction:: paddle.fluid.layers.sequence_unpad + :noindex: + diff --git a/doc/fluid/api/layers/nn/shape.rst b/doc/fluid/api/layers/nn/shape.rst new file mode 100644 index 000000000..15d34141c --- /dev/null +++ b/doc/fluid/api/layers/nn/shape.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_shape: + +shape +----- + +.. autofunction:: paddle.fluid.layers.shape + :noindex: + diff --git a/doc/fluid/api/layers/nn/shuffle_channel.rst b/doc/fluid/api/layers/nn/shuffle_channel.rst new file mode 100644 index 000000000..4179a37a4 --- /dev/null +++ b/doc/fluid/api/layers/nn/shuffle_channel.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_shuffle_channel: + +shuffle_channel +--------------- + +.. autofunction:: paddle.fluid.layers.shuffle_channel + :noindex: + diff --git a/doc/fluid/api/layers/nn/sigmoid_cross_entropy_with_logits.rst b/doc/fluid/api/layers/nn/sigmoid_cross_entropy_with_logits.rst new file mode 100644 index 000000000..d0a56e510 --- /dev/null +++ b/doc/fluid/api/layers/nn/sigmoid_cross_entropy_with_logits.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sigmoid_cross_entropy_with_logits: + +sigmoid_cross_entropy_with_logits +--------------------------------- + +.. autofunction:: paddle.fluid.layers.sigmoid_cross_entropy_with_logits + :noindex: + diff --git a/doc/fluid/api/layers/nn/sign.rst b/doc/fluid/api/layers/nn/sign.rst new file mode 100644 index 000000000..6ff042808 --- /dev/null +++ b/doc/fluid/api/layers/nn/sign.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sign: + +sign +---- + +.. autofunction:: paddle.fluid.layers.sign + :noindex: + diff --git a/doc/fluid/api/layers/nn/similarity_focus.rst b/doc/fluid/api/layers/nn/similarity_focus.rst new file mode 100644 index 000000000..2fe61cd6f --- /dev/null +++ b/doc/fluid/api/layers/nn/similarity_focus.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_similarity_focus: + +similarity_focus +---------------- + +.. autofunction:: paddle.fluid.layers.similarity_focus + :noindex: + diff --git a/doc/fluid/api/layers/nn/slice.rst b/doc/fluid/api/layers/nn/slice.rst new file mode 100644 index 000000000..c25ab1667 --- /dev/null +++ b/doc/fluid/api/layers/nn/slice.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_slice: + +slice +----- + +.. autofunction:: paddle.fluid.layers.slice + :noindex: + diff --git a/doc/fluid/api/layers/nn/smooth_l1.rst b/doc/fluid/api/layers/nn/smooth_l1.rst new file mode 100644 index 000000000..767ce0843 --- /dev/null +++ b/doc/fluid/api/layers/nn/smooth_l1.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_smooth_l1: + +smooth_l1 +--------- + +.. autofunction:: paddle.fluid.layers.smooth_l1 + :noindex: + diff --git a/doc/fluid/api/layers/nn/soft_relu.rst b/doc/fluid/api/layers/nn/soft_relu.rst new file mode 100644 index 000000000..3546d6246 --- /dev/null +++ b/doc/fluid/api/layers/nn/soft_relu.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_soft_relu: + +soft_relu +--------- + +.. autofunction:: paddle.fluid.layers.soft_relu + :noindex: + diff --git a/doc/fluid/api/layers/nn/softmax.rst b/doc/fluid/api/layers/nn/softmax.rst new file mode 100644 index 000000000..89a7fa66a --- /dev/null +++ b/doc/fluid/api/layers/nn/softmax.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_softmax: + +softmax +------- + +.. autofunction:: paddle.fluid.layers.softmax + :noindex: + diff --git a/doc/fluid/api/layers/nn/softmax_with_cross_entropy.rst b/doc/fluid/api/layers/nn/softmax_with_cross_entropy.rst new file mode 100644 index 000000000..07a360d36 --- /dev/null +++ b/doc/fluid/api/layers/nn/softmax_with_cross_entropy.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_softmax_with_cross_entropy: + +softmax_with_cross_entropy +-------------------------- + +.. autofunction:: paddle.fluid.layers.softmax_with_cross_entropy + :noindex: + diff --git a/doc/fluid/api/layers/nn/space_to_depth.rst b/doc/fluid/api/layers/nn/space_to_depth.rst new file mode 100644 index 000000000..f4dae3804 --- /dev/null +++ b/doc/fluid/api/layers/nn/space_to_depth.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_space_to_depth: + +space_to_depth +-------------- + +.. autofunction:: paddle.fluid.layers.space_to_depth + :noindex: + diff --git a/doc/fluid/api/layers/nn/spectral_norm.rst b/doc/fluid/api/layers/nn/spectral_norm.rst new file mode 100644 index 000000000..e70c50866 --- /dev/null +++ b/doc/fluid/api/layers/nn/spectral_norm.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_spectral_norm: + +spectral_norm +------------- + +.. autofunction:: paddle.fluid.layers.spectral_norm + :noindex: + diff --git a/doc/fluid/api/layers/nn/split.rst b/doc/fluid/api/layers/nn/split.rst new file mode 100644 index 000000000..9e5fe2820 --- /dev/null +++ b/doc/fluid/api/layers/nn/split.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_split: + +split +----- + +.. autofunction:: paddle.fluid.layers.split + :noindex: + diff --git a/doc/fluid/api/layers/nn/square_error_cost.rst b/doc/fluid/api/layers/nn/square_error_cost.rst new file mode 100644 index 000000000..8448bf2ce --- /dev/null +++ b/doc/fluid/api/layers/nn/square_error_cost.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_square_error_cost: + +square_error_cost +----------------- + +.. autofunction:: paddle.fluid.layers.square_error_cost + :noindex: + diff --git a/doc/fluid/api/layers/nn/squeeze.rst b/doc/fluid/api/layers/nn/squeeze.rst new file mode 100644 index 000000000..2c68b48f3 --- /dev/null +++ b/doc/fluid/api/layers/nn/squeeze.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_squeeze: + +squeeze +------- + +.. autofunction:: paddle.fluid.layers.squeeze + :noindex: + diff --git a/doc/fluid/api/layers/nn/stack.rst b/doc/fluid/api/layers/nn/stack.rst new file mode 100644 index 000000000..e34cbba4e --- /dev/null +++ b/doc/fluid/api/layers/nn/stack.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_stack: + +stack +----- + +.. autofunction:: paddle.fluid.layers.stack + :noindex: + diff --git a/doc/fluid/api/layers/nn/stanh.rst b/doc/fluid/api/layers/nn/stanh.rst new file mode 100644 index 000000000..23037f8ec --- /dev/null +++ b/doc/fluid/api/layers/nn/stanh.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_stanh: + +stanh +----- + +.. autofunction:: paddle.fluid.layers.stanh + :noindex: + diff --git a/doc/fluid/api/layers/nn/sum.rst b/doc/fluid/api/layers/nn/sum.rst new file mode 100644 index 000000000..7bf925d58 --- /dev/null +++ b/doc/fluid/api/layers/nn/sum.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_sum: + +sum +--- + +.. autofunction:: paddle.fluid.layers.sum + :noindex: + diff --git a/doc/fluid/api/layers/nn/swish.rst b/doc/fluid/api/layers/nn/swish.rst new file mode 100644 index 000000000..462d5ac0d --- /dev/null +++ b/doc/fluid/api/layers/nn/swish.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_swish: + +swish +----- + +.. autofunction:: paddle.fluid.layers.swish + :noindex: + diff --git a/doc/fluid/api/layers/nn/teacher_student_sigmoid_loss.rst b/doc/fluid/api/layers/nn/teacher_student_sigmoid_loss.rst new file mode 100644 index 000000000..25acd2b58 --- /dev/null +++ b/doc/fluid/api/layers/nn/teacher_student_sigmoid_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_teacher_student_sigmoid_loss: + +teacher_student_sigmoid_loss +---------------------------- + +.. autofunction:: paddle.fluid.layers.teacher_student_sigmoid_loss + :noindex: + diff --git a/doc/fluid/api/layers/nn/temporal_shift.rst b/doc/fluid/api/layers/nn/temporal_shift.rst new file mode 100644 index 000000000..e5275a50c --- /dev/null +++ b/doc/fluid/api/layers/nn/temporal_shift.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_temporal_shift: + +temporal_shift +-------------- + +.. autofunction:: paddle.fluid.layers.temporal_shift + :noindex: + diff --git a/doc/fluid/api/layers/nn/topk.rst b/doc/fluid/api/layers/nn/topk.rst new file mode 100644 index 000000000..800de4884 --- /dev/null +++ b/doc/fluid/api/layers/nn/topk.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_topk: + +topk +---- + +.. autofunction:: paddle.fluid.layers.topk + :noindex: + diff --git a/doc/fluid/api/layers/nn/transpose.rst b/doc/fluid/api/layers/nn/transpose.rst new file mode 100644 index 000000000..eb9a38eef --- /dev/null +++ b/doc/fluid/api/layers/nn/transpose.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_transpose: + +transpose +--------- + +.. autofunction:: paddle.fluid.layers.transpose + :noindex: + diff --git a/doc/fluid/api/layers/nn/tree_conv.rst b/doc/fluid/api/layers/nn/tree_conv.rst new file mode 100644 index 000000000..b085631b0 --- /dev/null +++ b/doc/fluid/api/layers/nn/tree_conv.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_tree_conv: + +tree_conv +--------- + +.. autofunction:: paddle.fluid.layers.tree_conv + :noindex: + diff --git a/doc/fluid/api/layers/nn/uniform_random_batch_size_like.rst b/doc/fluid/api/layers/nn/uniform_random_batch_size_like.rst new file mode 100644 index 000000000..8d2ea2d33 --- /dev/null +++ b/doc/fluid/api/layers/nn/uniform_random_batch_size_like.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_uniform_random_batch_size_like: + +uniform_random_batch_size_like +------------------------------ + +.. autofunction:: paddle.fluid.layers.uniform_random_batch_size_like + :noindex: + diff --git a/doc/fluid/api/layers/nn/unsqueeze.rst b/doc/fluid/api/layers/nn/unsqueeze.rst new file mode 100644 index 000000000..8f1495174 --- /dev/null +++ b/doc/fluid/api/layers/nn/unsqueeze.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_unsqueeze: + +unsqueeze +--------- + +.. autofunction:: paddle.fluid.layers.unsqueeze + :noindex: + diff --git a/doc/fluid/api/layers/nn/unstack.rst b/doc/fluid/api/layers/nn/unstack.rst new file mode 100644 index 000000000..b2c117f7d --- /dev/null +++ b/doc/fluid/api/layers/nn/unstack.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_unstack: + +unstack +------- + +.. autofunction:: paddle.fluid.layers.unstack + :noindex: + diff --git a/doc/fluid/api/layers/nn/warpctc.rst b/doc/fluid/api/layers/nn/warpctc.rst new file mode 100644 index 000000000..15cbe2238 --- /dev/null +++ b/doc/fluid/api/layers/nn/warpctc.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_warpctc: + +warpctc +------- + +.. autofunction:: paddle.fluid.layers.warpctc + :noindex: + diff --git a/doc/fluid/api/layers/nn/where.rst b/doc/fluid/api/layers/nn/where.rst new file mode 100644 index 000000000..1c5f021eb --- /dev/null +++ b/doc/fluid/api/layers/nn/where.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_where: + +where +----- + +.. autofunction:: paddle.fluid.layers.where + :noindex: + -- GitLab