Skip to content

Commit

Permalink
doc for memory output layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 25, 2015
1 parent 2aec9b4 commit bd91af6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/user-guide/layers/util-layer.rst
Expand Up @@ -19,6 +19,20 @@ Utility Layers

Name of the concatenated output blob.

.. class:: MemoryOutputLayer

Takes some blobs in the network and collect their data during forward pass of
the network as a list of julia ``Array``s. Useful when doing in-memory
testing for collecting the output. After running the forward pass of the
network, the ``outputs`` field of the corresponding layer state object will
contain a vector of the same size as the ``bottoms`` attribute. Each element
of the vector is a list of tensors (julia ``Array`` objects), each tensor
corresponds to the output in a mini-batch.

.. attribute:: bottoms

A list of names of the blobs in the network to store.

.. class:: HDF5OutputLayer

Takes some blobs in the network and writes them to a HDF5 file.
Expand Down

0 comments on commit bd91af6

Please sign in to comment.