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

Method SetString1D

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

SetString1D sets the value of given 1-dimensional index (0-Len()-1) as a string

(i int, val string)

Source from the content-addressed store, hash-verified

95
96 // SetString1D sets the value of given 1-dimensional index (0-Len()-1) as a string
97 SetString1D(i int, val string)
98
99 // StringRowCell returns the value at given row and cell, where row is outer-most dim,
100 // and cell is 1D index into remaining inner dims. For Table columns

Callers 14

ReadCSVFunction · 0.65
TestTensorStringFunction · 0.65
TestTensorFloat64Function · 0.65
AggsToTableMethod · 0.65
AggsToTableCopyMethod · 0.65
SetStringIndexMethod · 0.65
SetStringMethod · 0.65
SetTensorIndexMethod · 0.65
CopyCellMethod · 0.65
ReadCSVRowMethod · 0.65
DescAllFunction · 0.65
DescIndexFunction · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 2

TestTensorStringFunction · 0.52
TestTensorFloat64Function · 0.52