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

Method Encode

tensorflow/core/framework/variant.h:254–258  ·  view source on GitHub ↗

Serialize the contents of the stored object into `data`.

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

GetValueFunction · 0.50

Tested by

no test coverage detected