tfp.experimental.nn.util.expand_dims

View source on GitHub

Like tf.expand_dims but accepts a vector of axes to expand.