MCPcopy Create free account
hub / github.com/cogentcore/core / DimSize

Method DimSize

tensor/bits.go:81–81  ·  view source on GitHub ↗

DimSize returns size of given dimension

(dim int)

Source from the content-addressed store, hash-verified

79
80// DimSize returns size of given dimension
81func (tsr *Bits) DimSize(dim int) int { return tsr.Shp.DimSize(dim) }
82
83// RowCellSize returns the size of the outer-most Row shape dimension,
84// and the size of all the remaining inner dimensions (the "cell" size).

Callers

nothing calls this directly

Calls 1

DimSizeMethod · 0.65

Tested by

no test coverage detected