Skip to content
heliaAOT
API Reference
HELIA HUB

Generated module

A conversion writes a self-contained module: the emitted C, the headers a firmware project includes, and the build file its build system reads. What follows is the module produced from one small fixture model, so the shapes and the file names are real rather than illustrative.

Fixture setting Value
Module name demo
Symbol prefix aot
Operators CONV_2D → MAX_POOL_2D → CONV_2D → AVERAGE_POOL_2D → RESHAPE → SVDF → FULLY_CONNECTED → SOFTMAX
Target apollo510_evb

The module.type setting decides the build system the module is written for. The tree is the same module in each case; the build files and the placement differ.

Property Value
Module root demo
Build manifest zephyr/CMakeLists.txt, zephyr/Kconfig, zephyr/module.yml
Files 38
LICENSE
README.md
aot_plan.json
aot_report.json
aot_residency.json # only with memory.dump_residency_json
includes-api/aot_average_pool_2d_3.h
includes-api/aot_common.h
includes-api/aot_context.h
includes-api/aot_conv_2d_0.h
includes-api/aot_conv_2d_2.h
includes-api/aot_fully_connected_6.h
includes-api/aot_kernels.h
includes-api/aot_max_pool_2d_1.h
includes-api/aot_model.h
includes-api/aot_operators.h
includes-api/aot_platform.h
includes-api/aot_reshape_4.h
includes-api/aot_softmax_7.h
includes-api/aot_svdf_5.h
includes-api/aot_tensors.h
includes-api/aot_test_case.h # only with test.enabled
src/aot_average_pool_2d_3.c
src/aot_constants.c
src/aot_context.c
src/aot_conv_2d_0.c
src/aot_conv_2d_2.c
src/aot_fully_connected_6.c
src/aot_kernels.c
src/aot_max_pool_2d_1.c
src/aot_model.c
src/aot_reshape_4.c
src/aot_softmax_7.c
src/aot_svdf_5.c
src/aot_tensors.c
src/aot_test_case.c # only with test.enabled
zephyr/CMakeLists.txt
zephyr/Kconfig
zephyr/module.yml
Property Value
Module root demo
Build manifest CMakeLists.txt
Files 36
CMakeLists.txt
LICENSE
README.md
aot_plan.json
aot_report.json
aot_residency.json # only with memory.dump_residency_json
includes-api/aot_average_pool_2d_3.h
includes-api/aot_common.h
includes-api/aot_context.h
includes-api/aot_conv_2d_0.h
includes-api/aot_conv_2d_2.h
includes-api/aot_fully_connected_6.h
includes-api/aot_kernels.h
includes-api/aot_max_pool_2d_1.h
includes-api/aot_model.h
includes-api/aot_operators.h
includes-api/aot_platform.h
includes-api/aot_reshape_4.h
includes-api/aot_softmax_7.h
includes-api/aot_svdf_5.h
includes-api/aot_tensors.h
includes-api/aot_test_case.h # only with test.enabled
src/aot_average_pool_2d_3.c
src/aot_constants.c
src/aot_context.c
src/aot_conv_2d_0.c
src/aot_conv_2d_2.c
src/aot_fully_connected_6.c
src/aot_kernels.c
src/aot_max_pool_2d_1.c
src/aot_model.c
src/aot_reshape_4.c
src/aot_softmax_7.c
src/aot_svdf_5.c
src/aot_tensors.c
src/aot_test_case.c # only with test.enabled
Variant Settings Adds Removes
external_arenas memory.allocate_arenas=false, memory.dump_residency_json=true, test.enabled=true aot_arena_const_dtcm__blob.bin —
Property Value
Module root demo
Build manifest CMakeLists.txt, nsx-module.yaml
Files 37
CMakeLists.txt
LICENSE
README.md
aot_plan.json
aot_report.json
aot_residency.json # only with memory.dump_residency_json
includes-api/aot_average_pool_2d_3.h
includes-api/aot_common.h
includes-api/aot_context.h
includes-api/aot_conv_2d_0.h
includes-api/aot_conv_2d_2.h
includes-api/aot_fully_connected_6.h
includes-api/aot_kernels.h
includes-api/aot_max_pool_2d_1.h
includes-api/aot_model.h
includes-api/aot_operators.h
includes-api/aot_platform.h
includes-api/aot_reshape_4.h
includes-api/aot_softmax_7.h
includes-api/aot_svdf_5.h
includes-api/aot_tensors.h
includes-api/aot_test_case.h # only with test.enabled
nsx-module.yaml
src/aot_average_pool_2d_3.c
src/aot_constants.c
src/aot_context.c
src/aot_conv_2d_0.c
src/aot_conv_2d_2.c
src/aot_fully_connected_6.c
src/aot_kernels.c
src/aot_max_pool_2d_1.c
src/aot_model.c
src/aot_reshape_4.c
src/aot_softmax_7.c
src/aot_svdf_5.c
src/aot_tensors.c
src/aot_test_case.c # only with test.enabled
Variant Settings Adds Removes
external_arenas memory.allocate_arenas=false, memory.dump_residency_json=true, test.enabled=true aot_arena_const_dtcm__blob.bin —
Property Value
Module root demo
Build manifest Ambiq.demo.pdsc
Files 36
Ambiq.demo.pdsc
LICENSE
README.md
aot_plan.json
aot_report.json
aot_residency.json # only with memory.dump_residency_json
includes-api/aot_average_pool_2d_3.h
includes-api/aot_common.h
includes-api/aot_context.h
includes-api/aot_conv_2d_0.h
includes-api/aot_conv_2d_2.h
includes-api/aot_fully_connected_6.h
includes-api/aot_kernels.h
includes-api/aot_max_pool_2d_1.h
includes-api/aot_model.h
includes-api/aot_operators.h
includes-api/aot_platform.h
includes-api/aot_reshape_4.h
includes-api/aot_softmax_7.h
includes-api/aot_svdf_5.h
includes-api/aot_tensors.h
includes-api/aot_test_case.h # only with test.enabled
src/aot_average_pool_2d_3.c
src/aot_constants.c
src/aot_context.c
src/aot_conv_2d_0.c
src/aot_conv_2d_2.c
src/aot_fully_connected_6.c
src/aot_kernels.c
src/aot_max_pool_2d_1.c
src/aot_model.c
src/aot_reshape_4.c
src/aot_softmax_7.c
src/aot_svdf_5.c
src/aot_tensors.c
src/aot_test_case.c # only with test.enabled

