{ "bundle": { "digest": { "algorithm": "sha256", "scope": "structure", "value": "39e9ab9e87a7da1cd2ba5ba39c648d4e34e284e0aa362449707ec35581fa19cf" }, "files": [ { "path": "assets/adapter.json" }, { "path": "assets/tokens.txt" }, { "path": "assets/en.phone" }, { "path": "assets/keywords.txt" }, { "path": "assets/keywords_sensitive.txt" }, { "path": "assets/pretrained-epoch-13-avg-2.pt" } ], "name": "sherpa-kws", "revision": 1, "uuid": "039c05d3-674c-5950-a9ba-83d9ea533e23" }, "deployments": { "ascend_310b": { "artifacts": { "decoder": { "format": "om", "path": "artifacts/ascend_310b/decoder.om", "sha256": "043d8e4e7837b3a5e325ccb875e83fb61dc2229ebf56753369540d4acca20a5b" }, "encoder": { "format": "om", "path": "artifacts/ascend_310b/encoder.om", "sha256": "33852afc03401a2196e705be66bf6af4f059bcb2c44c5f3aca9d4c9bcb124cea" }, "joiner": { "format": "om", "path": "artifacts/ascend_310b/joiner.om", "sha256": "35d775bf69498be758da8abc12e2469d57184a5942aef5ff1f33f1cbadbde2b1" } }, "bindings": { "decoder": { "inputs": [ { "dtype": "int64", "index": 0, "runtime_name": "y", "semantic": "host.kws.decoder_in", "shape": [ 1, 2 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ] }, "encoder": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "x", "semantic": "host.kws.features", "shape": [ 1, 45, 80 ] }, { "dtype": "float32", "index": 1, "runtime_name": "cached_key_0", "semantic": "host.kws.cached_key_0_in", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_in", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "cached_val1_0", "semantic": "host.kws.cached_val1_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "cached_val2_0", "semantic": "host.kws.cached_val2_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "cached_conv1_0", "semantic": "host.kws.cached_conv1_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "cached_conv2_0", "semantic": "host.kws.cached_conv2_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "cached_key_1", "semantic": "host.kws.cached_key_1_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "cached_val1_1", "semantic": "host.kws.cached_val1_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "cached_val2_1", "semantic": "host.kws.cached_val2_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "cached_conv1_1", "semantic": "host.kws.cached_conv1_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "cached_conv2_1", "semantic": "host.kws.cached_conv2_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "cached_key_2", "semantic": "host.kws.cached_key_2_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "cached_val1_2", "semantic": "host.kws.cached_val1_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "cached_val2_2", "semantic": "host.kws.cached_val2_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "cached_conv1_2", "semantic": "host.kws.cached_conv1_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "cached_conv2_2", "semantic": "host.kws.cached_conv2_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "cached_key_3", "semantic": "host.kws.cached_key_3_in", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_in", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "cached_val1_3", "semantic": "host.kws.cached_val1_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "cached_val2_3", "semantic": "host.kws.cached_val2_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "cached_conv1_3", "semantic": "host.kws.cached_conv1_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "cached_conv2_3", "semantic": "host.kws.cached_conv2_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "cached_key_4", "semantic": "host.kws.cached_key_4_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "cached_val1_4", "semantic": "host.kws.cached_val1_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "cached_val2_4", "semantic": "host.kws.cached_val2_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "cached_conv1_4", "semantic": "host.kws.cached_conv1_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "cached_conv2_4", "semantic": "host.kws.cached_conv2_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "cached_key_5", "semantic": "host.kws.cached_key_5_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "cached_val1_5", "semantic": "host.kws.cached_val1_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "cached_val2_5", "semantic": "host.kws.cached_val2_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "cached_conv1_5", "semantic": "host.kws.cached_conv1_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "cached_conv2_5", "semantic": "host.kws.cached_conv2_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "embed_states", "semantic": "host.kws.embed_states_in", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "processed_lens", "semantic": "host.kws.processed_lens_in", "shape": [ 1 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_out", "shape": [ 1, 8, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "new_cached_key_0", "semantic": "host.kws.cached_key_0_out", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "new_cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_out", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "new_cached_val1_0", "semantic": "host.kws.cached_val1_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "new_cached_val2_0", "semantic": "host.kws.cached_val2_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "new_cached_conv1_0", "semantic": "host.kws.cached_conv1_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "new_cached_conv2_0", "semantic": "host.kws.cached_conv2_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "new_cached_key_1", "semantic": "host.kws.cached_key_1_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "new_cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "new_cached_val1_1", "semantic": "host.kws.cached_val1_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "new_cached_val2_1", "semantic": "host.kws.cached_val2_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "new_cached_conv1_1", "semantic": "host.kws.cached_conv1_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "new_cached_conv2_1", "semantic": "host.kws.cached_conv2_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "new_cached_key_2", "semantic": "host.kws.cached_key_2_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "new_cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "new_cached_val1_2", "semantic": "host.kws.cached_val1_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "new_cached_val2_2", "semantic": "host.kws.cached_val2_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "new_cached_conv1_2", "semantic": "host.kws.cached_conv1_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "new_cached_conv2_2", "semantic": "host.kws.cached_conv2_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "new_cached_key_3", "semantic": "host.kws.cached_key_3_out", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "new_cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_out", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "new_cached_val1_3", "semantic": "host.kws.cached_val1_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "new_cached_val2_3", "semantic": "host.kws.cached_val2_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "new_cached_conv1_3", "semantic": "host.kws.cached_conv1_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "new_cached_conv2_3", "semantic": "host.kws.cached_conv2_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "new_cached_key_4", "semantic": "host.kws.cached_key_4_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "new_cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "new_cached_val1_4", "semantic": "host.kws.cached_val1_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "new_cached_val2_4", "semantic": "host.kws.cached_val2_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "new_cached_conv1_4", "semantic": "host.kws.cached_conv1_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "new_cached_conv2_4", "semantic": "host.kws.cached_conv2_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "new_cached_key_5", "semantic": "host.kws.cached_key_5_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "new_cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "new_cached_val1_5", "semantic": "host.kws.cached_val1_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "new_cached_val2_5", "semantic": "host.kws.cached_val2_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "new_cached_conv1_5", "semantic": "host.kws.cached_conv1_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "new_cached_conv2_5", "semantic": "host.kws.cached_conv2_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "new_embed_states", "semantic": "host.kws.embed_states_out", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "new_processed_lens", "semantic": "host.kws.processed_lens_out", "shape": [ 1 ] } ] }, "joiner": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_frame", "shape": [ 1, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "logit", "semantic": "host.kws.logit", "shape": [ 1, 263 ] } ] } }, "execution": [ "encoder", "decoder", "joiner" ], "execution_contract": { "cancellation_granularity": "checkpoint", "execution_structure": "iterative", "max_open_streams": 1, "orchestration_visibility": "session", "state_bank_mode": "runtime_exclusive", "state_links": [ { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_0_in", "state_bank": "encoder.bank", "state_name": "cached_key_0", "target": "state.cached_key_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_0_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_0", "target": "state.cached_nonlin_attn_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_0_in", "state_bank": "encoder.bank", "state_name": "cached_val1_0", "target": "state.cached_val1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_0_in", "state_bank": "encoder.bank", "state_name": "cached_val2_0", "target": "state.cached_val2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_0", "target": "state.cached_conv1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_0", "target": "state.cached_conv2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_1_in", "state_bank": "encoder.bank", "state_name": "cached_key_1", "target": "state.cached_key_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_1_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_1", "target": "state.cached_nonlin_attn_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_1_in", "state_bank": "encoder.bank", "state_name": "cached_val1_1", "target": "state.cached_val1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_1_in", "state_bank": "encoder.bank", "state_name": "cached_val2_1", "target": "state.cached_val2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_1", "target": "state.cached_conv1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_1", "target": "state.cached_conv2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_2_in", "state_bank": "encoder.bank", "state_name": "cached_key_2", "target": "state.cached_key_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_2_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_2", "target": "state.cached_nonlin_attn_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_2_in", "state_bank": "encoder.bank", "state_name": "cached_val1_2", "target": "state.cached_val1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_2_in", "state_bank": "encoder.bank", "state_name": "cached_val2_2", "target": "state.cached_val2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_2", "target": "state.cached_conv1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_2", "target": "state.cached_conv2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_3_in", "state_bank": "encoder.bank", "state_name": "cached_key_3", "target": "state.cached_key_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_3_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_3", "target": "state.cached_nonlin_attn_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_3_in", "state_bank": "encoder.bank", "state_name": "cached_val1_3", "target": "state.cached_val1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_3_in", "state_bank": "encoder.bank", "state_name": "cached_val2_3", "target": "state.cached_val2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_3", "target": "state.cached_conv1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_3", "target": "state.cached_conv2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_4_in", "state_bank": "encoder.bank", "state_name": "cached_key_4", "target": "state.cached_key_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_4_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_4", "target": "state.cached_nonlin_attn_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_4_in", "state_bank": "encoder.bank", "state_name": "cached_val1_4", "target": "state.cached_val1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_4_in", "state_bank": "encoder.bank", "state_name": "cached_val2_4", "target": "state.cached_val2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_4", "target": "state.cached_conv1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_4", "target": "state.cached_conv2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_5_in", "state_bank": "encoder.bank", "state_name": "cached_key_5", "target": "state.cached_key_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_5_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_5", "target": "state.cached_nonlin_attn_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_5_in", "state_bank": "encoder.bank", "state_name": "cached_val1_5", "target": "state.cached_val1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_5_in", "state_bank": "encoder.bank", "state_name": "cached_val2_5", "target": "state.cached_val2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_5", "target": "state.cached_conv1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_5", "target": "state.cached_conv2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.embed_states_in", "state_bank": "encoder.bank", "state_name": "embed_states", "target": "state.embed_states_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.processed_lens_in", "state_bank": "encoder.bank", "state_name": "processed_lens", "target": "state.processed_lens_out" } ], "state_scope": "stream", "stateful": true }, "metadata": { "audio_contract": { "channel_semantics": "mono", "channels": 1, "chunk_shift": 32, "chunk_size": 45, "execution_mode": "streaming", "frame_shift": 160, "frame_size": 400, "sample_dtype": "float32", "sample_rate_hz": 16000 } }, "revision": 1, "runtime_profile": { "backend": "ascend", "profile": { "device_id": 0 }, "target": { "runtime": "acl", "runtime_abi": "cann-8.3.RC1", "soc": "Ascend310B1" } }, "uuid": "6cc251b4-1df9-4745-b79b-0d672e3b886c" }, "ascend_310p": { "artifacts": { "decoder": { "format": "om", "path": "artifacts/ascend_310p/decoder.om", "sha256": "8b4e5a7b986427541ee1c8ced274ddd1d6141b9585be3717973d9db116e1c2eb" }, "encoder": { "format": "om", "path": "artifacts/ascend_310p/encoder.om", "sha256": "dc95d61a66677b1e83b566bfc274d2092eba8fc8d4cfbf7c51beddfc0381c20d" }, "joiner": { "format": "om", "path": "artifacts/ascend_310p/joiner.om", "sha256": "76a21d460a27e7b6424722067365d5697a8c7168f47ab11a62a54939190e20e5" } }, "bindings": { "decoder": { "inputs": [ { "dtype": "int64", "index": 0, "runtime_name": "y", "semantic": "host.kws.decoder_in", "shape": [ 1, 2 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ] }, "encoder": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "x", "semantic": "host.kws.features", "shape": [ 1, 45, 80 ] }, { "dtype": "float32", "index": 1, "runtime_name": "cached_key_0", "semantic": "host.kws.cached_key_0_in", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_in", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "cached_val1_0", "semantic": "host.kws.cached_val1_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "cached_val2_0", "semantic": "host.kws.cached_val2_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "cached_conv1_0", "semantic": "host.kws.cached_conv1_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "cached_conv2_0", "semantic": "host.kws.cached_conv2_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "cached_key_1", "semantic": "host.kws.cached_key_1_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "cached_val1_1", "semantic": "host.kws.cached_val1_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "cached_val2_1", "semantic": "host.kws.cached_val2_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "cached_conv1_1", "semantic": "host.kws.cached_conv1_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "cached_conv2_1", "semantic": "host.kws.cached_conv2_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "cached_key_2", "semantic": "host.kws.cached_key_2_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "cached_val1_2", "semantic": "host.kws.cached_val1_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "cached_val2_2", "semantic": "host.kws.cached_val2_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "cached_conv1_2", "semantic": "host.kws.cached_conv1_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "cached_conv2_2", "semantic": "host.kws.cached_conv2_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "cached_key_3", "semantic": "host.kws.cached_key_3_in", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_in", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "cached_val1_3", "semantic": "host.kws.cached_val1_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "cached_val2_3", "semantic": "host.kws.cached_val2_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "cached_conv1_3", "semantic": "host.kws.cached_conv1_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "cached_conv2_3", "semantic": "host.kws.cached_conv2_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "cached_key_4", "semantic": "host.kws.cached_key_4_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "cached_val1_4", "semantic": "host.kws.cached_val1_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "cached_val2_4", "semantic": "host.kws.cached_val2_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "cached_conv1_4", "semantic": "host.kws.cached_conv1_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "cached_conv2_4", "semantic": "host.kws.cached_conv2_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "cached_key_5", "semantic": "host.kws.cached_key_5_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "cached_val1_5", "semantic": "host.kws.cached_val1_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "cached_val2_5", "semantic": "host.kws.cached_val2_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "cached_conv1_5", "semantic": "host.kws.cached_conv1_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "cached_conv2_5", "semantic": "host.kws.cached_conv2_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "embed_states", "semantic": "host.kws.embed_states_in", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "processed_lens", "semantic": "host.kws.processed_lens_in", "shape": [ 1 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_out", "shape": [ 1, 8, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "new_cached_key_0", "semantic": "host.kws.cached_key_0_out", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "new_cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_out", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "new_cached_val1_0", "semantic": "host.kws.cached_val1_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "new_cached_val2_0", "semantic": "host.kws.cached_val2_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "new_cached_conv1_0", "semantic": "host.kws.cached_conv1_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "new_cached_conv2_0", "semantic": "host.kws.cached_conv2_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "new_cached_key_1", "semantic": "host.kws.cached_key_1_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "new_cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "new_cached_val1_1", "semantic": "host.kws.cached_val1_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "new_cached_val2_1", "semantic": "host.kws.cached_val2_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "new_cached_conv1_1", "semantic": "host.kws.cached_conv1_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "new_cached_conv2_1", "semantic": "host.kws.cached_conv2_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "new_cached_key_2", "semantic": "host.kws.cached_key_2_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "new_cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "new_cached_val1_2", "semantic": "host.kws.cached_val1_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "new_cached_val2_2", "semantic": "host.kws.cached_val2_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "new_cached_conv1_2", "semantic": "host.kws.cached_conv1_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "new_cached_conv2_2", "semantic": "host.kws.cached_conv2_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "new_cached_key_3", "semantic": "host.kws.cached_key_3_out", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "new_cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_out", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "new_cached_val1_3", "semantic": "host.kws.cached_val1_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "new_cached_val2_3", "semantic": "host.kws.cached_val2_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "new_cached_conv1_3", "semantic": "host.kws.cached_conv1_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "new_cached_conv2_3", "semantic": "host.kws.cached_conv2_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "new_cached_key_4", "semantic": "host.kws.cached_key_4_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "new_cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "new_cached_val1_4", "semantic": "host.kws.cached_val1_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "new_cached_val2_4", "semantic": "host.kws.cached_val2_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "new_cached_conv1_4", "semantic": "host.kws.cached_conv1_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "new_cached_conv2_4", "semantic": "host.kws.cached_conv2_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "new_cached_key_5", "semantic": "host.kws.cached_key_5_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "new_cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "new_cached_val1_5", "semantic": "host.kws.cached_val1_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "new_cached_val2_5", "semantic": "host.kws.cached_val2_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "new_cached_conv1_5", "semantic": "host.kws.cached_conv1_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "new_cached_conv2_5", "semantic": "host.kws.cached_conv2_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "new_embed_states", "semantic": "host.kws.embed_states_out", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "new_processed_lens", "semantic": "host.kws.processed_lens_out", "shape": [ 1 ] } ] }, "joiner": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_frame", "shape": [ 1, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "logit", "semantic": "host.kws.logit", "shape": [ 1, 263 ] } ] } }, "execution": [ "encoder", "decoder", "joiner" ], "execution_contract": { "cancellation_granularity": "checkpoint", "execution_structure": "iterative", "max_open_streams": 1, "orchestration_visibility": "session", "state_bank_mode": "runtime_exclusive", "state_links": [ { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_0_in", "state_bank": "encoder.bank", "state_name": "cached_key_0", "target": "state.cached_key_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_0_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_0", "target": "state.cached_nonlin_attn_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_0_in", "state_bank": "encoder.bank", "state_name": "cached_val1_0", "target": "state.cached_val1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_0_in", "state_bank": "encoder.bank", "state_name": "cached_val2_0", "target": "state.cached_val2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_0", "target": "state.cached_conv1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_0", "target": "state.cached_conv2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_1_in", "state_bank": "encoder.bank", "state_name": "cached_key_1", "target": "state.cached_key_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_1_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_1", "target": "state.cached_nonlin_attn_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_1_in", "state_bank": "encoder.bank", "state_name": "cached_val1_1", "target": "state.cached_val1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_1_in", "state_bank": "encoder.bank", "state_name": "cached_val2_1", "target": "state.cached_val2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_1", "target": "state.cached_conv1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_1", "target": "state.cached_conv2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_2_in", "state_bank": "encoder.bank", "state_name": "cached_key_2", "target": "state.cached_key_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_2_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_2", "target": "state.cached_nonlin_attn_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_2_in", "state_bank": "encoder.bank", "state_name": "cached_val1_2", "target": "state.cached_val1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_2_in", "state_bank": "encoder.bank", "state_name": "cached_val2_2", "target": "state.cached_val2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_2", "target": "state.cached_conv1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_2", "target": "state.cached_conv2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_3_in", "state_bank": "encoder.bank", "state_name": "cached_key_3", "target": "state.cached_key_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_3_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_3", "target": "state.cached_nonlin_attn_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_3_in", "state_bank": "encoder.bank", "state_name": "cached_val1_3", "target": "state.cached_val1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_3_in", "state_bank": "encoder.bank", "state_name": "cached_val2_3", "target": "state.cached_val2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_3", "target": "state.cached_conv1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_3", "target": "state.cached_conv2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_4_in", "state_bank": "encoder.bank", "state_name": "cached_key_4", "target": "state.cached_key_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_4_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_4", "target": "state.cached_nonlin_attn_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_4_in", "state_bank": "encoder.bank", "state_name": "cached_val1_4", "target": "state.cached_val1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_4_in", "state_bank": "encoder.bank", "state_name": "cached_val2_4", "target": "state.cached_val2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_4", "target": "state.cached_conv1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_4", "target": "state.cached_conv2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_5_in", "state_bank": "encoder.bank", "state_name": "cached_key_5", "target": "state.cached_key_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_5_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_5", "target": "state.cached_nonlin_attn_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_5_in", "state_bank": "encoder.bank", "state_name": "cached_val1_5", "target": "state.cached_val1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_5_in", "state_bank": "encoder.bank", "state_name": "cached_val2_5", "target": "state.cached_val2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_5", "target": "state.cached_conv1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_5", "target": "state.cached_conv2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.embed_states_in", "state_bank": "encoder.bank", "state_name": "embed_states", "target": "state.embed_states_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.processed_lens_in", "state_bank": "encoder.bank", "state_name": "processed_lens", "target": "state.processed_lens_out" } ], "state_scope": "stream", "stateful": true }, "metadata": { "audio_contract": { "channel_semantics": "mono", "channels": 1, "chunk_shift": 32, "chunk_size": 45, "execution_mode": "streaming", "frame_shift": 160, "frame_size": 400, "sample_dtype": "float32", "sample_rate_hz": 16000 } }, "revision": 1, "runtime_profile": { "backend": "ascend", "profile": { "device_id": 0 }, "target": { "runtime": "acl", "runtime_abi": "cann-8.1.RC1", "soc": "Ascend310P1" } }, "uuid": "f3fa331d-90f2-5c5c-a067-d8f198678473" }, "torch_cpu": { "artifacts": { "decoder": { "format": "onnx", "path": "assets/onnx/decoder.onnx", "sha256": "63a22dd60f40fff082ac3e09afa507f6787da36df76ded2fbe145fa233e22c21" }, "encoder": { "format": "onnx", "path": "assets/onnx/encoder.onnx", "sha256": "540ff509ed89bd22afe04bf7049a54bb1c95c6d8a18742ea9691910cdb5f859e" }, "joiner": { "format": "onnx", "path": "assets/onnx/joiner.onnx", "sha256": "76f7a24ed0c08633af14b2ee377f747af880d3b65eeba2cd3f31f3380fb73e8d" } }, "bindings": { "decoder": { "inputs": [ { "dtype": "int64", "index": 0, "runtime_name": "y", "semantic": "host.kws.decoder_in", "shape": [ 1, 2 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ] }, "encoder": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "x", "semantic": "host.kws.features", "shape": [ 1, 45, 80 ] }, { "dtype": "float32", "index": 1, "runtime_name": "cached_key_0", "semantic": "host.kws.cached_key_0_in", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_in", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "cached_val1_0", "semantic": "host.kws.cached_val1_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "cached_val2_0", "semantic": "host.kws.cached_val2_0_in", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "cached_conv1_0", "semantic": "host.kws.cached_conv1_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "cached_conv2_0", "semantic": "host.kws.cached_conv2_0_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "cached_key_1", "semantic": "host.kws.cached_key_1_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "cached_val1_1", "semantic": "host.kws.cached_val1_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "cached_val2_1", "semantic": "host.kws.cached_val2_1_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "cached_conv1_1", "semantic": "host.kws.cached_conv1_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "cached_conv2_1", "semantic": "host.kws.cached_conv2_1_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "cached_key_2", "semantic": "host.kws.cached_key_2_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "cached_val1_2", "semantic": "host.kws.cached_val1_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "cached_val2_2", "semantic": "host.kws.cached_val2_2_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "cached_conv1_2", "semantic": "host.kws.cached_conv1_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "cached_conv2_2", "semantic": "host.kws.cached_conv2_2_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "cached_key_3", "semantic": "host.kws.cached_key_3_in", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_in", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "cached_val1_3", "semantic": "host.kws.cached_val1_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "cached_val2_3", "semantic": "host.kws.cached_val2_3_in", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "cached_conv1_3", "semantic": "host.kws.cached_conv1_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "cached_conv2_3", "semantic": "host.kws.cached_conv2_3_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "cached_key_4", "semantic": "host.kws.cached_key_4_in", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_in", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "cached_val1_4", "semantic": "host.kws.cached_val1_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "cached_val2_4", "semantic": "host.kws.cached_val2_4_in", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "cached_conv1_4", "semantic": "host.kws.cached_conv1_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "cached_conv2_4", "semantic": "host.kws.cached_conv2_4_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "cached_key_5", "semantic": "host.kws.cached_key_5_in", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_in", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "cached_val1_5", "semantic": "host.kws.cached_val1_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "cached_val2_5", "semantic": "host.kws.cached_val2_5_in", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "cached_conv1_5", "semantic": "host.kws.cached_conv1_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "cached_conv2_5", "semantic": "host.kws.cached_conv2_5_in", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "embed_states", "semantic": "host.kws.embed_states_in", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "processed_lens", "semantic": "host.kws.processed_lens_in", "shape": [ 1 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_out", "shape": [ 1, 8, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "new_cached_key_0", "semantic": "host.kws.cached_key_0_out", "shape": [ 64, 1, 128 ] }, { "dtype": "float32", "index": 2, "runtime_name": "new_cached_nonlin_attn_0", "semantic": "host.kws.cached_nonlin_attn_0_out", "shape": [ 1, 1, 64, 96 ] }, { "dtype": "float32", "index": 3, "runtime_name": "new_cached_val1_0", "semantic": "host.kws.cached_val1_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 4, "runtime_name": "new_cached_val2_0", "semantic": "host.kws.cached_val2_0_out", "shape": [ 64, 1, 48 ] }, { "dtype": "float32", "index": 5, "runtime_name": "new_cached_conv1_0", "semantic": "host.kws.cached_conv1_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 6, "runtime_name": "new_cached_conv2_0", "semantic": "host.kws.cached_conv2_0_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 7, "runtime_name": "new_cached_key_1", "semantic": "host.kws.cached_key_1_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 8, "runtime_name": "new_cached_nonlin_attn_1", "semantic": "host.kws.cached_nonlin_attn_1_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 9, "runtime_name": "new_cached_val1_1", "semantic": "host.kws.cached_val1_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 10, "runtime_name": "new_cached_val2_1", "semantic": "host.kws.cached_val2_1_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 11, "runtime_name": "new_cached_conv1_1", "semantic": "host.kws.cached_conv1_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 12, "runtime_name": "new_cached_conv2_1", "semantic": "host.kws.cached_conv2_1_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 13, "runtime_name": "new_cached_key_2", "semantic": "host.kws.cached_key_2_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 14, "runtime_name": "new_cached_nonlin_attn_2", "semantic": "host.kws.cached_nonlin_attn_2_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 15, "runtime_name": "new_cached_val1_2", "semantic": "host.kws.cached_val1_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 16, "runtime_name": "new_cached_val2_2", "semantic": "host.kws.cached_val2_2_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 17, "runtime_name": "new_cached_conv1_2", "semantic": "host.kws.cached_conv1_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 18, "runtime_name": "new_cached_conv2_2", "semantic": "host.kws.cached_conv2_2_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 19, "runtime_name": "new_cached_key_3", "semantic": "host.kws.cached_key_3_out", "shape": [ 8, 1, 256 ] }, { "dtype": "float32", "index": 20, "runtime_name": "new_cached_nonlin_attn_3", "semantic": "host.kws.cached_nonlin_attn_3_out", "shape": [ 1, 1, 8, 96 ] }, { "dtype": "float32", "index": 21, "runtime_name": "new_cached_val1_3", "semantic": "host.kws.cached_val1_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 22, "runtime_name": "new_cached_val2_3", "semantic": "host.kws.cached_val2_3_out", "shape": [ 8, 1, 96 ] }, { "dtype": "float32", "index": 23, "runtime_name": "new_cached_conv1_3", "semantic": "host.kws.cached_conv1_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 24, "runtime_name": "new_cached_conv2_3", "semantic": "host.kws.cached_conv2_3_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 25, "runtime_name": "new_cached_key_4", "semantic": "host.kws.cached_key_4_out", "shape": [ 16, 1, 128 ] }, { "dtype": "float32", "index": 26, "runtime_name": "new_cached_nonlin_attn_4", "semantic": "host.kws.cached_nonlin_attn_4_out", "shape": [ 1, 1, 16, 96 ] }, { "dtype": "float32", "index": 27, "runtime_name": "new_cached_val1_4", "semantic": "host.kws.cached_val1_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 28, "runtime_name": "new_cached_val2_4", "semantic": "host.kws.cached_val2_4_out", "shape": [ 16, 1, 48 ] }, { "dtype": "float32", "index": 29, "runtime_name": "new_cached_conv1_4", "semantic": "host.kws.cached_conv1_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 30, "runtime_name": "new_cached_conv2_4", "semantic": "host.kws.cached_conv2_4_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 31, "runtime_name": "new_cached_key_5", "semantic": "host.kws.cached_key_5_out", "shape": [ 32, 1, 128 ] }, { "dtype": "float32", "index": 32, "runtime_name": "new_cached_nonlin_attn_5", "semantic": "host.kws.cached_nonlin_attn_5_out", "shape": [ 1, 1, 32, 96 ] }, { "dtype": "float32", "index": 33, "runtime_name": "new_cached_val1_5", "semantic": "host.kws.cached_val1_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 34, "runtime_name": "new_cached_val2_5", "semantic": "host.kws.cached_val2_5_out", "shape": [ 32, 1, 48 ] }, { "dtype": "float32", "index": 35, "runtime_name": "new_cached_conv1_5", "semantic": "host.kws.cached_conv1_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 36, "runtime_name": "new_cached_conv2_5", "semantic": "host.kws.cached_conv2_5_out", "shape": [ 1, 128, 7 ] }, { "dtype": "float32", "index": 37, "runtime_name": "new_embed_states", "semantic": "host.kws.embed_states_out", "shape": [ 1, 128, 3, 19 ] }, { "dtype": "int64", "index": 38, "runtime_name": "new_processed_lens", "semantic": "host.kws.processed_lens_out", "shape": [ 1 ] } ] }, "joiner": { "inputs": [ { "dtype": "float32", "index": 0, "runtime_name": "encoder_out", "semantic": "host.kws.encoder_frame", "shape": [ 1, 320 ] }, { "dtype": "float32", "index": 1, "runtime_name": "decoder_out", "semantic": "host.kws.decoder_out", "shape": [ 1, 320 ] } ], "outputs": [ { "dtype": "float32", "index": 0, "runtime_name": "logit", "semantic": "host.kws.logit", "shape": [ 1, 263 ] } ] } }, "execution": [ "encoder", "decoder", "joiner" ], "execution_contract": { "cancellation_granularity": "checkpoint", "execution_structure": "iterative", "max_open_streams": 1, "orchestration_visibility": "session", "state_bank_mode": "runtime_exclusive", "state_links": [ { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_0_in", "state_bank": "encoder.bank", "state_name": "cached_key_0", "target": "state.cached_key_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_0_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_0", "target": "state.cached_nonlin_attn_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_0_in", "state_bank": "encoder.bank", "state_name": "cached_val1_0", "target": "state.cached_val1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_0_in", "state_bank": "encoder.bank", "state_name": "cached_val2_0", "target": "state.cached_val2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_0", "target": "state.cached_conv1_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_0_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_0", "target": "state.cached_conv2_0_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_1_in", "state_bank": "encoder.bank", "state_name": "cached_key_1", "target": "state.cached_key_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_1_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_1", "target": "state.cached_nonlin_attn_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_1_in", "state_bank": "encoder.bank", "state_name": "cached_val1_1", "target": "state.cached_val1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_1_in", "state_bank": "encoder.bank", "state_name": "cached_val2_1", "target": "state.cached_val2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_1", "target": "state.cached_conv1_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_1_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_1", "target": "state.cached_conv2_1_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_2_in", "state_bank": "encoder.bank", "state_name": "cached_key_2", "target": "state.cached_key_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_2_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_2", "target": "state.cached_nonlin_attn_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_2_in", "state_bank": "encoder.bank", "state_name": "cached_val1_2", "target": "state.cached_val1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_2_in", "state_bank": "encoder.bank", "state_name": "cached_val2_2", "target": "state.cached_val2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_2", "target": "state.cached_conv1_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_2_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_2", "target": "state.cached_conv2_2_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_3_in", "state_bank": "encoder.bank", "state_name": "cached_key_3", "target": "state.cached_key_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_3_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_3", "target": "state.cached_nonlin_attn_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_3_in", "state_bank": "encoder.bank", "state_name": "cached_val1_3", "target": "state.cached_val1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_3_in", "state_bank": "encoder.bank", "state_name": "cached_val2_3", "target": "state.cached_val2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_3", "target": "state.cached_conv1_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_3_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_3", "target": "state.cached_conv2_3_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_4_in", "state_bank": "encoder.bank", "state_name": "cached_key_4", "target": "state.cached_key_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_4_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_4", "target": "state.cached_nonlin_attn_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_4_in", "state_bank": "encoder.bank", "state_name": "cached_val1_4", "target": "state.cached_val1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_4_in", "state_bank": "encoder.bank", "state_name": "cached_val2_4", "target": "state.cached_val2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_4", "target": "state.cached_conv1_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_4_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_4", "target": "state.cached_conv2_4_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_key_5_in", "state_bank": "encoder.bank", "state_name": "cached_key_5", "target": "state.cached_key_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_nonlin_attn_5_in", "state_bank": "encoder.bank", "state_name": "cached_nonlin_attn_5", "target": "state.cached_nonlin_attn_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val1_5_in", "state_bank": "encoder.bank", "state_name": "cached_val1_5", "target": "state.cached_val1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_val2_5_in", "state_bank": "encoder.bank", "state_name": "cached_val2_5", "target": "state.cached_val2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv1_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv1_5", "target": "state.cached_conv1_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.cached_conv2_5_in", "state_bank": "encoder.bank", "state_name": "cached_conv2_5", "target": "state.cached_conv2_5_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.embed_states_in", "state_bank": "encoder.bank", "state_name": "embed_states", "target": "state.embed_states_out" }, { "owner": "session", "role": "__runtime__", "scope": "runtime", "source": "state.processed_lens_in", "state_bank": "encoder.bank", "state_name": "processed_lens", "target": "state.processed_lens_out" } ], "state_scope": "stream", "stateful": true }, "metadata": { "audio_contract": { "channel_semantics": "mono", "channels": 1, "chunk_shift": 32, "chunk_size": 45, "execution_mode": "streaming", "frame_shift": 160, "frame_size": 400, "sample_dtype": "float32", "sample_rate_hz": 16000 } }, "revision": 1, "runtime_profile": { "backend": "onnx", "profile": { "device": "cpu" }, "target": { "runtime": "onnx" } }, "uuid": "12c04ea8-5930-5b02-aff5-1144ee9e21d2" } }, "model": { "inputs": [ { "dtype": "float32", "semantic": "host.kws.features", "shape": [ 1, 45, 80 ] } ], "interface": "tensor_model", "model_type": "zipformer2_transducer_kws", "operation": "keyword_spotting", "outputs": [ { "dtype": "float32", "semantic": "host.kws.logit", "shape": [ 1, 263 ] } ], "semantic_identity": { "logical_model_revision": "sherpa-onnx-kws-zipformer-zh-en-3M@2025-12-20-chunk16-left64", "output_semantics": "keyword-label-on-trigger-v1", "preprocessing_contract": "kaldi-fbank80-16khz-povey-snipedgesfalse-v1" } }, "schema_version": 3 }