pymc.math.constant#

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

返回一个值为 xTensorConstant

Raises:
TypeError

x 无法转换为 numpy.ndarray。

ValueError

x 无法扩展为具有 ndim 维度。