Floats sets []float64 slice of all elements in the tensor (length is ensured to be sufficient). This can be used for all of the gonum/floats methods for basic math, gonum/stats, etc.
(flt *[]float64)
| 86 | // This can be used for all of the gonum/floats methods |
| 87 | // for basic math, gonum/stats, etc. |
| 88 | Floats(flt *[]float64) |
| 89 | |
| 90 | // SetFloats sets tensor values from a []float64 slice (copies values). |
| 91 | SetFloats(vals []float64) |
no outgoing calls