(value any)
| 182 | func (tg *TensorGrid) WidgetValue() any { return &tg.Tensor } |
| 183 | |
| 184 | func (tg *TensorGrid) SetWidgetValue(value any) error { |
| 185 | tg.SetTensor(value.(tensor.Tensor)) |
| 186 | return nil |
| 187 | } |
| 188 | |
| 189 | func (tg *TensorGrid) Init() { |
| 190 | tg.WidgetBase.Init() |