Range returns the min, max (and associated indexes, -1 = no values) for the tensor. This is needed for display and is thus in the core api in optimized form Other math operations can be done using gonum/floats package.
()
| 116 | // This is needed for display and is thus in the core api in optimized form |
| 117 | // Other math operations can be done using gonum/floats package. |
| 118 | Range() (min, max float64, minIndex, maxIndex int) |
| 119 | |
| 120 | // SetZeros is simple convenience function initialize all values to 0 |
| 121 | SetZeros() |
no outgoing calls
no test coverage detected