Home
last modified time | relevance | path

Searched refs:variant_array (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dvariant.cc76 void EncodeVariantList(const Variant* variant_array, int64 n, in EncodeVariantList() argument
80 variant_array[i].Encode(&s); in EncodeVariantList()
87 Variant* variant_array, int64 n) { in DecodeVariantList() argument
92 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()
Dvariant_encode_decode.h270 void EncodeVariantList(const Variant* variant_array, int64 n,
276 Variant* variant_array, int64 n);