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

Method SetNumRows

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

SetNumRows sets the number of rows (outer-most dimension).

(rows int)

Source from the content-addressed store, hash-verified

147
148 // SetNumRows sets the number of rows (outer-most dimension).
149 SetNumRows(rows int)
150
151 // SetMetaData sets a key=value meta data (stored as a map[string]string).
152 // For TensorGrid display: top-zero=+/-, odd-row=+/-, image=+/-,

Callers 15

TestTensorStringFunction · 0.65
TestTensorFloat64Function · 0.65
GatherTableRowsFunction · 0.65
ReduceTableFunction · 0.65
GatherTensorRowsFunction · 0.65
GatherTensorRowsStringFunction · 0.65
AggsToTableMethod · 0.65
AggsToTableCopyMethod · 0.65
UpdateSliceTableFunction · 0.65
AddColumnMethod · 0.65
InsertColumnMethod · 0.65
SetNumRowsMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 6

TestTensorStringFunction · 0.52
TestTensorFloat64Function · 0.52
TestAggFunction · 0.52
TestAggEmptyFunction · 0.52
TestPermutedFunction · 0.52
TestIndexViewFunction · 0.52