From 24d39461b499dc40e3262602efe110746720a4fb Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Thu, 8 Sep 2022 10:39:46 +0200 Subject: [PATCH] chore: upgrade go-tflite dependency --- go.mod | 2 +- go.sum | 5 ++--- vendor/github.com/mattn/go-tflite/README.md | 2 +- vendor/github.com/mattn/go-tflite/tflite_experimental.go | 1 - vendor/modules.txt | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index d6587ca..ab12e7b 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/cyrilix/robocar-protobuf/go v1.0.5 github.com/disintegration/imaging v1.6.2 github.com/eclipse/paho.mqtt.golang v1.4.1 - github.com/mattn/go-tflite v1.0.2 + github.com/mattn/go-tflite v1.0.4 go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.30.0 go.opentelemetry.io/otel/metric v0.30.0 go.opentelemetry.io/otel/sdk/metric v0.30.0 diff --git a/go.sum b/go.sum index ed762a9..1d0f67d 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,6 @@ github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cyrilix/robocar-base v0.1.7 h1:EVzZ0KjigSFpke5f3A/PybEH3WFUEIrYSc3z/dhOZ48= github.com/cyrilix/robocar-base v0.1.7/go.mod h1:4E11HQSNy2NT8e7MW188y6ST9C0RzarKyn7sK/3V/Lk= github.com/cyrilix/robocar-protobuf/go v1.0.5 h1:PX1At+pf6G7gJwT4LzJLQu3/LPFTTNNlZmZSYtnSELY= @@ -31,8 +30,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/mattn/go-pointer v0.0.1 h1:n+XhsuGeVO6MEAp7xyEukFINEa+Quek5psIR/ylA6o0= github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc= -github.com/mattn/go-tflite v1.0.2 h1:P9CKqjyRSRM31SfL65WklD8U5B/iPD4CJQiRkB8K02g= -github.com/mattn/go-tflite v1.0.2/go.mod h1:2NwhEYXoP8vxRIpu95DElqMkZoV39ABRPF3AETN7N1w= +github.com/mattn/go-tflite v1.0.4 h1:wpfNKjMr3IJz4xI+oUeHE70RU6Q5dZc0FK/X8vCWLAo= +github.com/mattn/go-tflite v1.0.4/go.mod h1:j7bVlVHgKURK0p7AQOw3OqlGE2SVXqck7JsJo4wI+bc= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/vendor/github.com/mattn/go-tflite/README.md b/vendor/github.com/mattn/go-tflite/README.md index 71bc744..ee0e225 100644 --- a/vendor/github.com/mattn/go-tflite/README.md +++ b/vendor/github.com/mattn/go-tflite/README.md @@ -92,5 +92,5 @@ rm -Rf edgetpu MIT ## Author -Yasuhrio Matsumoto (a.k.a. mattn) +Yasuhiro Matsumoto (a.k.a. mattn) diff --git a/vendor/github.com/mattn/go-tflite/tflite_experimental.go b/vendor/github.com/mattn/go-tflite/tflite_experimental.go index efc0e84..425eb95 100644 --- a/vendor/github.com/mattn/go-tflite/tflite_experimental.go +++ b/vendor/github.com/mattn/go-tflite/tflite_experimental.go @@ -32,7 +32,6 @@ _make_registration(void* o_init, void* o_free, void* o_prepare, void* o_invoke, } static void look_context(TfLiteContext *context) { - context->tensors; TfLiteIntArray *plan = NULL; context->GetExecutionPlan(context, &plan); if (plan == NULL) return; diff --git a/vendor/modules.txt b/vendor/modules.txt index 5c0dbb4..77057fd 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -28,7 +28,7 @@ github.com/gorilla/websocket # github.com/mattn/go-pointer v0.0.1 ## explicit github.com/mattn/go-pointer -# github.com/mattn/go-tflite v1.0.2 +# github.com/mattn/go-tflite v1.0.4 ## explicit; go 1.13 github.com/mattn/go-tflite github.com/mattn/go-tflite/delegates