Utils¶
-
yadll.utils.
to_float_X
(arr)[source]¶ Cast to floatX numpy array
Parameters: arr: list or numpy array Returns: numpy array of floatX
Create a Theano Shared Variable
Parameters: value:
value of the shared variable
dtype : default floatX
type of the shared variable
name : string, optional
shared variable name
borrow : bool, default is True
if True shared variable we construct does not get a [deep] copy of value. So changes we subsequently make to value will also change our shared variable.
Returns: Theano Shared Variable