tfp.experimental.nn.util.expand_dims

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