Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    TFLM in ASMP?

    Spresense
    2
    3
    1238
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stanton last edited by Stanton

      Hello,
      I've been trying to get a model running in ASMP, but the tflite libraries aren't porting. Is there an example of any 3rd parties library usage in ASMP? Is this even possible? I've seen https://developer.sony.com/develop/spresense/docs/sdk_developer_guide_en.html#_asmp_framework, but I'm holding out hope that 3rd party libraries are an option in ASMP.

      Thanks!

      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @Stanton last edited by

        Hi @Stanton,

        It is possible to run TFLite Micro on subcore. This is already implemented in the SDK:
        https://github.com/sonydevworld/spresense/tree/master/sdk/modules/tflmrt/src-mpcomm

        The solution is based on the MPCOMM module which is built on ASMP.

        To run TFLM on subcore you only need to enable CONFIG_TFLM_RT_MPCOMM.

        Another library that uses ASMP is DNNRT: https://github.com/sonydevworld/spresense/tree/master/sdk/modules/dnnrt/src-mpcomm

        Best Regards,
        Kamil Tomaszewski

        S 1 Reply Last reply Reply Quote
        • S
          Stanton @KamilTomaszewski last edited by

          @KamilTomaszewski Thank you!

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal