Home
last modified time | relevance | path

Searched refs:test_inputs (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/tests/
Dvb2_sha_tests.c39 uint8_t *test_inputs[3]; in sha1_tests() local
42 test_inputs[0] = (uint8_t *) oneblock_msg; in sha1_tests()
43 test_inputs[1] = (uint8_t *) multiblock_msg1; in sha1_tests()
44 test_inputs[2] = (uint8_t *) long_msg; in sha1_tests()
47 TEST_SUCC(vb2_digest(test_inputs[i], in sha1_tests()
48 strlen((char *)test_inputs[i]), in sha1_tests()
55 TEST_EQ(vb2_digest(test_inputs[0], strlen((char *)test_inputs[0]), in sha1_tests()
63 uint8_t *test_inputs[3]; in sha256_tests() local
66 test_inputs[0] = (uint8_t *) oneblock_msg; in sha256_tests()
67 test_inputs[1] = (uint8_t *) multiblock_msg1; in sha256_tests()
[all …]
Dsha_tests.c19 uint8_t* test_inputs[3]; in SHA1_tests() local
20 test_inputs[0] = (uint8_t *) oneblock_msg; in SHA1_tests()
21 test_inputs[1] = (uint8_t *) multiblock_msg1; in SHA1_tests()
22 test_inputs[2] = (uint8_t *) long_msg; in SHA1_tests()
25 internal_SHA1(test_inputs[i], strlen((char *)test_inputs[i]), in SHA1_tests()
41 uint8_t* test_inputs[3]; in SHA256_tests() local
42 test_inputs[0] = (uint8_t *) oneblock_msg; in SHA256_tests()
43 test_inputs[1] = (uint8_t *) multiblock_msg1; in SHA256_tests()
44 test_inputs[2] = (uint8_t *) long_msg; in SHA256_tests()
47 internal_SHA256(test_inputs[i], strlen((char *)test_inputs[i]), in SHA256_tests()
[all …]
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dbidirectional_sequence_rnn_test.py181 def tfliteInvoke(self, graph, test_inputs, outputs): argument
203 interpreter.set_tensor(input_index, test_inputs)
222 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
225 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
248 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
251 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
270 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
273 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
297 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
300 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
Dunidirectional_sequence_rnn_test.py155 def tfliteInvoke(self, graph, test_inputs, outputs): argument
175 interpreter.set_tensor(input_index, test_inputs)
194 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
197 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
213 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
216 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
Dunidirectional_sequence_lstm_test.py143 def tfliteInvoke(self, graph, test_inputs, outputs): argument
167 interpreter.set_tensor(input_index, test_inputs)
186 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
189 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
205 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
208 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
Dbidirectional_sequence_lstm_test.py157 def tfliteInvoke(self, graph, test_inputs, outputs): argument
182 interpreter.set_tensor(input_index, test_inputs)
201 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
204 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
223 test_inputs, expected_output, frozen_graph = self.getInferenceResult(
226 result = self.tfliteInvoke(frozen_graph, test_inputs, output_class)
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_recurrent_test.py193 test_inputs = np.random.random((2, 4, 5, 5, 3))
194 reference_outputs = model.predict(test_inputs)
202 outputs = clone.predict(test_inputs)
/external/tensorflow/tensorflow/compiler/tests/
Dreduce_ops_test.py41 test_inputs, argument
47 for test_input in test_inputs:
176 test_inputs, argument
192 for test_input in test_inputs:
Drandomized_tests.cc870 std::vector<string> expected_inputs, test_inputs; in ExpectTfAndXlaOutputsAreClose() local
884 &node_def, &test_inputs, &test_fetches); in ExpectTfAndXlaOutputsAreClose()
906 std::vector<std::pair<string, Tensor>> test_feeds(test_inputs.size()); in ExpectTfAndXlaOutputsAreClose()
908 CHECK_EQ(input_tensors.size(), test_inputs.size()); in ExpectTfAndXlaOutputsAreClose()
912 test_feeds[i] = {test_inputs[i], input_tensors[i]}; in ExpectTfAndXlaOutputsAreClose()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py581 test_inputs = [
592 model.predict(test_inputs, batch_size=2)
599 model.fit(test_inputs, test_outputs,
601 model.evaluate(test_inputs, test_outputs, batch_size=2)