metadata
title: Python Layer
Python Layer
- Layer type:
Python
- Doxygen Documentation
- Header:
./include/caffe/layers/python_layer.hpp
The Python layer allows users to add customized layers without modifying the Caffe core code.
Parameters
- Parameters (
PythonParameter python_param
) - From
./src/caffe/proto/caffe.proto
:
{% highlight Protobuf %} {% include proto/PythonParameter.txt %} {% endhighlight %}
Examples and tutorials
- Simple Euclidean loss example ** Python code ** Prototxt
- Tutorial for writing Python layers with DIGITS