Commit 8371889d authored by André Anjos's avatar André Anjos 💬
Browse files

Link against tuple python type on 3.x (not on 2.7)

parent b792cdd5
Pipeline #4818 passed with stages
in 23 minutes and 34 seconds
.. vim: set fileencoding=utf-8 :
.. Andre Anjos <andre.anjos@idiap.ch>
.. Tue 13 May 09:30:06 2014 CEST
..
.. Copyright (C) 2011-2014 Idiap Research Institute, Martigny, Switzerland
.. testsetup:: *
......@@ -27,7 +24,7 @@ described below. We start this tutorial by examplifying how to actually use an
MLP.
To instantiate a new (uninitialized) :py:class:`bob.learn.mlp.Machine` pass a
shape descriptor as a :py:func:`tuple`. The shape parameter should contain the
shape descriptor as a :py:class:`tuple`. The shape parameter should contain the
input size as the first parameter and the output size as the last parameter.
The parameters in between define the number of neurons in the hidden layers of
the MLP. For example ``(3, 3, 1)`` defines an MLP with 3 inputs, 1 single
......
......@@ -13,3 +13,7 @@ cpp:type boost::shared_ptr
# This is a C type that Sphinx confuses as a C++ type
cpp:type PyObject
# This is a function in Python 2.7 and a class in Python 3.x
# Ignore Python 2.7 error - 3.x is the future
py:class tuple
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment