tfsnippet.utils.
get_batch_size
Infer the mini-batch size according to tensor.
The batch size.
int or tf.Tensor