DimSize returns the size of given dimension.
(i int)
| 71 | |
| 72 | // DimSize returns the size of given dimension. |
| 73 | func (sh *Shape) DimSize(i int) int { return sh.Sizes[i] } |
| 74 | |
| 75 | // DimName returns the name of given dimension. |
| 76 | func (sh *Shape) DimName(i int) string { return sh.Names[i] } |
no outgoing calls
no test coverage detected