tfp.experimental.distributions.marginal_fns.ps.tensorshape_util.as_list

Returns a list of integers or None for each dimension.

For more details, see help(tf.TensorShape.as_list).

x object representing a shape; convertible to tf.TensorShape.

shape_as_list list of int or None values representing each dimensions size if known.

ValueError If x has unknown rank.