Start with the generated model header and its model_init/model_run entry points. Check initialization and run status before using I/O views. Initialization resets persistent state and hydrates staged constants before operator initialization; repeated runs carry state until reset. Arena bindings and hydration state are module-global, so two context structs do not create independent instances. Serialize module use and keep arena storage alive.

Every declaration below, and every field and member, carries the stability the compatibility page gives it. public is the application interface: the entry points, the context’s callback, user_data, inputs and outputs, the status codes, the I/O tables, the platform hooks, the test-case entry points and the API version macros. advanced is arena binding, hydration and the arena tables. internal is implementation: the operator wrappers, the kernel helpers and state such as _lifecycle_state and tensor_ptrs, which an application must not use. Test-case functions exist only when tests are enabled. See Firmware integration and Memory placement for complete usage.

Declared in includes-api/aot_average_pool_2d_3.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_average_pool_2d_3_init(aot_model_context_t *ctx) internal always
int32_t aot_average_pool_2d_3_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_context.h. Integration header; its file name is promised.

Functions

Signature Stability Declared when
int32_t aot_context_init(aot_model_context_t *ctx) advanced always

aot_operator_state_t (public)

Member Value Stability
aot_op_state_init_started 0 public
aot_op_state_init_finished next public
aot_op_state_run_started next public
aot_op_state_run_finished next public

aot_model_context_t (public)

Field Type Extent Stability
callback aot_operator_callback — public
user_data void * — public
arena_buffers const void * const * — advanced
arena_sizes const size_t * — advanced
_lifecycle_state uint32_t — internal
tensor_ptrs int8_t * aot_num_tensors internal
inputs aot_tensor_io_t aot_num_inputs public
outputs aot_tensor_io_t aot_num_outputs public

aot_operator_callback (public)

