From 312326899e779d96811b7dfab3cfe5817b1b6fdb Mon Sep 17 00:00:00 2001 From: dangqingqing Date: Wed, 18 Jan 2017 21:18:33 +0800 Subject: [PATCH] add api to doc --- doc/api/trainer_config_helpers/layers.rst | 9 +++++++++ python/paddle/trainer_config_helpers/layers.py | 1 + 2 files changed, 10 insertions(+) diff --git a/doc/api/trainer_config_helpers/layers.rst b/doc/api/trainer_config_helpers/layers.rst index 4e429650e54..8b0e553eacc 100644 --- a/doc/api/trainer_config_helpers/layers.rst +++ b/doc/api/trainer_config_helpers/layers.rst @@ -382,6 +382,15 @@ sampling_id_layer :members: sampling_id_layer :noindex: +Slicing and Joining Layers +========================== + +pad_layer +----------- +.. automodule:: paddle.trainer_config_helpers.layers + :members: pad_layer + :noindex: + .. _api_trainer_config_helpers_layers_cost_layers: Cost Layers diff --git a/python/paddle/trainer_config_helpers/layers.py b/python/paddle/trainer_config_helpers/layers.py index 4e4744b518d..66817fc93be 100644 --- a/python/paddle/trainer_config_helpers/layers.py +++ b/python/paddle/trainer_config_helpers/layers.py @@ -108,6 +108,7 @@ __all__ = [ 'print_layer', 'priorbox_layer', 'spp_layer', + 'pad_layer', ] -- GitLab