Caffe2 - C++ API
A deep learning, cross platform ML framework
qtensor_serialization.cc
1 
17 #include "caffe2/core/qtensor_serialization.h"
18 
19 namespace caffe2 {
20 namespace {
21 REGISTER_BLOB_SERIALIZER(
22  (TypeMeta::Id<QTensor<CPUContext>>()),
23  QTensorSerializer<CPUContext>);
24 REGISTER_BLOB_DESERIALIZER(QTensor, QTensorDeserializer<CPUContext>);
25 } // namespace
26 } // namespace caffe2
static CAFFE2_API CaffeTypeId Id()
Returns the unique id for the given type T.
Copyright (c) 2016-present, Facebook, Inc.