Signature Kind
void (*aot_operator_callback)(int32_t op, aot_operator_state_t state, int32_t status, void *user_data) function pointer

Declared in includes-api/aot_conv_2d_0.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_conv_2d_0_init(aot_model_context_t *ctx) internal always
int32_t aot_conv_2d_0_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_conv_2d_2.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_conv_2d_2_init(aot_model_context_t *ctx) internal always
int32_t aot_conv_2d_2_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_fully_connected_6.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_fully_connected_6_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_kernels.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_kernel_fc_per_channel_packed_s8(aot_model_context_t *ctx, const aot_fc_per_channel_packed_s8_desc_t *d) internal always

aot_fc_per_channel_packed_s8_desc_t (internal)

Field Type Extent Stability
input_id int32_t — internal
output_id int32_t — internal
packed_id int32_t — internal
input_dims cmsis_nn_dims — internal
filter_dims cmsis_nn_dims — internal
output_dims cmsis_nn_dims — internal
output_offset int32_t — internal
activation_min int32_t — internal
activation_max int32_t — internal

Declared in includes-api/aot_max_pool_2d_1.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_max_pool_2d_1_init(aot_model_context_t *ctx) internal always
int32_t aot_max_pool_2d_1_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_model.h. Integration header; its file name is promised.

Functions

Signature Stability Declared when
int32_t aot_model_init(aot_model_context_t *ctx) public always
int32_t aot_model_run(aot_model_context_t *ctx) public always

Macros

Macro Value Stability Defined when
AOT_API_VERSION_MAJOR 1 public always
AOT_API_VERSION_MINOR 1 public always
AOT_API_VERSION_PATCH 0 public always

Declared in includes-api/aot_platform.h. Integration header; its file name is promised.

Macros

Macro Value Stability Defined when
AOT_PUT_IN_DRAM — public !defined(AOT_PUT_IN_DRAM)
AOT_PUT_IN_DRAM_INIT — public !defined(AOT_PUT_IN_DRAM_INIT)
AOT_PUT_IN_MRAM_INIT — public !defined(AOT_PUT_IN_MRAM_INIT)
AOT_PUT_IN_PSRAM — public !defined(AOT_PUT_IN_PSRAM)
AOT_PUT_IN_PSRAM_INIT — public !defined(AOT_PUT_IN_PSRAM_INIT)
AOT_PUT_IN_SRAM — public !defined(AOT_PUT_IN_SRAM)
AOT_PUT_IN_SRAM_INIT — public !defined(AOT_PUT_IN_SRAM_INIT)

Macros that differ by module type

