| 26 | Variant::~Variant() { clear(); } |
| 27 | |
| 28 | bool Variant::Decode(VariantTensorData data) { |
| 29 | if (!is_empty()) { |
| 30 | return GetValue()->Decode(std::move(data)); |
| 31 | } |
| 32 | return true; |
| 33 | } |
| 34 | |
| 35 | template <> |
| 36 | void* Variant::get() { |
no test coverage detected