|
Download openpose/3rdparty/caffe/docs/tutorial/layers/memorydata.md from camenduru/show: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/camenduru/show/resolve/main/openpose/3rdparty/caffe/docs/tutorial/layers/memorydata.md
- Command line
-
hf download hf://camenduru/show/openpose/3rdparty/caffe/docs/tutorial/layers/memorydata.md
-
curl -L -o memorydata.md https://huggingface.co/camenduru/show/resolve/main/openpose/3rdparty/caffe/docs/tutorial/layers/memorydata.md
1.19 kB
metadata
title: Memory Data Layer
Memory Data Layer
- Layer type:
MemoryData - Doxygen Documentation
- Header:
./include/caffe/layers/memory_data_layer.hpp - CPU implementation:
./src/caffe/layers/memory_data_layer.cpp
The memory data layer reads data directly from memory, without copying it. In order to use it, one must call MemoryDataLayer::Reset (from C++) or Net.set_input_arrays (from Python) in order to specify a source of contiguous data (as 4D row major array), which is read one batch-sized chunk at a time.
Parameters
- Parameters (
MemoryDataParameter memory_data_param) - From
./src/caffe/proto/caffe.proto:
{% highlight Protobuf %} {% include proto/MemoryDataParameter.txt %} {% endhighlight %}
- Parameters
- Required
batch_size,channels,height,width: specify the size of input chunks to read from memory
- Required