def shared_floatx(value, name=None, borrow=False, dtype=None, **kwargs):
 if (dtype is None):
  dtype = theano.config.floatX
 return theano.shared(theano._asarray(value, dtype=dtype), name=name, borrow=borrow, **kwargs)

def shared_floatx ( value , name = None , borrow = False , dtype = None , ** kwargs ) : if ( dtype is None ) : dtype = theano . config . floatX return theano . shared ( theano . _asarray ( value , dtype = dtype ) , name = name , borrow = borrow , ** kwargs )
transform a value into a shared variable of type floatx .