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.
Section Navigation
Return a TensorConstant with value x.
TypeError
x could not be converted to a numpy.ndarray.
ValueError
x could not be expanded to have ndim dimensions.