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

Method SetString

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

SetString sets the value of given index as a string

(i []int, val string)

Source from the content-addressed store, hash-verified

66
67 // SetString sets the value of given index as a string
68 SetString(i []int, val string)
69
70 // Float1D returns the value of given 1-dimensional index (0-Len()-1) as a float64
71 Float1D(i int) float64

Callers 15

SetStringMethod · 0.65
SetStringRot90Method · 0.65
FromMetaMapMethod · 0.65
handleElementFunction · 0.65
TestTensorStringFunction · 0.65
UpdateSliceTableFunction · 0.65
TestAggFunction · 0.65
TestAggEmptyFunction · 0.65
OnBindMethod · 0.65
readGradAttrFunction · 0.65
CompileMethod · 0.65
CompileExclMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 9

TestTensorStringFunction · 0.52
TestAggFunction · 0.52
TestAggEmptyFunction · 0.52
TestBuildWithGoModulesFunction · 0.52
TestEditorSetTextFunction · 0.52
TestEditorSetLanguageFunction · 0.52
TestEditorMultiFunction · 0.52
TestViewBoxFunction · 0.52
TestViewBoxParseFunction · 0.52