map

Tensor map(Function1<Double, Number> lambda)

Apply a mapping function to each element.

Return

a newly mapped tensor.

Parameters

lambda

mapping function.