@shared_constructor
def randomstate_constructor(value, name=None, strict=False, allow_downcast=None, borrow=False):
 if (not isinstance(value, numpy.random.RandomState)):
  raise TypeError
 if (not borrow):
  value = copy.deepcopy(value)
 return RandomStateSharedVariable(type=raw_random.random_state_type, value=value, name=name, strict=strict, allow_downcast=allow_downcast)

@ shared_constructor def randomstate_constructor ( value , name = None , strict = False , allow_downcast = None , borrow = False ) : if ( not isinstance ( value , numpy . random . RandomState ) ) : raise TypeError if ( not borrow ) : value = copy . deepcopy ( value ) return RandomStateSharedVariable ( type = raw_random . random_state_type , value = value , name = name , strict = strict , allow_downcast = allow_downcast )
sharedvariable constructor for randomstate .