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

Method AddFloat32TensorColumn

tensor/table/table.go:267–269  ·  view source on GitHub ↗

AddFloat32TensorColumn adds a new n-dimensional float32 column with given name and dimensionality of each _cell_. An outer-most Row dimension will be added to this dimensionality to create the tensor column.

(name string, cellSizes []int, dimNames ...string)

Source from the content-addressed store, hash-verified

265// An outer-most Row dimension will be added to this dimensionality to create
266// the tensor column.
267func (dt *Table) AddFloat32TensorColumn(name string, cellSizes []int, dimNames ...string) *tensor.Float32 {
268 return AddTensorColumn[float32](dt, name, cellSizes, dimNames...).(*tensor.Float32)
269}
270
271// AddIntColumn adds a new int column with given name.
272// The cells of this column hold a single scalar value.

Callers 2

TestAdd3DColFunction · 0.95
TestPermutedFunction · 0.80

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 2

TestAdd3DColFunction · 0.76
TestPermutedFunction · 0.64