Package dimer :: Module data :: Class TheanoShare
[hide private]
[frames] | no frames]

Class TheanoShare

source code

object --+
         |
        TheanoShare
Known Subclasses:

a dataset that can return its data as theano shared variables

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__sh_anon(self, what, shape=None, borrow=True) source code
 
share(self, which, shape=None, borrow=True)
wrap the data on a thean.shared variable
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  shX
  shY
  shT

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

share(self, which, shape=None, borrow=True)

source code 

wrap the data on a thean.shared variable

Parameters:
  • which - what component to wrap (str, typically 'X', 'T', 'Y')
  • shape - reshape the array to this shape
  • borrow - passer to theano.share
Returns:
theano.shared instance initialized to the required data

Property Details [hide private]

shX

Get Method:
unreachable.shX(self)

shY

Get Method:
unreachable.shY(self)

shT

Get Method:
unreachable.shT(self)