(tensor)
| 649 | @tc.returns(ops.Tensor) |
| 650 | @tc.accepts(ops.Tensor) |
| 651 | def tf_fn(tensor): |
| 652 | original_axes = list(labeled_tensor.axes.values())[1:] |
| 653 | tensor_lt = core.LabeledTensor(tensor, original_axes) |
| 654 | return fn(tensor_lt).tensor |
| 655 | |
| 656 | map_op = map_fn_lib.map_fn( |
| 657 | tf_fn, labeled_tensor.tensor, dtype=first_map_lt.dtype) |