Replaces any RaggedTensor in args or kwargs with its flat_values
tensor, and then calls op. Returns a RaggedTensor that is constructed
from the input RaggedTensors' nested_row_splits and the value returned by
the op.
If the input arguments contain multiple RaggedTensors, then they must have
identical nested_row_splits.
The operation that should be applied to the RaggedTensor flat_values.
op is typically an element-wise operation (such as math_ops.add), but
any operation that preserves the size of the outermost dimension can be
used. I.e., shape[0] of the value returned by op must match
shape[0] of the RaggedTensors' flat_values tensors.
*args
Arguments for op.
**kwargs
Keyword arguments for op.
Returns
A RaggedTensor whose ragged_rank matches the ragged_rank of all
input RaggedTensors.
Raises
ValueError
If args contains no RaggedTensors, or if the nested_splits
of the input RaggedTensors are not identical.