TensorButton represents a Tensor with a button for making a [TensorGrid] viewer for an [tensor.Tensor].
| 27 | // TensorButton represents a Tensor with a button for making a [TensorGrid] |
| 28 | // viewer for an [tensor.Tensor]. |
| 29 | type TensorButton struct { |
| 30 | core.Button |
| 31 | Tensor tensor.Tensor |
| 32 | } |
| 33 | |
| 34 | func (tb *TensorButton) WidgetValue() any { return &tb.Tensor } |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected