/external/tensorflow/tensorflow/python/keras/integration_test/ |
D | gradients_test.py | 44 def _TestVariablesGradient(self, inputs, test_model, vars_to_grad): argument 47 test_model_re = tf.recompute_grad(test_model) 52 out = test_model(inputs) 62 test_model = TestKerasModelClass(10) 65 test_model(test_input) # pylint: disable=not-callable 66 grads_re, grads = self._TestVariablesGradient(test_input, test_model, 74 grads_re, grads = self._TestVariablesGradient(test_input, test_model, 75 test_model.variables)
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 183 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() local 184 std::unique_ptr<ModelT> unpacked_model = UnPackModel(test_model.c_str()); in TEST_F() 203 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() local 204 std::unique_ptr<ModelT> unpacked_model = UnPackModel(test_model.c_str()); in TEST_F() 222 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() local 225 test_model.c_str(), test_model.size(), unilib_.get(), calendarlib_.get()); in TEST_F() 231 std::unique_ptr<ModelT> unpacked_model = UnPackModel(test_model.c_str()); in TEST_F() 255 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() local 256 std::unique_ptr<ModelT> unpacked_model = UnPackModel(test_model.c_str()); in TEST_F() 317 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() local [all …]
|
/external/libxkbcommon/test/ |
D | registry.c | 48 struct test_model { struct 100 const struct test_model *test_models, in test_create_rules() 132 for (const struct test_model *m = test_models; m->name; m++) { in test_create_rules() 214 struct test_model *system_models, in test_setup_context_for() 215 struct test_model *user_models, in test_setup_context_for() 245 test_setup_context(struct test_model *system_models, in test_setup_context() 246 struct test_model *user_models, in test_setup_context() 417 cmp_models(struct test_model *tm, struct rxkb_model *m) in cmp_models() 513 struct test_model system_models[] = { in test_load_basic() 549 struct test_model system_models[] = { in test_load_full() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/ |
D | saved_model_error.py | 47 test_model = TestModule() 50 tf.saved_model.save(test_model, saved_model_path, options=save_options)
|
/external/libtextclassifier/native/actions/ |
D | test-utils.cc | 72 void SetTestEntityDataSchema(ActionsModelT* test_model) { in SetTestEntityDataSchema() argument 75 test_model->actions_entity_data_schema.assign( in SetTestEntityDataSchema()
|
D | test-utils.h | 32 void SetTestEntityDataSchema(ActionsModelT* test_model);
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_utils_test.cc | 465 auto test_model = ReadConvModel(); in TEST_F() local 466 ASSERT_TRUE(test_model); in TEST_F() 467 auto readonly_model = test_model->GetModel(); in TEST_F() 515 auto test_model = ReadConvModel(); in TEST_F() local 516 ASSERT_TRUE(test_model); in TEST_F() 517 auto readonly_model = test_model->GetModel(); in TEST_F() 550 auto test_model = ReadConvModel(); in TEST_F() local 551 ASSERT_TRUE(test_model); in TEST_F() 552 auto readonly_model = test_model->GetModel(); in TEST_F() 619 auto test_model = ReadConvModel(); in TEST_F() local [all …]
|
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/ |
D | stack_trace_example.py | 59 test_model = TestModule() 62 tf.saved_model.save(test_model, saved_model_path, options=save_options)
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | model_subclassing_test_util.py | 130 test_model = Inner() 131 x = test_model(x)
|
D | model_subclassing_test.py | 67 test_model = DummyModel() 69 test_model(dummy_data) 70 self.assertTrue(test_model.uses_custom_build, 'Model should use user '
|
/external/tensorflow/tensorflow/lite/tools/ |
D | BUILD | 172 "//tensorflow/lite:testdata/test_model.bin", 342 "//tensorflow/lite:testdata/test_model.bin",
|
/external/tensorflow/tensorflow/lite/ |
D | build_def.bzl | 452 …return [test_model for test_model in generated_test_models() if test_model not in generated_test_m… 621 for test_model in test_models[begin:end]: 622 tests_csv += "%s," % test_model
|
D | BUILD | 633 "testdata/test_model.bin",
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_test.py | 1148 test_model = testing_utils.get_small_sequential_mlp(16, 2, input_dim=4) 1149 test_model.compile(loss='sparse_categorical_crossentropy', 1152 test_model.set_weights(fixed_weights) 1153 test_model_loss = test_model.train_on_batch(train_x, train_y) 1171 test_model = testing_utils.get_small_sequential_mlp(16, 2, input_dim=4) 1172 test_model.compile(loss='categorical_crossentropy', 1175 test_model.set_weights(fixed_weights) 1176 test_model_loss = test_model.train_on_batch(train_x, train_y) 1191 test_model = testing_utils.get_small_sequential_mlp(16, 1, input_dim=4) 1192 test_model.compile(loss='binary_crossentropy', [all …]
|
/external/tensorflow/tensorflow/lite/g3doc/performance/ |
D | post_training_integer_quant.ipynb | 547 "def test_model(tflite_file, test_image_index, model_type):\n", 575 "test_model(tflite_model_file, test_image_index, model_type=\"Float\")" 595 "test_model(tflite_model_quant_file, test_image_index, model_type=\"Quantized\")"
|
/external/tensorflow/tensorflow/lite/java/ |
D | BUILD | 374 "//tensorflow/lite:testdata/test_model.bin",
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | keras_test.py | 542 def test_model(self, member in KerasModelTest
|