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

Method Dims

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

Dims is the gonum/mat.Matrix interface method for returning the dimensionality of the 2D Matrix. Not supported for Bits -- do not call!

()

Source from the content-addressed store, hash-verified

300// Dims is the gonum/mat.Matrix interface method for returning the dimensionality of the
301// 2D Matrix. Not supported for Bits -- do not call!
302func (tsr *Bits) Dims() (r, c int) {
303 slog.Error("tensor Dims gonum Matrix call made on Bits Tensor; not supported")
304 return 0, 0
305}
306
307// At is the gonum/mat.Matrix interface method for returning 2D matrix element at given
308// row, column index. Not supported for Bits -- do not call!

Callers 1

CopyDenseFunction · 0.45

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected