/external/tensorflow/tensorflow/lite/delegates/ |
D | delegate_test.cc | 94 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 95 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 117 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 118 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 124 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 125 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 166 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 167 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 194 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 195 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() [all …]
|
D | interpreter_utils_test.cc | 51 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 52 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 91 memcpy(interpreter_->typed_tensor<float>(0), input.data(), 3 * sizeof(float)); in TEST_F() 92 memcpy(interpreter_->typed_tensor<float>(1), input.data(), 3 * sizeof(float)); in TEST_F() 117 memcpy(interpreter_->typed_tensor<float>(input_tensor_idx), input.data(), in TEST_P()
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | bitmap_helpers_impl.h | 71 auto input = interpreter->typed_tensor<float>(0); in resize() 77 interpreter->typed_tensor<int>(1)[0] = wanted_height; in resize() 78 interpreter->typed_tensor<int>(1)[1] = wanted_width; in resize() 82 auto output = interpreter->typed_tensor<float>(2); in resize()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | softmax_tester.cc | 75 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 80 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 88 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 90 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | leaky_relu_tester.cc | 75 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 80 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 88 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 90 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | reshape_tester.cc | 77 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 82 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 90 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 92 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | depth_to_space_tester.cc | 75 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 82 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 92 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 94 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | unary_elementwise_tester.cc | 83 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 88 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 96 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 98 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | reduce_tester.cc | 76 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 81 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 89 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 91 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | resize_bilinear_tester.cc | 75 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 82 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 92 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 94 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | pad_tester.cc | 94 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 100 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 108 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 110 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | pool_2d_tester.cc | 75 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 98 float* xnnpack_input_data = delegate_interpreter->typed_tensor<float>( in Test() 108 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 110 float* xnnpack_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | prelu_tester.cc | 76 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 82 float* xnnpack_input_data = delegate_interpreter->typed_tensor<float>( in Test() 90 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 92 float* xnnpack_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | binary_elementwise_tester.cc | 128 float* default_input1_data = default_interpreter->typed_tensor<float>( in Test() 134 float* xnnpack_input1_data = delegate_interpreter->typed_tensor<float>( in Test() 142 float* default_input2_data = default_interpreter->typed_tensor<float>( in Test() 148 float* xnnpack_input2_data = delegate_interpreter->typed_tensor<float>( in Test() 158 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 160 float* xnnpack_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | fully_connected_tester.cc | 90 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 95 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 103 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 105 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | conv_2d_tester.cc | 74 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 81 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 91 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 93 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
D | depthwise_conv_2d_tester.cc | 74 float* default_input_data = default_interpreter->typed_tensor<float>( in Test() 81 float* delegate_input_data = delegate_interpreter->typed_tensor<float>( in Test() 91 float* default_output_data = default_interpreter->typed_tensor<float>( in Test() 93 float* delegate_output_data = delegate_interpreter->typed_tensor<float>( in Test()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | parse_testdata.cc | 164 if (float* data = interpreter->typed_tensor<float>(input_index)) { in FeedExample() 169 interpreter->typed_tensor<int32_t>(input_index)) { in FeedExample() 174 interpreter->typed_tensor<int64_t>(input_index)) { in FeedExample() 197 if (const float* data = interpreter->typed_tensor<float>(output_index)) { in CheckOutputs() 215 interpreter->typed_tensor<int32_t>(output_index)) { in CheckOutputs() 226 interpreter->typed_tensor<int64_t>(output_index)) { in CheckOutputs()
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | parse_testdata.cc | 167 if (float* data = interpreter->typed_tensor<float>(input_index)) { in FeedExample() 172 interpreter->typed_tensor<int32_t>(input_index)) { in FeedExample() 177 interpreter->typed_tensor<int64_t>(input_index)) { in FeedExample() 200 if (const float* data = interpreter->typed_tensor<float>(output_index)) { in CheckOutputs() 218 interpreter->typed_tensor<int32_t>(output_index)) { in CheckOutputs() 229 interpreter->typed_tensor<int64_t>(output_index)) { in CheckOutputs()
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter_test.cc | 385 ASSERT_NE(interpreter.typed_tensor<float>(0), nullptr); in TEST() 387 ASSERT_EQ(interpreter.typed_tensor<int>(0), nullptr); in TEST() 389 ASSERT_EQ(interpreter.typed_tensor<float>(0), interpreter.tensor(0)->data.f); in TEST() 1026 interpreter.typed_tensor<int>(1)[0] = 2; in TEST() 1027 interpreter.typed_tensor<int>(1)[1] = 2; in TEST() 1028 interpreter.typed_tensor<int>(1)[2] = 2; in TEST() 1029 interpreter.typed_tensor<int>(1)[3] = 2; in TEST() 1030 interpreter.typed_tensor<int>(1)[4] = 0; in TEST() 1031 interpreter.typed_tensor<int>(1)[5] = 0; in TEST() 1032 interpreter.typed_tensor<int>(1)[6] = 0; in TEST() [all …]
|
D | interpreter.h | 269 T* typed_tensor(int tensor_index) { in typed_tensor() function 281 const T* typed_tensor(int tensor_index) const { in typed_tensor() function 368 return typed_tensor<T>(inputs()[index]); in typed_input_tensor() 375 return typed_tensor<T>(inputs()[index]); in typed_input_tensor() 392 return typed_tensor<T>(outputs()[index]); in typed_output_tensor() 399 return typed_tensor<T>(outputs()[index]); in typed_output_tensor()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | test_util.h | 52 memcpy(interpreter_->typed_tensor<T>(tensor_index), values.data(), in SetTypedValues() 60 const T* tdata = interpreter_->typed_tensor<T>(tensor_index); in GetTypedValues()
|
/external/XNNPACK/bench/ |
D | elu.cc | 179 interpreter->typed_tensor<float>(0), in tflite_elu_f32() 180 interpreter->typed_tensor<float>(0) + batch_size * channels, in tflite_elu_f32()
|
D | bankers-rounding.cc | 179 interpreter->typed_tensor<float>(0), in tflite_bankers_rounding_f32() 180 interpreter->typed_tensor<float>(0) + batch_size * channels, in tflite_bankers_rounding_f32()
|
D | floor.cc | 179 interpreter->typed_tensor<float>(0), in tflite_floor_f32() 180 interpreter->typed_tensor<float>(0) + batch_size * channels, in tflite_floor_f32()
|