pymc.math.constant#

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

Return aTensorConstant with valuex.

Raises:
TypeError

x could not be converted to a numpy.ndarray.

ValueError

x could not be expanded to have ndim dimensions.