Home
last modified time | relevance | path

Searched refs:test_model (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dsubgraph_quantizer_test.cc63 auto test_model = ReadConvModel1(); in TEST() local
64 ASSERT_TRUE(test_model); in TEST()
65 auto readonly_model = test_model->GetModel(); in TEST()
162 auto test_model = ReadConvModel2(); in TEST() local
163 ASSERT_TRUE(test_model); in TEST()
164 auto readonly_model = test_model->GetModel(); in TEST()
274 auto test_model = ReadSoftmaxModel(); in TEST() local
275 ASSERT_TRUE(test_model); in TEST()
276 auto readonly_model = test_model->GetModel(); in TEST()
331 auto test_model = ReadAvgPoolModel(); in TEST() local
[all …]
Dquantization_utils_test.cc232 auto test_model = ReadConvModel(); in TEST() local
233 ASSERT_TRUE(test_model); in TEST()
234 auto readonly_model = test_model->GetModel(); in TEST()
/external/libtextclassifier/actions/
Dtest_utils.cc70 void SetTestEntityDataSchema(ActionsModelT* test_model) { in SetTestEntityDataSchema() argument
73 test_model->actions_entity_data_schema.assign( in SetTestEntityDataSchema()
Dtest_utils.h28 void SetTestEntityDataSchema(ActionsModelT* test_model);
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/
Drnn_ptb_test.py38 model = rnn_ptb.test_model(tfe.num_gpus() > 0)
48 model = rnn_ptb.test_model(tfe.num_gpus() > 0)
Drnn_ptb_graph_test.py44 model = rnn_ptb.test_model(tf.test.is_gpu_available())
Drnn_ptb.py287 def test_model(use_cudnn_rnn): function
/external/tensorflow/tensorflow/lite/tools/
DBUILD52 "//tensorflow/lite:testdata/test_model.bin",
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py897 test_model = testing_utils.get_small_sequential_mlp(16, 2, input_dim=4)
898 test_model.compile(loss='sparse_categorical_crossentropy',
901 test_model.set_weights(fixed_weights)
902 test_model_loss = test_model.train_on_batch(train_x, train_y)
920 test_model = testing_utils.get_small_sequential_mlp(16, 2, input_dim=4)
921 test_model.compile(loss='categorical_crossentropy',
924 test_model.set_weights(fixed_weights)
925 test_model_loss = test_model.train_on_batch(train_x, train_y)
940 test_model = testing_utils.get_small_sequential_mlp(16, 1, input_dim=4)
941 test_model.compile(loss='binary_crossentropy',
[all …]
/external/tensorflow/tensorflow/python/keras/
Dmodel_subclassing_test.py184 test_model = Inner()
185 x = test_model(x)
207 test_model = DummyModel()
209 test_model(dummy_data)
210 self.assertTrue(test_model.uses_custom_build, 'Model should use user '
/external/tensorflow/tensorflow/lite/
DBUILD293 "testdata/test_model.bin",
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dkeras_test.py269 def test_model(self, strategy_fn, use_operator=False, use_regularizer=False): member in KerasModelTest
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/
Dpython_api.md122 export_dir = "/tmp/test_model/mobilenet"