MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DecodeVariant

Function DecodeVariant

tensorflow/core/framework/variant_encode_decode.h:228–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227template <typename T>
228bool DecodeVariant(VariantTensorData* data, T* value) {
229 return DecodeVariantImpl(std::move(*data), TypeResolver<T>(), value);
230}
231
232template <typename T>
233void EncodeVariant(const T& value, string* buf) {

Callers

nothing calls this directly

Calls 2

DecodeVariantImplFunction · 0.85
ParseFromStringMethod · 0.45

Tested by

no test coverage detected