Macro Module type Value Stability Defined when
AOT_PRINTF(...) zephyr printk(__VA_ARGS__) public (!defined(AOT_PRINTF)) && (defined(CONFIG_PRINTK))
AOT_PRINTF(...) zephyr ((void)0) public (!defined(AOT_PRINTF)) && (!(defined(CONFIG_PRINTK)))
AOT_PRINTF(...) cmake ((void)0) public !defined(AOT_PRINTF)
AOT_PRINTF(...) nsx ((void)0) public !defined(AOT_PRINTF)
AOT_PRINTF(...) cmsis_pack ((void)0) public !defined(AOT_PRINTF)
AOT_PUT_CODE_IN_ITCM zephyr __itcm_section public !defined(AOT_PUT_CODE_IN_ITCM)
AOT_PUT_CODE_IN_ITCM cmake — public !defined(AOT_PUT_CODE_IN_ITCM)
AOT_PUT_CODE_IN_ITCM nsx __attribute__((section(".itcm_text"))) public (!defined(AOT_PUT_CODE_IN_ITCM)) && (defined(__GNUC__) || defined(__clang__) || defined(__ARMCC_VERSION))
AOT_PUT_CODE_IN_ITCM nsx — public (!defined(AOT_PUT_CODE_IN_ITCM)) && (!(defined(__GNUC__) || defined(__clang__) || defined(__ARMCC_VERSION)))
AOT_PUT_CODE_IN_ITCM cmsis_pack — public !defined(AOT_PUT_CODE_IN_ITCM)
AOT_PUT_IN_DTCM zephyr __dtcm_bss_section public !defined(AOT_PUT_IN_DTCM)
AOT_PUT_IN_DTCM cmake — public !defined(AOT_PUT_IN_DTCM)
AOT_PUT_IN_DTCM nsx — public !defined(AOT_PUT_IN_DTCM)
AOT_PUT_IN_DTCM cmsis_pack — public !defined(AOT_PUT_IN_DTCM)
AOT_PUT_IN_DTCM_INIT zephyr __dtcm_data_section public !defined(AOT_PUT_IN_DTCM_INIT)
AOT_PUT_IN_DTCM_INIT cmake — public !defined(AOT_PUT_IN_DTCM_INIT)
AOT_PUT_IN_DTCM_INIT nsx — public !defined(AOT_PUT_IN_DTCM_INIT)
AOT_PUT_IN_DTCM_INIT cmsis_pack — public !defined(AOT_PUT_IN_DTCM_INIT)
AOT_PUT_IN_ITCM zephyr __itcm_section public !defined(AOT_PUT_IN_ITCM)
AOT_PUT_IN_ITCM cmake — public !defined(AOT_PUT_IN_ITCM)
AOT_PUT_IN_ITCM nsx — public !defined(AOT_PUT_IN_ITCM)
AOT_PUT_IN_ITCM cmsis_pack — public !defined(AOT_PUT_IN_ITCM)
AOT_PUT_IN_ITCM_INIT zephyr __itcm_section public !defined(AOT_PUT_IN_ITCM_INIT)
AOT_PUT_IN_ITCM_INIT cmake — public !defined(AOT_PUT_IN_ITCM_INIT)
AOT_PUT_IN_ITCM_INIT nsx — public !defined(AOT_PUT_IN_ITCM_INIT)
AOT_PUT_IN_ITCM_INIT cmsis_pack — public !defined(AOT_PUT_IN_ITCM_INIT)
AOT_PUT_IN_MRAM zephyr const public !defined(AOT_PUT_IN_MRAM)
AOT_PUT_IN_MRAM cmake — public !defined(AOT_PUT_IN_MRAM)
AOT_PUT_IN_MRAM nsx — public !defined(AOT_PUT_IN_MRAM)
AOT_PUT_IN_MRAM cmsis_pack — public !defined(AOT_PUT_IN_MRAM)

Declared in includes-api/aot_reshape_4.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_reshape_4_init(aot_model_context_t *ctx) internal always
int32_t aot_reshape_4_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_softmax_7.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_softmax_7_init(aot_model_context_t *ctx) internal always
int32_t aot_softmax_7_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_svdf_5.h. Implementation header; its file name can change in any release.

Functions

Signature Stability Declared when
int32_t aot_svdf_5_init(aot_model_context_t *ctx) internal always
int32_t aot_svdf_5_run(aot_model_context_t *ctx) internal always

Declared in includes-api/aot_tensors.h. Integration header; its file name is promised.

aot_arena_region_t (advanced)

Member Value Stability
aot_arena_dtcm 0 advanced
aot_arena_persistent_dtcm 1 advanced
aot_arena_const_dtcm 2 advanced
aot_num_arena_buffers 3 advanced

aot_status_t (public)

Member Value Stability
aot_status_ok 0 public
aot_status_bind_unknown_region 1 public
aot_status_bind_null_buffer 2 public
aot_status_bind_undersized 3 public
aot_status_bind_misaligned 4 public
aot_status_context_arena_unbound 10 public
aot_status_hydrate_uninited_context 11 public
aot_status_hydrate_null_blob 12 public
aot_status_null_context 13 public
aot_status_not_initialized 14 public
aot_status_bind_bulk_null_argument 100 public
aot_status_bind_bulk_wrong_count 101 public
aot_status_hydration_required 200 public
aot_status_custom_first 1000 public
aot_status_custom_last 1999 public

aot_tensor_ident_t (public)

