diff --git a/tensorflow/lite/micro/examples/hello_world/train/train_hello_world_model.py b/tensorflow/lite/micro/examples/hello_world/train/train_hello_world_model.py index 4876c0601fb0a0701a354788c8f1f08e9581e4df..83d42f4e6d7d12abeac900a3f9cfcf3f1df62f35 100755 --- a/tensorflow/lite/micro/examples/hello_world/train/train_hello_world_model.py +++ b/tensorflow/lite/micro/examples/hello_world/train/train_hello_world_model.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation.py b/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation.py index 8ef08876faef7d9a6fec9234acd710ef9ea9068f..9c90be97f3b6e200a6164e5d18771f2a925d863b 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation_test.py b/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation_test.py index 3ac110f0f03f8fe3183d91971af99ff8dc89028f..a439603a706f8cf6e2d8ed88ccddb2b11881fc89 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_augmentation_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_load.py b/tensorflow/lite/micro/examples/magic_wand/train/data_load.py index 342257c2bdb440242eea1bfd8531664dc6b6570a..0416ae314cb1098d50c352ea94eff78e05222348 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_load.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_load.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_load_test.py b/tensorflow/lite/micro/examples/magic_wand/train/data_load_test.py index 5b412836d09f69366642135eaca103b79c910a24..c0b9cf81657d4f383a235b389db662e2fccb86f3 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_load_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_load_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_prepare.py b/tensorflow/lite/micro/examples/magic_wand/train/data_prepare.py index 3759e5dceb96a6a749def81a2be6102f26b03f99..c94ac65b96abf993cbe397531352d8e48e268610 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_prepare.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_prepare.py @@ -1,4 +1,3 @@ -# Lint as: python3 # coding=utf-8 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_prepare_test.py b/tensorflow/lite/micro/examples/magic_wand/train/data_prepare_test.py index 224a47b71d4adcff5e1ef7bebb608f8d14c79d1a..638082a1ebf9e3d413cbfa463decf4aba67454fa 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_prepare_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_prepare_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_split.py b/tensorflow/lite/micro/examples/magic_wand/train/data_split.py index 3bf47472d5c9f3e3fa8aa98c2c1543f7ae124ac7..fb9a74c6415d912c500b65c7ecbd0d3265f73755 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_split.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_split.py @@ -1,4 +1,3 @@ -# Lint as: python3 # coding=utf-8 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_split_person.py b/tensorflow/lite/micro/examples/magic_wand/train/data_split_person.py index 3a09e95bc52eeb51ef83e551695b150d6d6d40c2..75ac5c530824000230effc646cc888735a976ec8 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_split_person.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_split_person.py @@ -1,4 +1,3 @@ -# Lint as: python3 # coding=utf-8 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_split_person_test.py b/tensorflow/lite/micro/examples/magic_wand/train/data_split_person_test.py index f479350350f392263b05c5aa808bbdce78c058e9..b4e0e004c1e7cedf2dbdcb498519d1f006d704fa 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_split_person_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_split_person_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/data_split_test.py b/tensorflow/lite/micro/examples/magic_wand/train/data_split_test.py index d6223d33d4292e5600d79606a1a3a91746df0908..692dac3edb44be7863798e749604715710199f1c 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/data_split_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/data_split_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/train.py b/tensorflow/lite/micro/examples/magic_wand/train/train.py index 98a96542de91f9611a4d468fe6a6015fd3efa703..1f496fdc77d2c7272bb44267df74325ebb233e6a 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/train.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/train.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/examples/magic_wand/train/train_test.py b/tensorflow/lite/micro/examples/magic_wand/train/train_test.py index 7dc8f3df715b0f69178fb77f61bdcf95735110d1..a49857701744b37f687e59c34bbd34a6c3c9603c 100644 --- a/tensorflow/lite/micro/examples/magic_wand/train/train_test.py +++ b/tensorflow/lite/micro/examples/magic_wand/train/train_test.py @@ -1,4 +1,3 @@ -# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/kernels/arc_mli/add.cc b/tensorflow/lite/micro/kernels/arc_mli/add.cc index dcb54a643eb5d0d904cb6355ced8e0049e052d4d..fc84cc646af50603b6bf23c6080f3cc1f9017bb0 100644 --- a/tensorflow/lite/micro/kernels/arc_mli/add.cc +++ b/tensorflow/lite/micro/kernels/arc_mli/add.cc @@ -161,7 +161,7 @@ TfLiteStatus CalculateOpData(TfLiteContext* context, TfLiteAddParams* params, CalculateActivationRange(params->activation, &data->output_activation_min_f32, &data->output_activation_max_f32); -#endif //#if !defined(TF_LITE_STRIP_REFERENCE_IMPL) +#endif // !defined(TF_LITE_STRIP_REFERENCE_IMPL) } return kTfLiteOk; diff --git a/tensorflow/lite/micro/kernels/ceva/fully_connected.cc b/tensorflow/lite/micro/kernels/ceva/fully_connected.cc index 58a77d26719ceb817bc6b8d72a12598d18c7ba19..9403ae1093e43cddc3bf30c8aba59344b389a68f 100644 --- a/tensorflow/lite/micro/kernels/ceva/fully_connected.cc +++ b/tensorflow/lite/micro/kernels/ceva/fully_connected.cc @@ -25,7 +25,7 @@ limitations under the License. #include "tensorflow/lite/kernels/kernel_util.h" #include "tensorflow/lite/micro/kernels/ceva/ceva_tflm_lib.h" #include "tensorflow/lite/micro/kernels/kernel_util.h" -//#define MCPS_MEASUREMENT +// #define MCPS_MEASUREMENT #ifdef MCPS_MEASUREMENT #include "tensorflow/lite/micro/kernels/ceva/mcps_macros.h" #endif diff --git a/tensorflow/lite/micro/kernels/cmsis_nn/pooling.cc b/tensorflow/lite/micro/kernels/cmsis_nn/pooling.cc index 3ce2d044593ebd05083327611be2bb119673757a..a525ec33cea624ab66ee0523b2c9efea7c3180e3 100644 --- a/tensorflow/lite/micro/kernels/cmsis_nn/pooling.cc +++ b/tensorflow/lite/micro/kernels/cmsis_nn/pooling.cc @@ -15,7 +15,6 @@ limitations under the License. #include "tensorflow/lite/kernels/internal/reference/pooling.h" #include "CMSIS/NN/Include/arm_nnfunctions.h" -//#include "flatbuffers/base.h" #include "tensorflow/lite/c/builtin_op_data.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" diff --git a/tensorflow/lite/micro/tools/generate_cc_arrays.py b/tensorflow/lite/micro/tools/generate_cc_arrays.py index c0fb070bfd37069b7bce477afb83f7de4afbd097..8c9e5966a29b8d4827e63e10fcfc98691eac0a8c 100644 --- a/tensorflow/lite/micro/tools/generate_cc_arrays.py +++ b/tensorflow/lite/micro/tools/generate_cc_arrays.py @@ -1,4 +1,3 @@ -# Lint as: python2, python3 # Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tensorflow/lite/micro/tools/make/generate_keil_project.py b/tensorflow/lite/micro/tools/make/generate_keil_project.py index 9f23fdb880d3f0065c2a7ddf65fe4b96c3726f62..129ba799c231e4c12ae2d1f5690a0e388c9ae146 100644 --- a/tensorflow/lite/micro/tools/make/generate_keil_project.py +++ b/tensorflow/lite/micro/tools/make/generate_keil_project.py @@ -1,4 +1,3 @@ -# Lint as: python2, python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License");