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

Method SetMetaData

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

SetMetaData sets a key=value meta data (stored as a map[string]string). For TensorGrid display: top-zero=+/-, odd-row=+/-, image=+/-, min, max set fixed min / max values, background=color

(key, val string)

Source from the content-addressed store, hash-verified

152 // For TensorGrid display: top-zero=+/-, odd-row=+/-, image=+/-,
153 // min, max set fixed min / max values, background=color
154 SetMetaData(key, val string)
155
156 // MetaData retrieves value of given key, bool = false if not set
157 MetaData(key string) (string, bool)

Callers 10

TestTensorStringFunction · 0.65
TestTensorFloat64Function · 0.65
AvgCatFunction · 0.65
AvgByColumnFunction · 0.65
InitMethod · 0.65
TableColMethod · 0.65
CovarTableColFunction · 0.65
CovarTensorFunction · 0.65
OpenBibfileMethod · 0.65
OpenBibfileMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 2

TestTensorStringFunction · 0.52
TestTensorFloat64Function · 0.52