pymc.math.ones#

pymc.math.ones(shape, dtype=None)[source]#

Create a TensorVariable filled with ones, closer to NumPy’s syntax than alloc.