SubSpace returns a new tensor with innermost subspace at given offset(s) in outermost dimension(s) (len(offs) < NumDims). The new tensor points to the values of the this tensor (i.e., modifications will affect both), as its Values slice is a view onto the original (which is why only inner-most conti
(offs []int)
| 111 | // is why only inner-most contiguous supsaces are supported). |
| 112 | // Use Clone() method to separate the two. |
| 113 | SubSpace(offs []int) Tensor |
| 114 | |
| 115 | // Range returns the min, max (and associated indexes, -1 = no values) for the tensor. |
| 116 | // This is needed for display and is thus in the core api in optimized form |
no outgoing calls