From dd463219a327790fb05afbcf593dee32156be260 Mon Sep 17 00:00:00 2001 From: dengkaipeng Date: Mon, 17 Aug 2020 13:11:54 +0000 Subject: [PATCH] add sampler --- doc/fluid/api/io.rst | 3 +++ doc/fluid/api/io/RandomSampler.rst | 10 ++++++++++ doc/fluid/api/io/Sampler.rst | 10 ++++++++++ doc/fluid/api/io/SequenceSampler.rst | 10 ++++++++++ 4 files changed, 33 insertions(+) create mode 100644 doc/fluid/api/io/RandomSampler.rst create mode 100644 doc/fluid/api/io/Sampler.rst create mode 100644 doc/fluid/api/io/SequenceSampler.rst diff --git a/doc/fluid/api/io.rst b/doc/fluid/api/io.rst index be9478c30..00514a979 100644 --- a/doc/fluid/api/io.rst +++ b/doc/fluid/api/io.rst @@ -7,6 +7,9 @@ fluid.io io/batch.rst io/BatchSampler.rst + io/Sampler.rst + io/SequenceSampler.rst + io/RandomSampler.rst io/buffered.rst io/cache.rst io/chain.rst diff --git a/doc/fluid/api/io/RandomSampler.rst b/doc/fluid/api/io/RandomSampler.rst new file mode 100644 index 000000000..a905037f8 --- /dev/null +++ b/doc/fluid/api/io/RandomSampler.rst @@ -0,0 +1,10 @@ +.. _api_io_RandomSampler: + +RandomSampler +------------------------------- +.. autoclass:: paddle.fluid.io.RandomSampler + :members: + :inherited-members: + :noindex: + + diff --git a/doc/fluid/api/io/Sampler.rst b/doc/fluid/api/io/Sampler.rst new file mode 100644 index 000000000..6e700bd21 --- /dev/null +++ b/doc/fluid/api/io/Sampler.rst @@ -0,0 +1,10 @@ +.. _api_io_Sampler: + +Sampler +------------------------------- +.. autoclass:: paddle.fluid.io.Sampler + :members: + :inherited-members: + :noindex: + + diff --git a/doc/fluid/api/io/SequenceSampler.rst b/doc/fluid/api/io/SequenceSampler.rst new file mode 100644 index 000000000..d79aeab76 --- /dev/null +++ b/doc/fluid/api/io/SequenceSampler.rst @@ -0,0 +1,10 @@ +.. _api_io_SequenceSampler: + +SequenceSampler +------------------------------- +.. autoclass:: paddle.fluid.io.SequenceSampler + :members: + :inherited-members: + :noindex: + + -- GitLab