Searched refs:variant_array (Results 1 – 2 of 2) sorted by relevance
76 void EncodeVariantList(const Variant* variant_array, int64 n, in EncodeVariantList() argument80 variant_array[i].Encode(&s); in EncodeVariantList()87 Variant* variant_array, int64 n) { in DecodeVariantList() argument92 if (variant_array[i].is_empty()) { in DecodeVariantList()93 variant_array[i] = VariantTensorDataProto(); in DecodeVariantList()98 if (!variant_array[i].Decode(std::move(str))) return false; in DecodeVariantList()99 if (!DecodeUnaryVariant(&variant_array[i])) { in DecodeVariantList()101 << variant_array[i].TypeName() in DecodeVariantList()
270 void EncodeVariantList(const Variant* variant_array, int64 n,276 Variant* variant_array, int64 n);