Serialize the contents of the stored object into `data`.
| 252 | |
| 253 | // Serialize the contents of the stored object into `data`. |
| 254 | void Encode(VariantTensorData* data) const { |
| 255 | if (!is_empty()) { |
| 256 | GetValue()->Encode(data); |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | // Deserialize `data` and update the stored object. |
| 261 | bool Decode(VariantTensorData data); |
nothing calls this directly
no test coverage detected