summaryrefslogtreecommitdiff
path: root/docs/tutorial/layers/hdf5output.md
blob: cfbe4ddb77145c636b798ec1be00446ca59ff7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: HDF5 Output Layer
---

# HDF5 Output Layer

* Layer type: `HDF5Output`
* [Doxygen Documentation](http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1HDF5OutputLayer.html)
* Header: [`./include/caffe/layers/hdf5_output_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/hdf5_output_layer.hpp)
* CPU implementation: [`./src/caffe/layers/hdf5_output_layer.cpp`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/hdf5_output_layer.cpp)
* CUDA GPU implementation: [`./src/caffe/layers/hdf5_output_layer.cu`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/hdf5_output_layer.cu)

The HDF5 output layer performs the opposite function of the other layers in this section: it writes its input blobs to disk.

## Parameters

* Parameters (`HDF5OutputParameter hdf5_output_param`)
    - Required
        - `file_name`: name of file to write to

* From [`./src/caffe/proto/caffe.proto`](https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto):

{% highlight Protobuf %}
{% include proto/HDF5OutputParameter.txt %}
{% endhighlight %}