Member Value Stability
aot_tensor_0 0 internal
aot_tensor_1 1 internal
aot_tensor_3 2 internal
aot_tensor_4 3 internal
aot_tensor_5 4 internal
aot_tensor_7 5 internal
aot_tensor_8 6 internal
aot_tensor_9 7 internal
aot_tensor_10 8 internal
aot_tensor_11 9 internal
aot_tensor_12 10 internal
aot_tensor_13 11 internal
aot_tensor_14 12 internal
aot_tensor_15 13 internal
aot_tensor_18 14 internal
aot_tensor_19 15 internal
aot_tensor_conv_2d_0_scratch 16 internal
aot_tensor_conv_2d_0_weight_sum 17 internal
aot_tensor_conv_2d_0_multiplier 18 internal
aot_tensor_conv_2d_0_shift 19 internal
aot_tensor_conv_2d_2_scratch 20 internal
aot_tensor_conv_2d_2_weight_sum 21 internal
aot_tensor_conv_2d_2_multiplier 22 internal
aot_tensor_conv_2d_2_shift 23 internal
aot_tensor_svdf_5_scratch_a 24 internal
aot_tensor_svdf_5_scratch_b 25 internal
aot_tensor_svdf_5_weight_sum 26 internal
aot_tensor_fully_connected_6_packed 27 internal
aot_num_tensors 28 internal

aot_tensor_type_t (internal)

Member Value Stability
aot_tensor_type_constant next internal
aot_tensor_type_persistent next internal
aot_tensor_type_scratch next internal

aot_tensor_descriptor_t (internal)

Field Type Extent Stability
type aot_tensor_type_t — internal
region aot_arena_region_t — internal
offset size_t — internal
size size_t — internal

aot_tensor_io_t (public)

Field Type Extent Stability
id aot_tensor_ident_t — public
data int8_t * — public
size size_t — public
zero_point int32_t — public
scale float — public

Data

Name Type Extent Stability
aot_arena_alignments const size_t aot_num_arena_buffers advanced
aot_arena_buffers const void * const aot_num_arena_buffers advanced
aot_arena_sizes const size_t aot_num_arena_buffers advanced
aot_inputs_id const aot_tensor_ident_t aot_num_inputs public
aot_inputs_len const int32_t aot_num_inputs public
aot_inputs_scale const float aot_num_inputs public
aot_inputs_zero_point const int32_t aot_num_inputs public
aot_outputs_id const aot_tensor_ident_t aot_num_outputs public
aot_outputs_len const int32_t aot_num_outputs public
aot_outputs_scale const float aot_num_outputs public
aot_outputs_zero_point const int32_t aot_num_outputs public
aot_tensor_descriptors const aot_tensor_descriptor_t aot_num_tensors internal

Macros

Macro Value Stability Defined when
AOT_PLAN_HASH "87f6d61da9206a74" advanced always
aot_arena_const_dtcm_alignment 16 advanced always
aot_arena_const_dtcm_size 44176 advanced always
aot_arena_dtcm_alignment 16 advanced always
aot_arena_dtcm_size 5696 advanced always
aot_arena_persistent_dtcm_alignment 16 advanced always
aot_arena_persistent_dtcm_size 128 advanced always
aot_input_0_nbytes (768) public always
aot_input_0_size (768) public always
aot_num_inputs 1 public always
aot_num_outputs 1 public always
aot_output_0_nbytes (10) public always
aot_output_0_size (10) public always

Declared in includes-api/aot_test_case.h. Integration header; its file name is promised.

Functions

Signature Stability Declared when
int32_t aot_test_case_init(void) public always
int32_t aot_test_case_run(void) public always

A module converted with memory.allocate_arenas=false leaves the arena memory to the caller and declares what it needs to be given:

Declaration Kind Header Stability Module types
int8_t aot_arena_buffers_table_any_unbound(void) function includes-api/aot_tensors.h internal cmake, nsx
const void * const aot_arena_buffers_table_view(void) function includes-api/aot_tensors.h internal cmake, nsx
int32_t aot_bind_arena(aot_arena_region_t region, void *buffer, size_t size) function includes-api/aot_tensors.h advanced cmake, nsx
int32_t aot_bind_arenas(void * const *buffers, const size_t *sizes, size_t n) function includes-api/aot_tensors.h advanced cmake, nsx

A conversion that sets memory.dump_residency_json writes aot_residency.json beside the module: where the planner put every tensor, and how much of each arena that used. The table illustrates the observed shape of this fixture, using the first element of each array; it is not a complete residency JSON schema. The full fixture follows verbatim.

