Home
last modified time | relevance | path

Searched refs:unpacked_model (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/utils/testing/
Dannotator.h37 std::unique_ptr<ModelT> unpacked_model = in ModifyAnnotatorModel() local
40 visitor_fn(unpacked_model.get()); in ModifyAnnotatorModel()
43 FinishModelBuffer(builder, Model::Pack(builder, unpacked_model.get())); in ModifyAnnotatorModel()
/external/libtextclassifier/annotator/
Dzlib-utils.cc132 std::unique_ptr<ModelT> unpacked_model = UnPackModel(model.c_str()); in CompressSerializedModel() local
133 TC3_CHECK(unpacked_model != nullptr); in CompressSerializedModel()
134 TC3_CHECK(CompressModel(unpacked_model.get())); in CompressSerializedModel()
136 FinishModelBuffer(builder, Model::Pack(builder, unpacked_model.get())); in CompressSerializedModel()
/external/libtextclassifier/actions/
Dzlib-utils.cc150 std::unique_ptr<ActionsModelT> unpacked_model = in CompressSerializedActionsModel() local
152 TC3_CHECK(unpacked_model != nullptr); in CompressSerializedActionsModel()
153 TC3_CHECK(CompressActionsModel(unpacked_model.get())); in CompressSerializedActionsModel()
156 ActionsModel::Pack(builder, unpacked_model.get())); in CompressSerializedActionsModel()