tfsnippet.utils.
validate_n_samples_arg
Validate the n_samples argument.
tf.Tensor
None
The validated n_samples argument value.
int or tf.Tensor
TypeError or ValueError or None – If the value cannot be validated.