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

Method RowCellSize

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

RowCellSize returns the size of the outer-most Row shape dimension, and the size of all the remaining inner dimensions (the "cell" size). Used for Tensors that are columns in a data table.

()

Source from the content-addressed store, hash-verified

45 // and the size of all the remaining inner dimensions (the "cell" size).
46 // Used for Tensors that are columns in a data table.
47 RowCellSize() (rows, cells int)
48
49 // DataType returns the type of the data elements in the tensor.
50 // Bool is returned for the Bits tensor type.

Callers 15

genPlotXYMethod · 0.65
validateMethod · 0.65
tRowValueMethod · 0.65
ValueMethod · 0.65
tRowXValueMethod · 0.65
xValueMethod · 0.65
YErrorMethod · 0.65
genPlotBarMethod · 0.65
RowCellSizeMethod · 0.65
SetNumRowsMethod · 0.65
SetStringRowCellMethod · 0.65
FloatRowCellMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 2

TestTensorStringFunction · 0.52
TestTensorFloat64Function · 0.52