def random_integers(random_state, size=None, low=0, high=1, ndim=None, dtype='int64'):
 low = tensor.as_tensor_variable(low)
 high = tensor.as_tensor_variable(high)
 (ndim, size, bcast) = _infer_ndim_bcast(ndim, size, low, high)
 op = RandomFunction(random_integers_helper, tensor.TensorType(dtype=dtype, broadcastable=bcast))
 return op(random_state, size, low, high)

def random_integers ( random_state , size = None , low = 0 , high = 1 , ndim = None , dtype = 'int64' ) : low = tensor . as_tensor_variable ( low ) high = tensor . as_tensor_variable ( high ) ( ndim , size , bcast ) = _infer_ndim_bcast ( ndim , size , low , high ) op = RandomFunction ( random_integers_helper , tensor . TensorType ( dtype = dtype , broadcastable = bcast ) ) return op ( random_state , size , low , high )
return a scalar or an array of integer values over [low .