'left' or 'right'; 'left' corresponds to lower_bound and 'right' to
upper_bound.
out_type
The output type (int32 or int64). Default is tf.int32.
name
Optional name for the operation.
Returns
An N-D Tensor the size of values containing the result of applying either
lower_bound or upper_bound (depending on side) to each value. The result
is not a global index to the entire Tensor, but the index in the last
dimension.
Raises
ValueError
If the last dimension of sorted_sequence >= 2^31-1 elements.
If the total size of values exceeds 2^31 - 1 elements.
If the first N-1 dimensions of the two tensors don't match.