Field Type
arenas object
arenas.constant array
arenas.constant[].alignment number
arenas.constant[].kind string
arenas.constant[].memory string
arenas.constant[].region_id number
arenas.constant[].source_memory string
arenas.constant[].storage object
arenas.constant[].storage.enum_name string
arenas.constant[].storage.runtime object
arenas.constant[].storage.runtime.data_offset_bytes number
arenas.constant[].storage.runtime.memory string
arenas.constant[].storage.runtime.owner string
arenas.constant[].storage.runtime.size_bytes number
arenas.constant[].storage.runtime.symbol string
arenas.constant[].storage.sidecar null
arenas.constant[].storage.source null
arenas.constant[].tensor_count number
arenas.constant[].total_size number
arenas.constant[].used number
arenas.persistent array
arenas.persistent[].alignment number
arenas.persistent[].memory string
arenas.persistent[].region_id number
arenas.persistent[].storage object
arenas.persistent[].storage.enum_name string
arenas.persistent[].storage.runtime object
arenas.persistent[].storage.runtime.data_offset_bytes number
arenas.persistent[].storage.runtime.memory string
arenas.persistent[].storage.runtime.owner string
arenas.persistent[].storage.runtime.size_bytes number
arenas.persistent[].storage.runtime.symbol string
arenas.persistent[].storage.sidecar null
arenas.persistent[].storage.source null
arenas.persistent[].total_size number
arenas.persistent[].used number
arenas.scratch array
arenas.scratch[].alignment number
arenas.scratch[].fragmentation number
arenas.scratch[].memory string
arenas.scratch[].peak_live number
arenas.scratch[].region_id number
arenas.scratch[].storage object
arenas.scratch[].storage.enum_name string
arenas.scratch[].storage.runtime object
arenas.scratch[].storage.runtime.data_offset_bytes number
arenas.scratch[].storage.runtime.memory string
arenas.scratch[].storage.runtime.owner string
arenas.scratch[].storage.runtime.size_bytes number
arenas.scratch[].storage.runtime.symbol string
arenas.scratch[].storage.sidecar null
arenas.scratch[].storage.source null
arenas.scratch[].total_size number
arenas.scratch[].used number
compiler_version string
module_prefix string
plan_hash string
schema_version number
tensor_layout_hash string
tensors array
tensors[].id string
tensors[].memory string
tensors[].offset number
tensors[].role string
tensors[].size number
tensors[].source_memory string
{
"arenas": {
"constant": [
{
"alignment": 16,
"kind": "cold",
"memory": "dtcm",
"region_id": 2,
"source_memory": "dtcm",
"storage": {
"enum_name": "aot_arena_const_dtcm",
"runtime": {
"data_offset_bytes": 0,
"memory": "dtcm",
"owner": "generated",
"size_bytes": 44176,
"symbol": "aot_arena_const_dtcm__blob"
},
"sidecar": null,
"source": null
},
"tensor_count": 14,
"total_size": 44176,
"used": 44176
}
],
"persistent": [
{
"alignment": 16,
"memory": "dtcm",
"region_id": 1,
"storage": {
"enum_name": "aot_arena_persistent_dtcm",
"runtime": {
"data_offset_bytes": 0,
"memory": "dtcm",
"owner": "generated",
"size_bytes": 128,
"symbol": "aot_arena_persistent_dtcm_buffer"
},
"sidecar": null,
"source": null
},
"total_size": 128,
"used": 128
}
],
"scratch": [
{
"alignment": 16,
"fragmentation": 0,
"memory": "dtcm",
"peak_live": 5696,
"region_id": 0,
"storage": {
"enum_name": "aot_arena_dtcm",
"runtime": {
"data_offset_bytes": 0,
"memory": "dtcm",
"owner": "generated",
"size_bytes": 5696,
"symbol": "aot_arena_dtcm_buffer"
},
"sidecar": null,
"source": null
},
"total_size": 463600,
"used": 5696
}
]
},
"compiler_version": "0.33.0",
"module_prefix": "aot",
"plan_hash": "87f6d61da9206a74",
"schema_version": 5,
"tensor_layout_hash": "b8c2130e3dd06b16",
"tensors": [
{
"id": "0",
"memory": "dtcm",
"offset": 4096,
"role": "scratch",
"size": 768,
"source_memory": "dtcm"
},
{
"id": "1",
"memory": "dtcm",
"offset": 0,
"role": "constant",
"size": 432,
"source_memory": "dtcm"
},
{
"id": "3",
"memory": "dtcm",
"offset": 0,
"role": "scratch",
"size": 4096,
"source_memory": "dtcm"
},
{
"id": "4",
"memory": "dtcm",
"offset": 4096,
"role": "scratch",
"size": 1024,
"source_memory": "dtcm"
},
{
"id": "5",
"memory": "dtcm",
"offset": 624,
"role": "constant",
"size": 9216,
"source_memory": "dtcm"
},
{
"id": "7",
"memory": "dtcm",
"offset": 0,
"role": "scratch",
"size": 4096,
"source_memory": "dtcm"
},
{
"id": "8",
"memory": "dtcm",
"offset": 4096,
"role": "scratch",
"size": 1024,
"source_memory": "dtcm"
},
{
"id": "9",
"memory": "dtcm",
"offset": 10608,
"role": "constant",
"size": 8,
"source_memory": "dtcm"
},
{
"id": "10",
"memory": "dtcm",
"offset": 4096,
"role": "scratch",
"size": 1024,
"source_memory": "dtcm"
},
{
"id": "11",
"memory": "dtcm",
"offset": 10624,
"role": "constant",
"size": 32768,
"source_memory": "dtcm"
},
{
"id": "12",
"memory": "dtcm",
"offset": 43392,
"role": "constant",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "13",
"memory": "dtcm",
"offset": 43520,
"role": "constant",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "14",
"memory": "dtcm",
"offset": 0,
"role": "persistent",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "15",
"memory": "dtcm",
"offset": 256,
"role": "scratch",
"size": 32,
"source_memory": "dtcm"
},
{
"id": "18",
"memory": "dtcm",
"offset": 0,
"role": "scratch",
"size": 10,
"source_memory": "dtcm"
},
{
"id": "19",
"memory": "dtcm",
"offset": 16,
"role": "scratch",
"size": 10,
"source_memory": "dtcm"
},
{
"id": "conv_2d_0_multiplier",
"memory": "dtcm",
"offset": 496,
"role": "constant",
"size": 64,
"source_memory": "dtcm"
},
{
"id": "conv_2d_0_scratch",
"memory": "dtcm",
"offset": 4864,
"role": "scratch",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "conv_2d_0_shift",
"memory": "dtcm",
"offset": 560,
"role": "constant",
"size": 64,
"source_memory": "dtcm"
},
{
"id": "conv_2d_0_weight_sum",
"memory": "dtcm",
"offset": 432,
"role": "constant",
"size": 64,
"source_memory": "dtcm"
},
{
"id": "conv_2d_2_multiplier",
"memory": "dtcm",
"offset": 10096,
"role": "constant",
"size": 256,
"source_memory": "dtcm"
},
{
"id": "conv_2d_2_scratch",
"memory": "dtcm",
"offset": 5120,
"role": "scratch",
"size": 576,
"source_memory": "dtcm"
},
{
"id": "conv_2d_2_shift",
"memory": "dtcm",
"offset": 10352,
"role": "constant",
"size": 256,
"source_memory": "dtcm"
},
{
"id": "conv_2d_2_weight_sum",
"memory": "dtcm",
"offset": 9840,
"role": "constant",
"size": 256,
"source_memory": "dtcm"
},
{
"id": "fully_connected_6_packed",
"memory": "dtcm",
"offset": 43648,
"role": "constant",
"size": 528,
"source_memory": "dtcm"
},
{
"id": "svdf_5_scratch_a",
"memory": "dtcm",
"offset": 0,
"role": "scratch",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "svdf_5_scratch_b",
"memory": "dtcm",
"offset": 128,
"role": "scratch",
"size": 128,
"source_memory": "dtcm"
},
{
"id": "svdf_5_weight_sum",
"memory": "dtcm",
"offset": 43520,
"role": "constant",
"size": 128,
"source_memory": "dtcm"
}
]
}