compile – Transforming Expression Graphs to Functions
function - defines theano.function
Enter search terms or a module, class or function name.
Variable with Storage that is shared between functions that it appears in. These variables are meant to be created by registered shared constructors (see shared_constructor()).
The user-friendly constructor is shared()
Read/write access to the [non-symbolic] value/data associated with this SharedVariable.
Changes to this value will be visible to all functions using this SharedVariable.
Parameters: |
|
---|
A container to use for this SharedVariable when it is an implicit function parameter.
Type: | class:Container |
---|
Return a SharedVariable Variable, initialized with a copy or reference of value.
This function iterates over constructor functions (see shared_constructor) to find a suitable SharedVariable subclass. The suitable one is the first constructor that doesn’t raise an exception.
This function is meant as a convenient default. If you want to use a specific shared variable constructor, consider calling it directly.
Note
By passing kwargs, you effectively limit the set of potential constructors to those that can accept those kwargs.
Each registered constructor ctor will be called like this:
ctor(value, name=name, strict=strict, **kwargs)
A list of shared variable constructors that will be tried in reverse order.