Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 95) sorted by relevance

1234

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Dquantize_test.cc126 const int length = 10; in TF_LITE_MICRO_TEST() local
132 int16_t output[length]; in TF_LITE_MICRO_TEST()
133 int16_t values_quantized[length]; in TF_LITE_MICRO_TEST()
139 const int length = 10; in TF_LITE_MICRO_TEST() local
145 int16_t output[length]; in TF_LITE_MICRO_TEST()
146 int16_t values_quantized[length]; in TF_LITE_MICRO_TEST()
152 const int length = 10; in TF_LITE_MICRO_TEST() local
159 int16_t output_quantized[length]; in TF_LITE_MICRO_TEST()
160 int16_t values_quantized[length]; in TF_LITE_MICRO_TEST()
161 int16_t input_quantized[length]; in TF_LITE_MICRO_TEST()
[all …]
Ddequantize_test.cc104 const int length = 10; in TF_LITE_MICRO_TEST() local
110 uint8_t input_quantized[length]; in TF_LITE_MICRO_TEST()
111 float output[length]; in TF_LITE_MICRO_TEST()
117 const int length = 10; in TF_LITE_MICRO_TEST() local
123 int8_t input_quantized[length]; in TF_LITE_MICRO_TEST()
124 float output[length]; in TF_LITE_MICRO_TEST()
130 const int length = 10; in TF_LITE_MICRO_TEST() local
136 int16_t input_quantized[length]; in TF_LITE_MICRO_TEST()
137 float output[length]; in TF_LITE_MICRO_TEST()
Dcircular_buffer.cc76 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init() argument
81 if (buffer != nullptr && length > 0) { in Init()
83 tflite::FlexbufferWrapper wrapper(buffer_t, length); in Init()
Dquantize.cc28 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init() argument
Dsoftmax.h24 void* SoftmaxInit(TfLiteContext* context, const char* buffer, size_t length);
Dactivations.cc32 void* ReluInit(TfLiteContext* context, const char* buffer, size_t length) { in ReluInit() argument
70 void* Relu6Init(TfLiteContext* context, const char* buffer, size_t length) { in Relu6Init() argument
Dkernel_runner.h42 size_t length = 0);
Dhard_swish.cc33 void* HardSwishInit(TfLiteContext* context, const char* buffer, size_t length) { in HardSwishInit() argument
Dkernel_runner.cc63 size_t length) { in InitAndPrepare() argument
65 node_.user_data = registration_.init(&context_, init_data, length); in InitAndPrepare()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/
Dmicro_utils_test.cc90 constexpr int length = sizeof(values) / sizeof(float); in TF_LITE_MICRO_TEST() local
91 int8_t quantized[length]; in TF_LITE_MICRO_TEST()
92 tflite::Quantize(values, quantized, length, 0.5, 1); in TF_LITE_MICRO_TEST()
93 for (int i = 0; i < length; i++) { in TF_LITE_MICRO_TEST()
101 constexpr int length = sizeof(values) / sizeof(float); in TF_LITE_MICRO_TEST() local
102 uint8_t quantized[length]; in TF_LITE_MICRO_TEST()
103 tflite::Quantize(values, quantized, length, 0.5, 127); in TF_LITE_MICRO_TEST()
104 for (int i = 0; i < length; i++) { in TF_LITE_MICRO_TEST()
112 constexpr int length = sizeof(values) / sizeof(float); in TF_LITE_MICRO_TEST() local
113 int32_t quantized[length]; in TF_LITE_MICRO_TEST()
[all …]
Dmicro_interpreter.cc289 const size_t length = inputs_size(); in input() local
290 if (index >= length) { in input()
293 length); in input()
300 const size_t length = outputs_size(); in output() local
301 if (index >= length) { in output()
304 length); in output()
Dtest_helpers.h60 static void* Init(TfLiteContext* context, const char* buffer, size_t length);
69 static void* Init(TfLiteContext* context, const char* buffer, size_t length);
83 static void* Init(TfLiteContext* context, const char* buffer, size_t length);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_load.py60 length = len(label)
61 print(data_type + "_data_length:" + str(length))
62 return data, label, length
79 def format_support_func(self, padded_num, length, data, label): argument
82 length *= padded_num
83 features = np.zeros((length, self.seq_length, self.dim))
84 labels = np.zeros(length)
94 return length, dataset
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/himax_we1_evb/
Daccelerometer_handler.cc46 int length) { in ReadAccelerometer() argument
80 for (int i = 0; i < length; ++i) { in ReadAccelerometer()
81 int ring_array_index = begin_index + i - length; in ReadAccelerometer()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/arduino/
Daccelerometer_handler.cc63 int length) { in ReadAccelerometer() argument
130 for (int i = 0; i < length; ++i) { in ReadAccelerometer()
131 int ring_array_index = begin_index + i - length; in ReadAccelerometer()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/
Daccelerometer_handler.cc25 int length) { in ReadAccelerometer() argument
33 for (int i = 0; i < length; ++i) input[i] = 0; in ReadAccelerometer()
Daccelerometer_handler.h27 float* input, int length);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/person_detection/himax_driver/
DHM01B0_debug.c26 void hm01b0_framebuffer_dump(uint8_t* frame, uint32_t length) { in hm01b0_framebuffer_dump() argument
29 for (uint32_t i = 0; i < length; i++) { in hm01b0_framebuffer_dump()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/zephyr_riscv/src/
Daccelerometer_handler.cc49 int length) { in ReadAccelerometer() argument
87 for (int i = 0; i < (length - 3); i += 3) { in ReadAccelerometer()
88 int ring_index = begin_index + sample - length / 3; in ReadAccelerometer()
Daccelerometer_handler.h27 float* input, int length, bool reset_buffer);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/sparkfun_edge/
Daccelerometer_handler.cc157 int length) { in ReadAccelerometer() argument
210 for (int i = 0; i < length; ++i) { in ReadAccelerometer()
211 int ring_array_index = begin_index + i - length; in ReadAccelerometer()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/xtensa/
Dxtensa_softmax.h37 size_t length);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/targets/ecm3531/
Decm3531_flash.lds29 * FLASH is at 0x01000000 of length 0x00080000 512KB
30 * SRAM is at 0x10000000 of length 0x00020000 128KB
/tflite-micro-3.4.0-2.7.6/third_party/hexagon/
Dhexagon_tflm_translation_fully_connected.h62 void* HexagonInit(TfLiteContext* context, const char* buffer, size_t length);
Dhexagon_tflm_translation_svdf.h62 void* HexagonInit(TfLiteContext* context, const char* buffer, size_t length);

1234