pymc.math.constant#

pymc.math.constant(x, name=None, ndim=None, dtype=None)[source]#

Return a TensorConstant with value x.

Raises:
TypeError

x could not be converted to a numpy.ndarray.

ValueError

x could not be expanded to have ndim dimensions.