tfp.experimental.nn.util.flatten_rightmost

Flatten rightmost dims.