Home
last modified time | relevance | path

Searched refs:model_ (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
Dedgeset_test.cc37 model_.clear(); in MakeEdgeSet()
40 model_.insert(&edges_[i]); in MakeEdgeSet()
45 EXPECT_EQ(model_.size(), eset_->size()); in CheckSame()
46 EXPECT_EQ(model_.empty(), eset_->empty()); in CheckSame()
47 std::vector<const Edge*> modelv(model_.begin(), model_.end()); in CheckSame()
60 std::set<const Edge*> model_; member in tensorflow::EdgeSetTest
73 model_.clear(); in TEST_F()
77 model_.insert(&edges_[0]); in TEST_F()
93 model_.erase(&edges_[pos]); in TEST_F()
/external/libtextclassifier/
Dtext-classifier.cc134 if (model_ == nullptr) { in ValidateAndInitialize()
140 (model_->triggering_options() != nullptr && in ValidateAndInitialize()
141 (model_->triggering_options()->enabled_modes() & ModeFlag_ANNOTATION)); in ValidateAndInitialize()
143 (model_->triggering_options() != nullptr && in ValidateAndInitialize()
144 (model_->triggering_options()->enabled_modes() & in ValidateAndInitialize()
147 (model_->triggering_options() != nullptr && in ValidateAndInitialize()
148 (model_->triggering_options()->enabled_modes() & ModeFlag_SELECTION)); in ValidateAndInitialize()
152 if (!model_->selection_options()) { in ValidateAndInitialize()
156 if (!model_->selection_feature_options()) { in ValidateAndInitialize()
160 if (!model_->selection_feature_options()->bounds_sensitive_features()) { in ValidateAndInitialize()
[all …]
Dmodel-executor.h81 : model_(std::move(model)) {} in ModelExecutor()
86 std::unique_ptr<const tflite::FlatBufferModel> model_; variable
121 std::unique_ptr<const tflite::FlatBufferModel> model_; variable
Dtext-classifier.h174 : model_(model), in TextClassifier()
184 : model_(model), in TextClassifier()
320 const Model* model_; variable
Dmodel-executor.cc37 tflite::InterpreterBuilder(*model_, builtins_)(&interpreter); in CreateInterpreter()
93 : model_(std::move(model)), in TFLiteEmbeddingExecutor()
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/
Dpredictor_test.cc57 model_ = tflite::FlatBufferModel::BuildFromFile( in PredictorTest()
59 CHECK(model_); in PredictorTest()
63 std::unique_ptr<::tflite::FlatBufferModel> model_; member in tflite::custom::smartreply::__anonaca96dc30111::PredictorTest
69 GetSegmentPredictions({"Welcome"}, *model_, /*config=*/{{}}, &predictions); in TEST_F()
88 GetSegmentPredictions({"Hello", "How are you?"}, *model_, /*config=*/{{}}, in TEST_F()
107 GetSegmentPredictions({"你好"}, *model_, /*config=*/{{}}, &predictions); in TEST_F()
111 GetSegmentPredictions({"你好"}, *model_, /*config=*/{{"Yes", "Ok"}}, in TEST_F()
134 GetSegmentPredictions({msg}, *model_, /*config=*/{{}}, &predictions); in TEST_F()
/external/tensorflow/tensorflow/contrib/lite/
Dmodel.h74 bool initialized() const { return model_ != nullptr; } in initialized()
75 const tflite::Model* operator->() const { return model_; }
76 const tflite::Model* GetModel() const { return model_; } in GetModel()
110 const tflite::Model* model_ = nullptr; variable
165 const ::tflite::Model* model_; variable
Dmodel.cc74 model_ = ::tflite::GetModel(allocation_->base()); in FlatBufferModel()
95 model_ = ::tflite::GetModel(allocation_->base()); in FlatBufferModel()
102 model_ = model; in FlatBufferModel()
109 : model_(model.GetModel()), in InterpreterBuilder()
117 : model_(model), in InterpreterBuilder()
124 auto opcodes = model_->operator_codes(); in BuildLocalIndexToRegistrationMapping()
740 if (!model_) { in operator ()()
745 if (model_->version() != TFLITE_SCHEMA_VERSION) { in operator ()()
749 model_->version(), TFLITE_SCHEMA_VERSION); in operator ()()
763 auto* subgraphs = model_->subgraphs(); in operator ()()
[all …]
/external/libmojo/base/android/
Dbuild_info.h63 return model_; in model()
125 const char* const model_; variable
Dbuild_info.cc49 model_(StrDupJString(Java_BuildInfo_getDeviceModel(env))), in BuildInfo()
/external/libchrome/base/
Dcpu.h37 int model() const { return model_; } in model()
67 int model_; // model of processor variable
Dcpu.cc34 model_(0), in CPU()
159 model_ = ((cpu_info[0] >> 4) & 0xf) + ((cpu_info[0] >> 12) & 0xf0); in Initialize()
/external/v8/src/base/
Dcpu.h39 int model() const { return model_; } in model()
120 int model_; variable
Dcpu.cc307 model_(0), in CPU()
365 model_ = ((cpu_info[0] >> 4) & 0xf) + ((cpu_info[0] >> 12) & 0xf0); in CPU()
385 switch (model_) { in CPU()
/external/tensorflow/tensorflow/contrib/lite/testing/
Dtflite_driver.cc137 model_ = FlatBufferModel::BuildFromFile(GetFullPath(bin_file_path).c_str()); in LoadModel()
138 if (!model_) { in LoadModel()
143 InterpreterBuilder(*model_, builtins)(&interpreter_); in LoadModel()
Dtflite_driver.h54 std::unique_ptr<FlatBufferModel> model_; variable