pymc.dims.Deterministic#

pymc.dims.Deterministic(name, value, dims=None, model=None)[source]#

Wrapper around pymc.Deterministic that returns an XtensorVariable.

If the input is already an XTensorVariable, dims are optional. If dims are provided, the variable is aligned with them with a transpose. If the input is not an XTensorVariable, it is converted to one using as_xtensor. Dims are required if the input is not a scalar.

The dimensions of the resulting XTensorVariable are always forwarded to the model object.