All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk
@ 2019-12-12 22:40 Hongmei Gou
  2019-12-12 22:40 ` [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models Hongmei Gou
  2019-12-17 11:31 ` [EXTERNAL] [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Stiffler, Jacob
  0 siblings, 2 replies; 4+ messages in thread
From: Hongmei Gou @ 2019-12-12 22:40 UTC (permalink / raw)
  To: meta-arago; +Cc: Hongmei Gou

* This is required to build tidl-import-tool to support
  tensorflow-lite models (floating point only for now)

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 .../recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
index 9d07b11b..b238c85e 100644
--- a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
+++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
@@ -41,7 +41,7 @@ SRC_URI[mobilenet_v1_quant.sha256sum] = "d32432d28673a936b2d6281ab0600c71cf7226d
 
 SRCREV = "590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b"
 
-PR = "r2"
+PR = "r3"
 
 S = "${WORKDIR}/git"
 
@@ -138,3 +138,5 @@ PACKAGES += "${PN}-examples"
 FILES_${PN}-examples = "${datadir}/${PN}-${PV}/examples"
 
 ALLOW_EMPTY_${PN} = "1"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models
  2019-12-12 22:40 [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Hongmei Gou
@ 2019-12-12 22:40 ` Hongmei Gou
  2019-12-17 11:31   ` [EXTERNAL] " Stiffler, Jacob
  2019-12-17 11:31 ` [EXTERNAL] [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Stiffler, Jacob
  1 sibling, 1 reply; 4+ messages in thread
From: Hongmei Gou @ 2019-12-12 22:40 UTC (permalink / raw)
  To: meta-arago; +Cc: Hongmei Gou

* The newer version also has the following changes:
  1. Bug fixes for ResNet-18 model
  2. Conv2d kernel types are automatically set when models are imported,
     and do not need to be explicitly configured.

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 .../recipes-ti/tidl-utils/tidl-import_git.bb         | 12 +++++++++---
 .../recipes-ti/tidl-utils/tidl-utils.inc             |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb b/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
index ad1dad13..72ef8773 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://modules/ti_dl/inc/itidl_ti.h;beginline=1;endline=34;m
 
 S = "${WORKDIR}/git/src/importTool/"
 
-DEPENDS = "protobuf zlib protobuf-native"
+DEPENDS = "protobuf zlib protobuf-native flatbuffers tensorflow-lite flatbuffers-native tensorflow-lite-native"
 
 EXTRA_OEMAKE += "TIARM_TOOLS=${GCC_ARM_NONE_TOOLCHAIN}"
 EXTRA_OEMAKE += "XDAIS_PATH=${XDAIS_INSTALL_DIR}"
@@ -18,8 +18,14 @@ EXTRA_OEMAKE += "CORE=eve"
 EXTRA_OEMAKE += "TARGET_BUILD=release"
 EXTRA_OEMAKE += "TARGET_PLATFORM=PC"
 
-EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include"
-EXTRA_MAKE_ARGS_class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} LINUXENV=oearm"
+EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT \
+                   PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include \
+                   FLATBUFFERS_INC_DIR=${STAGING_DIR_NATIVE}$/usr/include/flatbuffers \
+                   TF_LITE_GENERATED_PATH=${STAGING_DIR_NATIVE}/usr/include/tensorflow/lite/schema"
+EXTRA_MAKE_ARGS_class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} \
+                                PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} \
+                                FLATBUFFERS_INC_DIR=${STAGING_INCDIR}/flatbuffers \
+                                TF_LITE_GENERATED_PATH=${STAGING_INCDIR}/tensorflow/lite/schema LINUXENV=oearm"
 
 EXTRA_OEMAKE += "${EXTRA_MAKE_ARGS}"
 
diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
index 1fd3063f..61bb50e6 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
@@ -1,4 +1,4 @@
 SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
-SRCREV = "c88b229e70db220ddbf394f3e77c3d5930a0e35a"
-PV = "01.01.02.00"
-PR = "r2"
+SRCREV = "99ff282fbc440a68170736e7b5de2ff5a2984386"
+PV = "01.01.03.00"
+PR = "r0"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [EXTERNAL] [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk
  2019-12-12 22:40 [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Hongmei Gou
  2019-12-12 22:40 ` [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models Hongmei Gou
@ 2019-12-17 11:31 ` Stiffler, Jacob
  1 sibling, 0 replies; 4+ messages in thread
From: Stiffler, Jacob @ 2019-12-17 11:31 UTC (permalink / raw)
  To: Gou, Hongmei, meta-arago

Denys,

Please backport to ti2019.05.

Thank you,
Jake

-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Gou, Hongmei
Sent: Thursday, December 12, 2019 5:40 PM
To: meta-arago@arago-project.org
Cc: Gou, Hongmei
Subject: [EXTERNAL] [meta-arago] [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk

* This is required to build tidl-import-tool to support
  tensorflow-lite models (floating point only for now)

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 .../recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
index 9d07b11b..b238c85e 100644
--- a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
+++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
@@ -41,7 +41,7 @@ SRC_URI[mobilenet_v1_quant.sha256sum] = "d32432d28673a936b2d6281ab0600c71cf7226d
 
 SRCREV = "590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b"
 
-PR = "r2"
+PR = "r3"
 
 S = "${WORKDIR}/git"
 
@@ -138,3 +138,5 @@ PACKAGES += "${PN}-examples"
 FILES_${PN}-examples = "${datadir}/${PN}-${PV}/examples"
 
 ALLOW_EMPTY_${PN} = "1"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [EXTERNAL] [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models
  2019-12-12 22:40 ` [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models Hongmei Gou
@ 2019-12-17 11:31   ` Stiffler, Jacob
  0 siblings, 0 replies; 4+ messages in thread
From: Stiffler, Jacob @ 2019-12-17 11:31 UTC (permalink / raw)
  To: Gou, Hongmei, meta-arago

Denys,

Please backport to ti2019.05.

Thank you,
Jake

-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Gou, Hongmei
Sent: Thursday, December 12, 2019 5:40 PM
To: meta-arago@arago-project.org
Cc: Gou, Hongmei
Subject: [EXTERNAL] [meta-arago] [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models

* The newer version also has the following changes:
  1. Bug fixes for ResNet-18 model
  2. Conv2d kernel types are automatically set when models are imported,
     and do not need to be explicitly configured.

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 .../recipes-ti/tidl-utils/tidl-import_git.bb         | 12 +++++++++---
 .../recipes-ti/tidl-utils/tidl-utils.inc             |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb b/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
index ad1dad13..72ef8773 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://modules/ti_dl/inc/itidl_ti.h;beginline=1;endline=34;m
 
 S = "${WORKDIR}/git/src/importTool/"
 
-DEPENDS = "protobuf zlib protobuf-native"
+DEPENDS = "protobuf zlib protobuf-native flatbuffers tensorflow-lite flatbuffers-native tensorflow-lite-native"
 
 EXTRA_OEMAKE += "TIARM_TOOLS=${GCC_ARM_NONE_TOOLCHAIN}"
 EXTRA_OEMAKE += "XDAIS_PATH=${XDAIS_INSTALL_DIR}"
@@ -18,8 +18,14 @@ EXTRA_OEMAKE += "CORE=eve"
 EXTRA_OEMAKE += "TARGET_BUILD=release"
 EXTRA_OEMAKE += "TARGET_PLATFORM=PC"
 
-EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include"
-EXTRA_MAKE_ARGS_class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} LINUXENV=oearm"
+EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT \
+                   PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include \
+                   FLATBUFFERS_INC_DIR=${STAGING_DIR_NATIVE}$/usr/include/flatbuffers \
+                   TF_LITE_GENERATED_PATH=${STAGING_DIR_NATIVE}/usr/include/tensorflow/lite/schema"
+EXTRA_MAKE_ARGS_class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} \
+                                PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} \
+                                FLATBUFFERS_INC_DIR=${STAGING_INCDIR}/flatbuffers \
+                                TF_LITE_GENERATED_PATH=${STAGING_INCDIR}/tensorflow/lite/schema LINUXENV=oearm"
 
 EXTRA_OEMAKE += "${EXTRA_MAKE_ARGS}"
 
diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
index 1fd3063f..61bb50e6 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
@@ -1,4 +1,4 @@
 SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
-SRCREV = "c88b229e70db220ddbf394f3e77c3d5930a0e35a"
-PV = "01.01.02.00"
-PR = "r2"
+SRCREV = "99ff282fbc440a68170736e7b5de2ff5a2984386"
+PV = "01.01.03.00"
+PR = "r0"
-- 
2.17.1

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-17 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 22:40 [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Hongmei Gou
2019-12-12 22:40 ` [master/thud/ti2019.05] [PATCH 2/2] tidl-import: add support for tensorflow-lite floating point models Hongmei Gou
2019-12-17 11:31   ` [EXTERNAL] " Stiffler, Jacob
2019-12-17 11:31 ` [EXTERNAL] [master/thud/ti2019.05] [PATCH 1/2] tensorflow-lite: extends to native and nativesdk Stiffler, Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.