Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 50) sorted by relevance

12

/tflite-micro-3.4.0-2.7.6/third_party_static/flatbuffers/include/flatbuffers/
Dbase.h289 template<typename T> FLATBUFFERS_CONSTEXPR inline bool IsConstTrue(T t) { in IsConstTrue() argument
290 return !!t; in IsConstTrue()
344 template<typename T> T EndianSwap(T t) { in EndianSwap() argument
366 return t; in EndianSwap()
368 union { T t; uint16_t i; } u = { t }; in EndianSwap() member
370 return u.t; in EndianSwap()
372 union { T t; uint32_t i; } u = { t }; in EndianSwap() member
374 return u.t; in EndianSwap()
376 union { T t; uint64_t i; } u = { t }; in EndianSwap() member
378 return u.t; in EndianSwap()
[all …]
Dutil.h87 template<typename T> size_t IntToDigitCount(T t) { in IntToDigitCount() argument
90 if (t < 0) digit_count++; in IntToDigitCount()
92 if (-1 < t && t < 1) digit_count++; in IntToDigitCount()
95 while (t <= (-1 + eps) || (1 - eps) <= t) { in IntToDigitCount()
96 t /= 10; in IntToDigitCount()
102 template<typename T> size_t NumToStringWidth(T t, int precision = 0) {
103 size_t string_width = IntToDigitCount(t);
110 std::string NumToStringImplWrapper(T t, const char *fmt, int precision = 0) {
111 size_t string_width = NumToStringWidth(t, precision);
114 snprintf(const_cast<char *>(s.data()), (s.size() + 1), fmt, string_width, t);
[all …]
Dflexbuffers.h86 inline bool IsInline(Type t) { return t <= FBT_FLOAT || t == FBT_BOOL; } in IsInline() argument
88 inline bool IsTypedVectorElementType(Type t) { in IsTypedVectorElementType() argument
89 return (t >= FBT_INT && t <= FBT_STRING) || t == FBT_BOOL; in IsTypedVectorElementType()
92 inline bool IsTypedVector(Type t) { in IsTypedVector() argument
93 return (t >= FBT_VECTOR_INT && t <= FBT_VECTOR_STRING_DEPRECATED) || in IsTypedVector()
94 t == FBT_VECTOR_BOOL; in IsTypedVector()
97 inline bool IsFixedTypedVector(Type t) { in IsFixedTypedVector() argument
98 return t >= FBT_VECTOR_INT2 && t <= FBT_VECTOR_FLOAT4; in IsFixedTypedVector()
101 inline Type ToTypedVector(Type t, size_t fixed_len = 0) {
102 FLATBUFFERS_ASSERT(IsTypedVectorElementType(t));
[all …]
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/c/
Dcommon.c85 void TfLiteTensorDataFree(TfLiteTensor* t) { in TfLiteTensorDataFree() argument
86 if (t->allocation_type == kTfLiteDynamic || in TfLiteTensorDataFree()
87 t->allocation_type == kTfLitePersistentRo) { in TfLiteTensorDataFree()
88 free(t->data.raw); in TfLiteTensorDataFree()
90 t->data.raw = NULL; in TfLiteTensorDataFree()
144 void TfLiteTensorFree(TfLiteTensor* t) { in TfLiteTensorFree() argument
145 TfLiteTensorDataFree(t); in TfLiteTensorFree()
146 if (t->dims) TfLiteIntArrayFree(t->dims); in TfLiteTensorFree()
147 t->dims = NULL; in TfLiteTensorFree()
149 if (t->dims_signature) { in TfLiteTensorFree()
[all …]
Dcommon.h599 void TfLiteTensorDataFree(TfLiteTensor* t);
608 void TfLiteTensorFree(TfLiteTensor* t);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/
Dportable_tensor.h45 TfLiteTensor* t = &context.tensors[tensor_list.data[i]]; in VectorOfTensors() local
46 all_data_.push_back(GetTensorData<T>(t)); in VectorOfTensors()
47 all_shape_.push_back(GetTensorShape(t)); in VectorOfTensors()
84 TfLiteTensor* t = &context.tensors[tensor_list.data[i]]; in VectorOfQuantizedTensors() local
85 zero_point_.push_back(t->params.zero_point); in VectorOfQuantizedTensors()
86 scale_.push_back(t->params.scale); in VectorOfQuantizedTensors()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/
Dkernel_util.h147 inline int NumDimensions(const TfLiteTensor* t) { return t->dims->size; } in NumDimensions() argument
148 inline int SizeOfDimension(const TfLiteTensor* t, int dim) { in SizeOfDimension() argument
149 return t->dims->data[dim]; in SizeOfDimension()
169 inline int64_t NumElements(const TfLiteTensor* t) { in NumElements() argument
170 return NumElements(t->dims); in NumElements()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Dconcatenation.cc59 const TfLiteEvalTensor* t = tflite::micro::GetEvalInput(context, node, i); in GetAllInputTensorShapes() local
60 RuntimeShape shape = tflite::micro::GetTensorShape(t); in GetAllInputTensorShapes()
81 const TfLiteEvalTensor* t = tflite::micro::GetEvalInput(context, node, i); in GetAllInputTensorData() local
82 all_data[i] = tflite::micro::GetTensorData<T>(t); in GetAllInputTensorData()
208 const TfLiteTensor* t = GetInput(context, node, i); in Prepare() local
209 TF_LITE_ENSURE(context, t != nullptr); in Prepare()
210 input_scales[i] = t->params.scale; in Prepare()
211 input_zero_points[i] = t->params.zero_point; in Prepare()
Dresize_bilinear_test.cc75 TfLiteTensor t = CreateTensor(expected_size_data, expected_size_dims); in TestResizeBilinear() local
76 t.allocation_type = kTfLiteMmapRo; in TestResizeBilinear()
81 t, in TestResizeBilinear()
Dpack.cc60 const TfLiteEvalTensor* t = tflite::micro::GetEvalInput(context, node, i); in PackImpl() local
61 const T* input_data = tflite::micro::GetTensorData<T>(t); in PackImpl()
Dunpack.cc63 TfLiteEvalTensor* t = tflite::micro::GetEvalOutput(context, node, i); in UnpackImpl() local
64 T* output_data = tflite::micro::GetTensorData<T>(t); in UnpackImpl()
Dsplit.cc58 TfLiteEvalTensor* t = tflite::micro::GetEvalOutput(context, node, i); in SplitImpl() local
59 T* output_data = tflite::micro::GetTensorData<T>(t); in SplitImpl()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/memory_planner/
Dgreedy_memory_planner.cc359 for (int t = 0; t <= max_time; ++t) { in PrintMemoryPlan() local
366 if ((t < requirements->first_time_used) || in PrintMemoryPlan()
367 (t > requirements->last_time_used)) { in PrintMemoryPlan()
388 MicroPrintf("%s%d: %s (%dk)", t < 10 ? " " : "", t, (const char*)line, in PrintMemoryPlan()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/micro_speech/CMSIS/
Dcreate_constants.py71 t = np.arange(16000. * 0.03) / 16000. variable
74 t) # Factor of 10 because micro preprocessing overflows otherwise
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/targets/
Darc_emsdp_makefile.inc43 \n\t\@$(DLR)\(CP\) $(DLR)\(OUT_NAME\) $(DLR)\(BIN_FILE\)\
46 \n\t\@$(DLR)\(MKDIR\) $(DLR)\(BIN_DIR\)\
51 …ARC_BIN_RULE = \t@echo Copy content of $(DLR)\(BIN_DIR\) into the root of SD card and follow instr…
Decm3531_makefile.inc70 -nostdlib --specs=nano.specs -t -lstdc++ -lc -lnosys -lm \
100 # The linker script isn't a header, but it needs to get copied to the gen/
107 # These are tests that don't currently work on the blue pill.
Dapollo3evb_makefile.inc79 -nostdlib --specs=nano.specs -t -lstdc++ -lc -lnosys -lm \
143 # These are tests that don't currently work on the Apollo3 board.
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/person_detection/
Dtraining_a_model.md16 the person detector model was being created it didn't yet support all the
66 classifiers doesn't include labels for people, but luckily the
83 images aren't labeled with the "contains a person", "doesn't contain a person"
87 look for images with bounding boxes for people. To make sure that they aren't
103 Don't be surprised if this takes up to twenty minutes to complete. When it's
171 but we can't give much guidance for how to make those changes, and it's easy
190 Don't worry about the line duplication, this is just a side-effect of the way
227 overall trend is downwards over time. If you don't see this sort of progression
228 after a few hours of training, it's a good sign that your model isn't
235 including any distortions and other preprocessing. This information isn't as
[all …]
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/templates/
Dtasks.json.mbed.tpl32 "command": "mbed compile -m auto -t GCC_ARM",
DREADME_MBED.md.tpl29 mbed compile -m auto -t GCC_ARM
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/micro_speech/train/
DREADME.md107 This doesn't produce a highly accurate model, but it's designed to be used as
122 downloaded you won't need to do this again.
131 The model doesn't take in raw audio sample data, instead it works with
175 *Note: Google Cloud isn't free. You need to pay depending on how long you use
203 4. Finally, don't forget to remove the instance when training is done:
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/ext_libs/
Dstm32_bare_lib.patch10 -// Avoids the use of any floating point instructions (since these aren't
27 -// Avoids the use of any floating point instructions (since these aren't
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/vexriscv/
DREADME.md30 `TAGS=vexriscv` to the make command. The kernels that doesn't have optimization
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/targets/arc/
Darc_common.inc42 ARC_BIN_RULE ?= \t$(DLR)\(error Flash rule isnt defined for this ARC target\)
98 # the configuration bundled with MWDT (usually without .tcf extension) and that doesn't require cop…
/tflite-micro-3.4.0-2.7.6/ci/
DDockerfile.micro7 # docker build -f ci/Dockerfile.micro -t ghcr.io/tflm-bot/tflm-ci:latest .

12