TensorDeserializer is the deserializer for Tensors. More...
#include <blob_serialization.h>
Public Member Functions | |
void | Deserialize (const BlobProto &proto, Blob *blob) override |
void | DeserializeToTensor (const TensorProto &proto, Tensor *tensor) |
Tensor | Deserialize (const TensorProto &proto) |
TensorDeserializer is the deserializer for Tensors.
The device that the deserialized Tensor will live under is determined by the device_detail field. If you want to specify the device of the deserialized tensor, change the TensorProto's corresponding fields before calling Deserialize.
Definition at line 128 of file blob_serialization.h.