/external/tensorflow/tensorflow/core/graph/ |
D | edgeset_test.cc | 37 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/ |
D | text-classifier.cc | 134 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 …]
|
D | model-executor.h | 81 : model_(std::move(model)) {} in ModelExecutor() 86 std::unique_ptr<const tflite::FlatBufferModel> model_; variable 121 std::unique_ptr<const tflite::FlatBufferModel> model_; variable
|
D | text-classifier.h | 174 : model_(model), in TextClassifier() 184 : model_(model), in TextClassifier() 320 const Model* model_; variable
|
D | model-executor.cc | 37 tflite::InterpreterBuilder(*model_, builtins_)(&interpreter); in CreateInterpreter() 93 : model_(std::move(model)), in TFLiteEmbeddingExecutor()
|
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/ |
D | predictor_test.cc | 57 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/ |
D | model.h | 74 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
|
D | model.cc | 74 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/ |
D | build_info.h | 63 return model_; in model() 125 const char* const model_; variable
|
D | build_info.cc | 49 model_(StrDupJString(Java_BuildInfo_getDeviceModel(env))), in BuildInfo()
|
/external/libchrome/base/ |
D | cpu.h | 37 int model() const { return model_; } in model() 67 int model_; // model of processor variable
|
D | cpu.cc | 34 model_(0), in CPU() 159 model_ = ((cpu_info[0] >> 4) & 0xf) + ((cpu_info[0] >> 12) & 0xf0); in Initialize()
|
/external/v8/src/base/ |
D | cpu.h | 39 int model() const { return model_; } in model() 120 int model_; variable
|
D | cpu.cc | 307 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/ |
D | tflite_driver.cc | 137 model_ = FlatBufferModel::BuildFromFile(GetFullPath(bin_file_path).c_str()); in LoadModel() 138 if (!model_) { in LoadModel() 143 InterpreterBuilder(*model_, builtins)(&interpreter_); in LoadModel()
|
D | tflite_driver.h | 54 std::unique_ptr<FlatBufferModel> model_; variable
|