value

open fun StructureND<T>.value(): T(source)

Returns a single tensor value of unit dimension. The tensor shape must be equal to 1.

Return

the value of a scalar tensor.