/external/junit/src/main/java/org/junit/runners/model/ |
Statement.java | 1 package org.junit.runners.model;
|
RunnerScheduler.java | 1 package org.junit.runners.model;
|
/external/tensorflow/tensorflow/lite/kernels/ |
rank_test.cc | 22 #include "tensorflow/lite/model.h" 53 RankOpModel model({1, 3, 1, 3, 5}, TensorType_FLOAT32); 54 model.Invoke(); 56 EXPECT_THAT(model.GetOutput(), ElementsAreArray({5})); 57 EXPECT_TRUE(model.GetOutputShape().empty()); 61 RankOpModel model({1, 3, 1, 3, 5}, TensorType_INT32); 62 model.Invoke(); 64 EXPECT_THAT(model.GetOutput(), ElementsAreArray({5})); 65 EXPECT_TRUE(model.GetOutputShape().empty()); 69 RankOpModel model({}, TensorType_FLOAT32) [all...] |
shape_test.cc | 22 #include "tensorflow/lite/model.h" 55 ShapeOpModel<int32_t> model({1, 3, 1, 3, 5}, TensorType_FLOAT32, 57 model.Invoke(); 59 EXPECT_THAT(model.GetOutput(), ElementsAreArray({1, 3, 1, 3, 5})); 60 EXPECT_THAT(model.GetOutputShape(), ElementsAreArray({5})); 64 ShapeOpModel<int64_t> model({1, 3, 1, 3, 5}, TensorType_FLOAT32, 66 model.Invoke(); 68 EXPECT_THAT(model.GetOutput(), ElementsAreArray({1, 3, 1, 3, 5})); 69 EXPECT_THAT(model.GetOutputShape(), ElementsAreArray({5})); 73 ShapeOpModel<int32_t> model({}, TensorType_FLOAT32, TensorType_INT32) [all...] |
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
remove_unused_op.cc | 21 #include "tensorflow/lite/toco/model.h" 28 ::tensorflow::Status RemoveUnusedOp::Run(Model* model, std::size_t op_index, 31 const auto it = model->operators.begin() + op_index; 35 // the model. We allow specifying an arbitrary input_array, 38 CHECK(model->HasArray(output)); 39 // If this output is provided as the model's input array, 41 if (IsInputArray(*model, output)) { 50 for (const auto& rnn_state : model->flags.rnn_states()) { 61 for (const string& output_array : model->flags.output_arrays()) [all...] |
identify_lstm.cc | 20 #include "tensorflow/lite/toco/model.h" 28 Model* model, const Operator& op) { 29 auto it = model->operators.begin(); 30 for (; it != model->operators.end(); ++it) { 38 bool ValidateSourceOp(const Model& model, const string& array_name, 44 *source_op = GetOpWithOutput(model, array_name); 62 bool MatchOperatorInputs(const Operator& op, const Model& model, [all...] |
graph_transformations.cc | 32 void PrintModelStats(const string& label, const Model& model) { 34 for (const auto& array : model.GetArrayMap()) { 39 LOG(INFO) << label << ": " << model.operators.size() << " operators, " 40 << model.GetArrayMap().size() << " arrays (" << quantized_arrays 57 void DiscardUselessConnectedComponentsAndRNNBackEdges(Model* model) { 61 for (const string& output_array : model->flags.output_arrays()) { 67 for (const auto& op : model->operators) { 83 for (const auto& rnn_state : model->flags.rnn_states()) [all...] |
remove_final_dequantize_op.cc | 21 #include "tensorflow/lite/toco/model.h" 28 ::tensorflow::Status RemoveFinalDequantizeOp::Run(Model* model, 32 const auto dequantize_it = model->operators.begin() + op_index; 40 // one of the model's output arrays, as some intermediate array 43 if (CountOpsWithInput(*model, output)) { 47 // If one of the model's output arrays was actually the Dequantize op's 49 for (int i = 0; i < model->flags.output_arrays_size(); i++) { 50 if (output == model->flags.output_arrays(i)) { 51 model->flags.set_output_arrays(i, dequantize_op->inputs[0]) [all...] |
resolve_tensorflow_matmul.cc | 21 #include "tensorflow/lite/toco/model.h" 29 TransposeOperator* FindTransposeOpWithInput(const Model& model, 31 for (auto it = model.operators.begin(); it != model.operators.end(); ++it) { 39 const auto& permutation_array = model.GetArray(op->inputs[1]); 58 ::tensorflow::Status ResolveTensorFlowMatMul::Run(Model* model, 62 auto matmul_it = model->operators.begin() + op_index; 92 auto* transpose_op = FindTransposeOpWithInput(*model, input_rhs) [all...] |
/external/u-boot/common/ |
board_info.c | 13 * If the root node of the DTB has a "model" property, show it. 20 const char *model; local 22 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); 24 if (model) 25 printf("Model: %s\n", model);
|
/external/autotest/frontend/ |
db_router.py | 43 def _should_be_in_server_db(self, model): 44 """Return True if the model should be stored in the server db. 46 @param model: Model to decide for. 48 @return: True if querying the model requires server database. 50 return model._meta.db_table.startswith('server') 53 def _should_be_in_global(self, model): 54 """Returns True if the model should be stored in the global db. 56 @param model: Model to decide for [all...] |
/cts/tests/openglperf2/jni/graphics/ |
TransformationNode.cpp | 24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, 27 mSavedModelMatrix.loadWith(model); 29 model.multiply(*mMatrix, mSavedModelMatrix); 32 void TransformationNode::after(Program& program, Matrix& model, Matrix& view, 35 model.loadWith(mSavedModelMatrix);
|
ProgramNode.cpp | 21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 22 program.before(model, view, projection); 25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 26 program.after(model, view, projection); 29 void ProgramNode::drawProgram(Matrix& model, Matrix& view, Matrix& projection) { 30 SceneGraphNode::draw(mProgram, model, view, projection);
|
/external/tensorflow/tensorflow/python/keras/engine/ |
sequential_test.py | 15 """Tests specific to `Sequential` model.""" 36 """Most Sequential model API tests are covered in `training_test.py`. 41 model = keras.models.Sequential() 42 model.add(keras.layers.Dense(1, input_dim=2)) 43 model.add(keras.layers.Dropout(0.3, name='dp')) 44 model.add(keras.layers.Dense(2, kernel_regularizer='l2', 46 self.assertEqual(len(model.layers), 3) 47 self.assertEqual(len(model.weights), 2 * 2) 48 self.assertEqual(model.get_layer(name='dp').name, 'dp') 52 model = keras.models.Sequential( 216 model = keras.models.Sequential() variable in class:TestSequential.test_invalid_use_cases.MyLayer 219 model = keras.models.Sequential() variable in class:TestSequential.test_invalid_use_cases.MyLayer [all...] |
/external/libtextclassifier/actions/ |
zlib-utils.cc | 27 // Compress rule fields in the model. 28 bool CompressActionsModel(ActionsModelT* model) { 31 TC3_LOG(ERROR) << "Cannot compress model."; 36 if (model->rules != nullptr) { 37 for (int i = 0; i < model->rules->rule.size(); i++) { 38 RulesModel_::RuleT* rule = model->rules->rule[i].get(); 45 if (model->low_confidence_rules != nullptr) { 46 for (int i = 0; i < model->low_confidence_rules->rule.size(); i++) { 47 RulesModel_::RuleT* rule = model->low_confidence_rules->rule[i].get(); 63 if (!model->lua_actions_script.empty()) [all...] |
zlib-utils_test.cc | 31 ActionsModelT model; local 34 model.rules.reset(new RulesModelT); 35 model.rules->rule.emplace_back(new RulesModel_::RuleT); 36 model.rules->rule.back()->pattern = kTestPattern1; 37 model.rules->rule.emplace_back(new RulesModel_::RuleT); 38 model.rules->rule.back()->pattern = kTestPattern2; 40 // Compress the model. 41 EXPECT_TRUE(CompressActionsModel(&model)); 44 EXPECT_TRUE(model.rules->rule[0]->pattern.empty()); 45 EXPECT_TRUE(model.rules->rule[1]->pattern.empty()) [all...] |
/external/libtextclassifier/annotator/ |
zlib-utils_test.cc | 29 ModelT model; local 30 model.regex_model.reset(new RegexModelT); 31 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); 32 model.regex_model->patterns.back()->pattern = "this is a test pattern"; 33 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); 34 model.regex_model->patterns.back()->pattern = "this is a second test pattern"; 36 model.datetime_model.reset(new DatetimeModelT); 37 model.datetime_model->patterns.emplace_back(new DatetimeModelPatternT); 38 model.datetime_model->patterns.back()->regexes.emplace_back( 40 model.datetime_model->patterns.back()->regexes.back()->pattern [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/ |
FileDescriptorModelLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 5 import com.bumptech.glide.load.model.ModelLoader; 10 * @param <T> The type of the model that will be translated into an {@link java.io.File}.
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
StreamModelLoader.java | 1 package com.bumptech.glide.load.model.stream; 3 import com.bumptech.glide.load.model.ModelLoader; 10 * @param <T> The type of the model that will be translated into an {@link InputStream}.
|
/external/testng/src/main/java/org/testng/mustache/ |
BaseChunk.java | 5 protected Model m_model; 7 public BaseChunk(Model model) { 8 m_model = model;
|
/external/u-boot/arch/arm/dts/ |
armada-7040.dtsi | 53 model = "Marvell Armada 7040";
|
imx6dl-icore.dts | 49 model = "Engicam i.CoreM6 DualLite/Solo Starter Kit";
|
imx6q-icore.dts | 49 model = "Engicam i.CoreM6 Quad/Dual Starter Kit";
|
/external/turbine/java/com/google/turbine/model/ |
TurbineTyKind.java | 17 package com.google.turbine.model;
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
TraceResult.java | 19 import trebuchet.model.Model; 23 private final Model mModel; 25 public TraceResult(PidTidPair pidTidPair, Model model) { 26 mModel = model; 32 public Model getModel() { return mModel; }
|