NumDims returns the total number of dimensions.
()
| 76 | |
| 77 | // NumDims returns the total number of dimensions. |
| 78 | func (tsr *Bits) NumDims() int { return tsr.Shp.NumDims() } |
| 79 | |
| 80 | // DimSize returns size of given dimension |
| 81 | func (tsr *Bits) DimSize(dim int) int { return tsr.Shp.DimSize(dim) } |