mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Ensure diffs have modification note in accordance with Apache license
This commit is contained in:
parent
02eeb567b1
commit
a845563000
70
libs/tensorflow/patches/01-public-delete.diff
Normal file
70
libs/tensorflow/patches/01-public-delete.diff
Normal file
@ -0,0 +1,70 @@
|
||||
diff -uN -r tensorflow/lite/experimental/micro/tools/make/gen/make_x86_64/prj/hello_world/make/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h /home/gw/workspace/Espruino/libs/tensorflow/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h
|
||||
--- a/libs/tensorflow/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h 2019-09-11 15:49:01.989141904 +0100
|
||||
+++ b/libs/tensorflow/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h 2019-09-11 15:46:24.455056488 +0100
|
||||
@@ -9,6 +9,7 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
+// Minor modifications made for Espruino Microcontroller build by Gordon Williams <gw@pur3.co.uk>
|
||||
#ifndef TENSORFLOW_LITE_EXPERIMENTAL_MICRO_KERNELS_ALL_OPS_RESOLVER_H_
|
||||
#define TENSORFLOW_LITE_EXPERIMENTAL_MICRO_KERNELS_ALL_OPS_RESOLVER_H_
|
||||
|
||||
@@ -22,9 +23,8 @@
|
||||
class AllOpsResolver : public MicroMutableOpResolver {
|
||||
public:
|
||||
AllOpsResolver();
|
||||
-
|
||||
- private:
|
||||
TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
+
|
||||
};
|
||||
|
||||
} // namespace micro
|
||||
diff -uN -r tensorflow/lite/experimental/micro/tools/make/gen/make_x86_64/prj/hello_world/make/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h /home/gw/workspace/Espruino/libs/tensorflow/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h
|
||||
--- a/libs/tensorflow/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h 2019-09-11 15:49:01.997142011 +0100
|
||||
+++ b/libs/tensorflow/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h 2019-09-11 15:46:28.087104556 +0100
|
||||
@@ -12,11 +12,12 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
-
|
||||
+// Minor modifications made for Espruino Microcontroller build by Gordon Williams <gw@pur3.co.uk>
|
||||
#ifndef TENSORFLOW_LITE_EXPERIMENTAL_MICRO_MEMORY_PLANNER_GREEDY_MEMORY_PLANNER_H_
|
||||
#define TENSORFLOW_LITE_EXPERIMENTAL_MICRO_MEMORY_PLANNER_GREEDY_MEMORY_PLANNER_H_
|
||||
|
||||
#include "tensorflow/lite/experimental/micro/memory_planner/memory_planner.h"
|
||||
+#include "tensorflow/lite/experimental/micro/compatibility.h"
|
||||
|
||||
namespace tflite {
|
||||
|
||||
@@ -125,6 +126,8 @@
|
||||
|
||||
// Whether buffers have been added since the last plan was calculated.
|
||||
bool need_to_calculate_offsets_;
|
||||
+
|
||||
+ TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
};
|
||||
|
||||
} // namespace tflite
|
||||
|
||||
diff -uN -r tensorflow/lite/experimental/micro/tools/make/gen/make_x86_64/prj/hello_world/make/tensorflow/lite/experimental/micro/micro_error_reporter.h /home/gw/workspace/Espruino/libs/tensorflow/tensorflow/lite/experimental/micro/micro_error_reporter.h
|
||||
--- a/libs/tensorflow/tensorflow/lite/experimental/micro/micro_error_reporter.h 2019-09-11 15:49:01.969141639 +0100
|
||||
+++ b/libs/tensorflow/tensorflow/lite/experimental/micro/micro_error_reporter.h 2019-09-11 15:46:25.167065911 +0100
|
||||
@@ -12,6 +12,7 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
+// Minor modifications made for Espruino Microcontroller build by Gordon Williams <gw@pur3.co.uk>
|
||||
#ifndef TENSORFLOW_LITE_EXPERIMENTAL_MICRO_MICRO_ERROR_REPORTER_H_
|
||||
#define TENSORFLOW_LITE_EXPERIMENTAL_MICRO_MICRO_ERROR_REPORTER_H_
|
||||
|
||||
@@ -26,8 +27,6 @@
|
||||
public:
|
||||
~MicroErrorReporter() {}
|
||||
int Report(const char* format, va_list args) override;
|
||||
-
|
||||
- private:
|
||||
TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
};
|
||||
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
--- a/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h 2019-09-11 09:14:45.509106591 +0100
|
||||
+++ b/tensorflow/lite/experimental/micro/memory_planner/greedy_memory_planner.h 2019-09-11 09:13:54.204422772 +0100
|
||||
@@ -17,6 +17,7 @@
|
||||
#define TENSORFLOW_LITE_EXPERIMENTAL_MICRO_MEMORY_PLANNER_GREEDY_MEMORY_PLANNER_H_
|
||||
|
||||
#include "tensorflow/lite/experimental/micro/memory_planner/memory_planner.h"
|
||||
+#include "tensorflow/lite/experimental/micro/compatibility.h"
|
||||
|
||||
namespace tflite {
|
||||
|
||||
@@ -125,6 +126,8 @@
|
||||
|
||||
// Whether buffers have been added since the last plan was calculated.
|
||||
bool need_to_calculate_offsets_;
|
||||
+
|
||||
+ TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
};
|
||||
|
||||
} // namespace tflite
|
||||
@ -1,25 +0,0 @@
|
||||
--- a/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h 2019-09-11 08:48:03.171950502 +0100
|
||||
+++ b/tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h 2019-09-11 10:47:28.818528375 +0100
|
||||
@@ -22,9 +22,8 @@
|
||||
class AllOpsResolver : public MicroMutableOpResolver {
|
||||
public:
|
||||
AllOpsResolver();
|
||||
-
|
||||
- private:
|
||||
TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
+
|
||||
};
|
||||
|
||||
} // namespace micro
|
||||
--- a/tensorflow/lite/experimental/micro/micro_error_reporter.h 2019-09-11 08:48:03.155950292 +0100
|
||||
+++ b/tensorflow/lite/experimental/micro/micro_error_reporter.h 2019-09-11 10:47:45.290747773 +0100
|
||||
@@ -26,8 +26,6 @@
|
||||
public:
|
||||
~MicroErrorReporter() {}
|
||||
int Report(const char* format, va_list args) override;
|
||||
-
|
||||
- private:
|
||||
TF_LITE_REMOVE_VIRTUAL_DELETE
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user