工具与软件:
您好!
是否可以创建 tflite-runtime 不支持的定制 TIDL 层? 实际上、在 Map 函数(TIDL_MapCustomParams)中、需要指定 TensorFlow 层的名称。 以下是 TI 提供的示例:
strcmp(currLayerName, (const char *)"MaxPool") == 0
如果是这样、如何将定制 TIDL 层映射到 tflite-runtime 无法识别的层?
谢谢!
Azer
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具与软件:
您好!
是否可以创建 tflite-runtime 不支持的定制 TIDL 层? 实际上、在 Map 函数(TIDL_MapCustomParams)中、需要指定 TensorFlow 层的名称。 以下是 TI 提供的示例:
strcmp(currLayerName, (const char *)"MaxPool") == 0
如果是这样、如何将定制 TIDL 层映射到 tflite-runtime 无法识别的层?
谢谢!
Azer
尊敬的 Azer:
定制层文档是 Processor SDK RTOS J721E ADDON 封装的一部分。 详情请见: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/10_01_00_04/exports/docs/psdk_rtos/docs/user_guide/datasheet_sdk_j721e.html
安装后、可以在以下位置找到定制层文档:
tidl_xx_xx_xx_xx/ti_dl/docs/user_guide_nad_html/md_tidl_custom_layer.html
请告诉我此文档是否解答了您的问题。
谢谢!
Fabiana
你好、Fabiana
感谢您的回答。
不过、有一个问题我不明白。 ti_dl\custom\tidl_custom_import.c 中指定的自定义图层是否会覆盖原始图层?
例如、具有3x3跨度为2的"MaxPool"层已存在、并受 TIDL-RT 支持。 执行推理时、该图层是识别为原始图层还是自定义图层?
如果不是、指定使用自定义图层的步骤是什么? 或者如何用自定义的原稿替换原稿?
此致、
Azer