map
Applies the transform function to each element of the tensor and returns the resulting modified tensor.
Return
the resulting tensor after applying the function.
Parameters
transform
the function to be applied to each element of the tensor.
Applies the transform function to each element of the tensor and returns the resulting modified tensor.
the resulting tensor after applying the function.
the function to be applied to each element of the tensor.