gravix-rtc-react-native 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/CHANGELOG.md +134 -0
  2. package/LICENSE +20 -0
  3. package/LICENSES/Apache-2.0.txt +175 -0
  4. package/NOTICE +68 -0
  5. package/README.md +313 -2
  6. package/android/build.gradle +137 -0
  7. package/android/consumer-rules.pro +29 -0
  8. package/android/src/main/AndroidManifest.xml +9 -0
  9. package/android/src/main/cpp/CMakeLists.txt +48 -0
  10. package/android/src/main/cpp/gx_dfn_engine.c +332 -0
  11. package/android/src/main/cpp/gx_fx_jni.cpp +34 -0
  12. package/android/src/main/cpp/gx_ns_jni.c +162 -0
  13. package/android/src/main/cpp/third_party/onnxruntime/LICENSE +21 -0
  14. package/android/src/main/cpp/third_party/onnxruntime/include/onnxruntime_c_api.h +9227 -0
  15. package/android/src/main/cpp/third_party/onnxruntime/include/onnxruntime_ep_c_api.h +3315 -0
  16. package/android/src/main/cpp/third_party/onnxruntime/include/onnxruntime_error_code.h +98 -0
  17. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixAudioHooks.kt +144 -0
  18. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixAudioModule.kt +105 -0
  19. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixNativeAudio.kt +310 -0
  20. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixRtc.kt +134 -0
  21. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixRtcModule.kt +176 -0
  22. package/android/src/main/java/com/gravitycompile/gravixrtc/GravixRtcPackage.kt +39 -0
  23. package/android/src/main/java/com/gravitycompile/gravixrtc/audio/AudioDeviceKind.java +44 -0
  24. package/android/src/main/java/com/gravitycompile/gravixrtc/audio/AudioManagerUtils.kt +120 -0
  25. package/android/src/main/java/com/gravitycompile/gravixrtc/audio/AudioSwitchManager.java +270 -0
  26. package/android/src/main/java/com/gravitycompile/gravixrtc/audio/AudioType.kt +50 -0
  27. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicCaptureRouter.kt +375 -0
  28. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicDecoder.kt +339 -0
  29. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicInterruptionWatcher.kt +82 -0
  30. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicMicRelease.kt +117 -0
  31. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicMixKernel.kt +191 -0
  32. package/android/src/main/java/com/gravitycompile/gravixrtc/music/MusicMixerEngine.kt +617 -0
  33. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/AudioRoutePolicy.kt +137 -0
  34. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GravixCaptureProcessing.kt +67 -0
  35. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxCaptureDump.kt +143 -0
  36. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxCaptureSwitcher.kt +196 -0
  37. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxNoiseProcessor.kt +795 -0
  38. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxNsLogic.kt +180 -0
  39. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxNsNative.kt +83 -0
  40. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxNsStudio.kt +372 -0
  41. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxRecordStartGuard.kt +76 -0
  42. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxRecorderSeam.kt +434 -0
  43. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxSingerSource.kt +37 -0
  44. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/GxVoiceFx.kt +160 -0
  45. package/android/src/main/java/com/gravitycompile/gravixrtc/processing/OtherAppAudioPolicy.kt +143 -0
  46. package/android/src/main/java/org/webrtc/audio/WebRtcAudioTrackHelper.kt +43 -0
  47. package/docs/ANDROID_NATIVE_HOOKS.md +102 -0
  48. package/docs/FEATURE_MATRIX.md +192 -0
  49. package/docs/IOS_NATIVE_HOOKS.md +190 -0
  50. package/gravix-rtc-react-native.podspec +49 -0
  51. package/ios/GravixRtc.h +7 -0
  52. package/ios/GravixRtc.mm +273 -0
  53. package/ios/GravixRtcSetup.h +29 -0
  54. package/ios/GravixRtcSetup.m +52 -0
  55. package/ios/audio/GravixRtcIosAudio.m +157 -0
  56. package/ios/audio/GxAudioDevice.h +62 -0
  57. package/ios/audio/GxAudioDevice.m +857 -0
  58. package/ios/audio/GxAudioSetup.h +34 -0
  59. package/ios/audio/GxAudioSetup.m +70 -0
  60. package/ios/audio/GxCompat.swift +53 -0
  61. package/ios/audio/GxIosAudio.swift +99 -0
  62. package/ios/audio/GxMusicController.swift +150 -0
  63. package/ios/audio/GxMusicPost.swift +362 -0
  64. package/ios/audio/GxNoiseProcessor.swift +718 -0
  65. package/ios/audio/GxNsDfn3CoreML.swift +195 -0
  66. package/ios/audio/GxNsStudioEngine.swift +237 -0
  67. package/ios/audio/GxNsStudioPack.swift +212 -0
  68. package/ios/audio/GxVoiceFx.swift +161 -0
  69. package/ios/audio/gx_adm_state.h +153 -0
  70. package/ios/gxcore/apple/gx_music_post.c +312 -0
  71. package/ios/gxcore/apple/gx_pcm.c +30 -0
  72. package/ios/gxcore/apple/gxns_build.h +19 -0
  73. package/ios/gxcore/apple/gxns_ios.c +17 -0
  74. package/ios/gxcore/apple/include/gx_fx.h +3 -0
  75. package/ios/gxcore/apple/include/gx_music_post.h +88 -0
  76. package/ios/gxcore/apple/include/gx_ns.h +3 -0
  77. package/ios/gxcore/apple/include/gx_pcm.h +33 -0
  78. package/ios/gxcore/apple/include/gxns_ios.h +18 -0
  79. package/ios/gxcore/apple/include/module.modulemap +10 -0
  80. package/ios/gxcore/apple/shim/rnnoise.h +2 -0
  81. package/ios/gxcore/apple/shim/speex_resampler.h +2 -0
  82. package/ios/gxcore/apple/units/gx_fx_forward.cpp +3 -0
  83. package/ios/gxcore/apple/units/gx_ns.c +7 -0
  84. package/ios/gxcore/apple/units/gx_ns_timer.c +7 -0
  85. package/ios/gxcore/apple/units/rnnoise_celt_lpc.c +7 -0
  86. package/ios/gxcore/apple/units/rnnoise_denoise.c +7 -0
  87. package/ios/gxcore/apple/units/rnnoise_kiss_fft.c +7 -0
  88. package/ios/gxcore/apple/units/rnnoise_pitch.c +7 -0
  89. package/ios/gxcore/apple/units/rnnoise_rnn.c +7 -0
  90. package/ios/gxcore/apple/units/rnnoise_rnn_data.c +7 -0
  91. package/ios/gxcore/apple/units/speexdsp_resample.c +7 -0
  92. package/ios/resources/ns/DFN3-NOTICE.txt +10 -0
  93. package/ios/resources/ns/DeepFilterNet-LICENSE-APACHE +201 -0
  94. package/ios/resources/ns/DeepFilterNet-LICENSE-MIT +19 -0
  95. package/ios/resources/ns/gxns_dfn3.mlmodelc/analytics/coremldata.bin +0 -0
  96. package/ios/resources/ns/gxns_dfn3.mlmodelc/coremldata.bin +0 -0
  97. package/ios/resources/ns/gxns_dfn3.mlmodelc/metadata.json +338 -0
  98. package/ios/resources/ns/gxns_dfn3.mlmodelc/model.mil +927 -0
  99. package/ios/resources/ns/gxns_dfn3.mlmodelc/weights/weight.bin +0 -0
  100. package/lib/module/android/bindings.js +49 -0
  101. package/lib/module/android/bindings.js.map +1 -0
  102. package/lib/module/android/index.js +13 -0
  103. package/lib/module/android/index.js.map +1 -0
  104. package/lib/module/android/micMute.js +341 -0
  105. package/lib/module/android/micMute.js.map +1 -0
  106. package/lib/module/android/nativeAudio.js +47 -0
  107. package/lib/module/android/nativeAudio.js.map +1 -0
  108. package/lib/module/android/noiseSuppression.js +170 -0
  109. package/lib/module/android/noiseSuppression.js.map +1 -0
  110. package/lib/module/android/roomMusic.js +142 -0
  111. package/lib/module/android/roomMusic.js.map +1 -0
  112. package/lib/module/android/singerMode.js +31 -0
  113. package/lib/module/android/singerMode.js.map +1 -0
  114. package/lib/module/android/voiceEffects.js +65 -0
  115. package/lib/module/android/voiceEffects.js.map +1 -0
  116. package/lib/module/audio/AudioManager.js +79 -0
  117. package/lib/module/audio/AudioManager.js.map +1 -0
  118. package/lib/module/audio/AudioSession.js +90 -0
  119. package/lib/module/audio/AudioSession.js.map +1 -0
  120. package/lib/module/audio/remoteVolume.js +54 -0
  121. package/lib/module/audio/remoteVolume.js.map +1 -0
  122. package/lib/module/components/VideoView.js +109 -0
  123. package/lib/module/components/VideoView.js.map +1 -0
  124. package/lib/module/features/audioScenario.js +53 -0
  125. package/lib/module/features/audioScenario.js.map +1 -0
  126. package/lib/module/features/beauty.js +828 -0
  127. package/lib/module/features/beauty.js.map +1 -0
  128. package/lib/module/features/micRelease.js +89 -0
  129. package/lib/module/features/micRelease.js.map +1 -0
  130. package/lib/module/features/noiseSuppression.js +213 -0
  131. package/lib/module/features/noiseSuppression.js.map +1 -0
  132. package/lib/module/features/roomMusic.js +90 -0
  133. package/lib/module/features/roomMusic.js.map +1 -0
  134. package/lib/module/features/roomMusicAndroid.js +294 -0
  135. package/lib/module/features/roomMusicAndroid.js.map +1 -0
  136. package/lib/module/features/roomMusicIos.js +250 -0
  137. package/lib/module/features/roomMusicIos.js.map +1 -0
  138. package/lib/module/features/roomMusicTypes.js +53 -0
  139. package/lib/module/features/roomMusicTypes.js.map +1 -0
  140. package/lib/module/features/screenShare.js +22 -0
  141. package/lib/module/features/screenShare.js.map +1 -0
  142. package/lib/module/features/singerMode.js +73 -0
  143. package/lib/module/features/singerMode.js.map +1 -0
  144. package/lib/module/features/voiceEffects.js +148 -0
  145. package/lib/module/features/voiceEffects.js.map +1 -0
  146. package/lib/module/hooks/context.js +34 -0
  147. package/lib/module/hooks/context.js.map +1 -0
  148. package/lib/module/hooks/hooks.js +145 -0
  149. package/lib/module/hooks/hooks.js.map +1 -0
  150. package/lib/module/hooks/types.js +4 -0
  151. package/lib/module/hooks/types.js.map +1 -0
  152. package/lib/module/hooks/useRoomEvents.js +30 -0
  153. package/lib/module/hooks/useRoomEvents.js.map +1 -0
  154. package/lib/module/index.js +43 -0
  155. package/lib/module/index.js.map +1 -0
  156. package/lib/module/ios/autoAttach.js +14 -0
  157. package/lib/module/ios/autoAttach.js.map +1 -0
  158. package/lib/module/ios/iosAudio.js +149 -0
  159. package/lib/module/ios/iosAudio.js.map +1 -0
  160. package/lib/module/join/appStateLifecycle.js +54 -0
  161. package/lib/module/join/appStateLifecycle.js.map +1 -0
  162. package/lib/module/micPolicy.js +249 -0
  163. package/lib/module/micPolicy.js.map +1 -0
  164. package/lib/module/native/NativeGravixAudio.js +18 -0
  165. package/lib/module/native/NativeGravixAudio.js.map +1 -0
  166. package/lib/module/native/NativeGravixRtc.js +13 -0
  167. package/lib/module/native/NativeGravixRtc.js.map +1 -0
  168. package/lib/module/native/module.js +23 -0
  169. package/lib/module/native/module.js.map +1 -0
  170. package/lib/module/package.json +1 -0
  171. package/lib/module/polyfills/DOMException.js +22 -0
  172. package/lib/module/polyfills/DOMException.js.map +1 -0
  173. package/lib/module/polyfills/early.js +18 -0
  174. package/lib/module/polyfills/early.js.map +1 -0
  175. package/lib/module/polyfills/event.js +71 -0
  176. package/lib/module/polyfills/event.js.map +1 -0
  177. package/lib/module/polyfills/sha256.js +92 -0
  178. package/lib/module/polyfills/sha256.js.map +1 -0
  179. package/lib/module/polyfills/subtleHmac.js +91 -0
  180. package/lib/module/polyfills/subtleHmac.js.map +1 -0
  181. package/lib/module/polyfills/textCoding.js +164 -0
  182. package/lib/module/polyfills/textCoding.js.map +1 -0
  183. package/lib/module/registerGlobals.js +135 -0
  184. package/lib/module/registerGlobals.js.map +1 -0
  185. package/lib/module/unsupported.js +90 -0
  186. package/lib/module/unsupported.js.map +1 -0
  187. package/lib/module/version.js +7 -0
  188. package/lib/module/version.js.map +1 -0
  189. package/lib/typescript/package.json +1 -0
  190. package/lib/typescript/src/android/bindings.d.ts +14 -0
  191. package/lib/typescript/src/android/bindings.d.ts.map +1 -0
  192. package/lib/typescript/src/android/index.d.ts +9 -0
  193. package/lib/typescript/src/android/index.d.ts.map +1 -0
  194. package/lib/typescript/src/android/micMute.d.ts +124 -0
  195. package/lib/typescript/src/android/micMute.d.ts.map +1 -0
  196. package/lib/typescript/src/android/nativeAudio.d.ts +40 -0
  197. package/lib/typescript/src/android/nativeAudio.d.ts.map +1 -0
  198. package/lib/typescript/src/android/noiseSuppression.d.ts +48 -0
  199. package/lib/typescript/src/android/noiseSuppression.d.ts.map +1 -0
  200. package/lib/typescript/src/android/roomMusic.d.ts +80 -0
  201. package/lib/typescript/src/android/roomMusic.d.ts.map +1 -0
  202. package/lib/typescript/src/android/singerMode.d.ts +27 -0
  203. package/lib/typescript/src/android/singerMode.d.ts.map +1 -0
  204. package/lib/typescript/src/android/voiceEffects.d.ts +30 -0
  205. package/lib/typescript/src/android/voiceEffects.d.ts.map +1 -0
  206. package/lib/typescript/src/audio/AudioManager.d.ts +32 -0
  207. package/lib/typescript/src/audio/AudioManager.d.ts.map +1 -0
  208. package/lib/typescript/src/audio/AudioSession.d.ts +70 -0
  209. package/lib/typescript/src/audio/AudioSession.d.ts.map +1 -0
  210. package/lib/typescript/src/audio/remoteVolume.d.ts +8 -0
  211. package/lib/typescript/src/audio/remoteVolume.d.ts.map +1 -0
  212. package/lib/typescript/src/components/VideoView.d.ts +44 -0
  213. package/lib/typescript/src/components/VideoView.d.ts.map +1 -0
  214. package/lib/typescript/src/features/audioScenario.d.ts +24 -0
  215. package/lib/typescript/src/features/audioScenario.d.ts.map +1 -0
  216. package/lib/typescript/src/features/beauty.d.ts +377 -0
  217. package/lib/typescript/src/features/beauty.d.ts.map +1 -0
  218. package/lib/typescript/src/features/micRelease.d.ts +28 -0
  219. package/lib/typescript/src/features/micRelease.d.ts.map +1 -0
  220. package/lib/typescript/src/features/noiseSuppression.d.ts +64 -0
  221. package/lib/typescript/src/features/noiseSuppression.d.ts.map +1 -0
  222. package/lib/typescript/src/features/roomMusic.d.ts +41 -0
  223. package/lib/typescript/src/features/roomMusic.d.ts.map +1 -0
  224. package/lib/typescript/src/features/roomMusicAndroid.d.ts +60 -0
  225. package/lib/typescript/src/features/roomMusicAndroid.d.ts.map +1 -0
  226. package/lib/typescript/src/features/roomMusicIos.d.ts +56 -0
  227. package/lib/typescript/src/features/roomMusicIos.d.ts.map +1 -0
  228. package/lib/typescript/src/features/roomMusicTypes.d.ts +76 -0
  229. package/lib/typescript/src/features/roomMusicTypes.d.ts.map +1 -0
  230. package/lib/typescript/src/features/screenShare.d.ts +12 -0
  231. package/lib/typescript/src/features/screenShare.d.ts.map +1 -0
  232. package/lib/typescript/src/features/singerMode.d.ts +20 -0
  233. package/lib/typescript/src/features/singerMode.d.ts.map +1 -0
  234. package/lib/typescript/src/features/voiceEffects.d.ts +46 -0
  235. package/lib/typescript/src/features/voiceEffects.d.ts.map +1 -0
  236. package/lib/typescript/src/hooks/context.d.ts +12 -0
  237. package/lib/typescript/src/hooks/context.d.ts.map +1 -0
  238. package/lib/typescript/src/hooks/hooks.d.ts +54 -0
  239. package/lib/typescript/src/hooks/hooks.d.ts.map +1 -0
  240. package/lib/typescript/src/hooks/types.d.ts +8 -0
  241. package/lib/typescript/src/hooks/types.d.ts.map +1 -0
  242. package/lib/typescript/src/hooks/useRoomEvents.d.ts +13 -0
  243. package/lib/typescript/src/hooks/useRoomEvents.d.ts.map +1 -0
  244. package/lib/typescript/src/index.d.ts +37 -0
  245. package/lib/typescript/src/index.d.ts.map +1 -0
  246. package/lib/typescript/src/ios/autoAttach.d.ts +2 -0
  247. package/lib/typescript/src/ios/autoAttach.d.ts.map +1 -0
  248. package/lib/typescript/src/ios/iosAudio.d.ts +96 -0
  249. package/lib/typescript/src/ios/iosAudio.d.ts.map +1 -0
  250. package/lib/typescript/src/join/appStateLifecycle.d.ts +14 -0
  251. package/lib/typescript/src/join/appStateLifecycle.d.ts.map +1 -0
  252. package/lib/typescript/src/micPolicy.d.ts +104 -0
  253. package/lib/typescript/src/micPolicy.d.ts.map +1 -0
  254. package/lib/typescript/src/native/NativeGravixAudio.d.ts +21 -0
  255. package/lib/typescript/src/native/NativeGravixAudio.d.ts.map +1 -0
  256. package/lib/typescript/src/native/NativeGravixRtc.d.ts +31 -0
  257. package/lib/typescript/src/native/NativeGravixRtc.d.ts.map +1 -0
  258. package/lib/typescript/src/native/module.d.ts +7 -0
  259. package/lib/typescript/src/native/module.d.ts.map +1 -0
  260. package/lib/typescript/src/polyfills/DOMException.d.ts +3 -0
  261. package/lib/typescript/src/polyfills/DOMException.d.ts.map +1 -0
  262. package/lib/typescript/src/polyfills/early.d.ts +2 -0
  263. package/lib/typescript/src/polyfills/early.d.ts.map +1 -0
  264. package/lib/typescript/src/polyfills/event.d.ts +2 -0
  265. package/lib/typescript/src/polyfills/event.d.ts.map +1 -0
  266. package/lib/typescript/src/polyfills/sha256.d.ts +3 -0
  267. package/lib/typescript/src/polyfills/sha256.d.ts.map +1 -0
  268. package/lib/typescript/src/polyfills/subtleHmac.d.ts +37 -0
  269. package/lib/typescript/src/polyfills/subtleHmac.d.ts.map +1 -0
  270. package/lib/typescript/src/polyfills/textCoding.d.ts +36 -0
  271. package/lib/typescript/src/polyfills/textCoding.d.ts.map +1 -0
  272. package/lib/typescript/src/registerGlobals.d.ts +42 -0
  273. package/lib/typescript/src/registerGlobals.d.ts.map +1 -0
  274. package/lib/typescript/src/unsupported.d.ts +42 -0
  275. package/lib/typescript/src/unsupported.d.ts.map +1 -0
  276. package/lib/typescript/src/version.d.ts +3 -0
  277. package/lib/typescript/src/version.d.ts.map +1 -0
  278. package/metro/index.js +39 -0
  279. package/metro/noise-stub.js +10 -0
  280. package/native/gxfx/include/gx_fx.h +82 -0
  281. package/native/gxfx/src/gx_fx.cpp +527 -0
  282. package/native/gxfx/third_party/README.md +4 -0
  283. package/native/gxfx/third_party/signalsmith-linear/LICENSE.txt +21 -0
  284. package/native/gxfx/third_party/signalsmith-linear/approx.h +191 -0
  285. package/native/gxfx/third_party/signalsmith-linear/fft.h +1386 -0
  286. package/native/gxfx/third_party/signalsmith-linear/linear.h +1129 -0
  287. package/native/gxfx/third_party/signalsmith-linear/platform/approx-cmsisdsp.h +40 -0
  288. package/native/gxfx/third_party/signalsmith-linear/platform/basic-fill-warnings.h +61 -0
  289. package/native/gxfx/third_party/signalsmith-linear/platform/fft-accelerate.h +340 -0
  290. package/native/gxfx/third_party/signalsmith-linear/platform/fft-cmsisdsp.h +307 -0
  291. package/native/gxfx/third_party/signalsmith-linear/platform/fft-ipp.h +532 -0
  292. package/native/gxfx/third_party/signalsmith-linear/platform/fft-linear.h +213 -0
  293. package/native/gxfx/third_party/signalsmith-linear/platform/fft-pffft-double.h +221 -0
  294. package/native/gxfx/third_party/signalsmith-linear/platform/fft-pffft.h +221 -0
  295. package/native/gxfx/third_party/signalsmith-linear/platform/linear-accelerate.h +593 -0
  296. package/native/gxfx/third_party/signalsmith-linear/platform/linear-cmsisdsp.h +713 -0
  297. package/native/gxfx/third_party/signalsmith-linear/platform/linear-xsimd-dispatch.cpp +6 -0
  298. package/native/gxfx/third_party/signalsmith-linear/platform/linear-xsimd.h +818 -0
  299. package/native/gxfx/third_party/signalsmith-linear/stft.h +700 -0
  300. package/native/gxfx/third_party/signalsmith-stretch-LICENSE.txt +21 -0
  301. package/native/gxfx/third_party/signalsmith-stretch.h +1060 -0
  302. package/native/gxns/CMakeLists.txt +67 -0
  303. package/native/gxns/include/gx_ns.h +285 -0
  304. package/native/gxns/src/gx_ns.c +1518 -0
  305. package/native/gxns/src/gx_ns_timer.c +84 -0
  306. package/native/gxns/src/gx_ns_timer.h +29 -0
  307. package/native/gxns/third_party/VENDOR.md +43 -0
  308. package/native/gxns/third_party/rnnoise/AUTHORS +1 -0
  309. package/native/gxns/third_party/rnnoise/COPYING +31 -0
  310. package/native/gxns/third_party/rnnoise/include/rnnoise.h +117 -0
  311. package/native/gxns/third_party/rnnoise/src/_kiss_fft_guts.h +182 -0
  312. package/native/gxns/third_party/rnnoise/src/arch.h +261 -0
  313. package/native/gxns/third_party/rnnoise/src/celt_lpc.c +172 -0
  314. package/native/gxns/third_party/rnnoise/src/celt_lpc.h +45 -0
  315. package/native/gxns/third_party/rnnoise/src/common.h +48 -0
  316. package/native/gxns/third_party/rnnoise/src/denoise.c +664 -0
  317. package/native/gxns/third_party/rnnoise/src/kiss_fft.c +601 -0
  318. package/native/gxns/third_party/rnnoise/src/kiss_fft.h +203 -0
  319. package/native/gxns/third_party/rnnoise/src/opus_types.h +159 -0
  320. package/native/gxns/third_party/rnnoise/src/pitch.c +523 -0
  321. package/native/gxns/third_party/rnnoise/src/pitch.h +149 -0
  322. package/native/gxns/third_party/rnnoise/src/rnn.c +178 -0
  323. package/native/gxns/third_party/rnnoise/src/rnn.h +65 -0
  324. package/native/gxns/third_party/rnnoise/src/rnn_data.c +11051 -0
  325. package/native/gxns/third_party/rnnoise/src/rnn_data.h +34 -0
  326. package/native/gxns/third_party/rnnoise/src/tansig_table.h +45 -0
  327. package/native/gxns/third_party/speexdsp/AUTHORS +18 -0
  328. package/native/gxns/third_party/speexdsp/COPYING +35 -0
  329. package/native/gxns/third_party/speexdsp/arch.h +232 -0
  330. package/native/gxns/third_party/speexdsp/resample.c +1239 -0
  331. package/native/gxns/third_party/speexdsp/resample_neon.h +339 -0
  332. package/native/gxns/third_party/speexdsp/resample_sse.h +128 -0
  333. package/native/gxns/third_party/speexdsp/speex_resampler.h +343 -0
  334. package/package.json +186 -4
  335. package/src/android/bindings.ts +61 -0
  336. package/src/android/index.ts +10 -0
  337. package/src/android/micMute.ts +422 -0
  338. package/src/android/nativeAudio.ts +94 -0
  339. package/src/android/noiseSuppression.ts +209 -0
  340. package/src/android/roomMusic.ts +193 -0
  341. package/src/android/singerMode.ts +53 -0
  342. package/src/android/voiceEffects.ts +126 -0
  343. package/src/audio/AudioManager.ts +111 -0
  344. package/src/audio/AudioSession.ts +190 -0
  345. package/src/audio/remoteVolume.ts +58 -0
  346. package/src/components/VideoView.tsx +152 -0
  347. package/src/features/audioScenario.ts +58 -0
  348. package/src/features/beauty.ts +1057 -0
  349. package/src/features/micRelease.ts +108 -0
  350. package/src/features/noiseSuppression.ts +251 -0
  351. package/src/features/roomMusic.ts +106 -0
  352. package/src/features/roomMusicAndroid.ts +310 -0
  353. package/src/features/roomMusicIos.ts +300 -0
  354. package/src/features/roomMusicTypes.ts +97 -0
  355. package/src/features/screenShare.ts +19 -0
  356. package/src/features/singerMode.ts +70 -0
  357. package/src/features/voiceEffects.ts +245 -0
  358. package/src/hooks/context.tsx +38 -0
  359. package/src/hooks/hooks.ts +247 -0
  360. package/src/hooks/types.ts +10 -0
  361. package/src/hooks/useRoomEvents.ts +35 -0
  362. package/src/index.tsx +134 -0
  363. package/src/ios/autoAttach.ts +11 -0
  364. package/src/ios/iosAudio.ts +202 -0
  365. package/src/join/appStateLifecycle.ts +55 -0
  366. package/src/micPolicy.ts +312 -0
  367. package/src/native/NativeGravixAudio.ts +30 -0
  368. package/src/native/NativeGravixRtc.ts +38 -0
  369. package/src/native/module.ts +22 -0
  370. package/src/polyfills/DOMException.ts +20 -0
  371. package/src/polyfills/early.ts +16 -0
  372. package/src/polyfills/event.ts +88 -0
  373. package/src/polyfills/sha256.ts +112 -0
  374. package/src/polyfills/subtleHmac.ts +124 -0
  375. package/src/polyfills/textCoding.ts +197 -0
  376. package/src/registerGlobals.ts +201 -0
  377. package/src/unsupported.ts +139 -0
  378. package/src/version.ts +4 -0
@@ -0,0 +1,927 @@
1
+ program(1.0)
2
+ [buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3600.16.1"}, {"coremlc-version", "3600.25.1"}})]
3
+ {
4
+ func main<ios16>(tensor<fp32, [480]> analysis_mem, tensor<fp32, [1, 96, 1]> band_unit_norm_state, tensor<fp32, [2, 1, 256]> df_dec_hidden, tensor<fp32, [1, 1, 256]> enc_hidden, tensor<fp32, [2, 1, 256]> erb_dec_hidden, tensor<fp32, [32]> erb_norm_state, tensor<fp32, [960, 481]> gx_dft_cos, tensor<fp32, [960, 481]> gx_dft_sin, tensor<fp32, [480]> input_frame, tensor<fp32, [1, 64, 5, 96]> rolling_c0_buf, tensor<fp32, [1, 1, 3, 32]> rolling_erb_buf, tensor<fp32, [1, 2, 3, 96]> rolling_feat_spec_buf, tensor<fp32, [5, 481, 2]> rolling_spec_buf_x, tensor<fp32, [7, 481, 2]> rolling_spec_buf_y, tensor<fp32, [480]> synthesis_mem) {
5
+ tensor<fp32, [960]> m_window = const()[name = tensor<string, []>("m_window"), val = tensor<fp32, [960]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
6
+ tensor<fp32, [32, 96, 16]> m_enc_df_fc_emb_0_weight = const()[name = tensor<string, []>("m_enc_df_fc_emb_0_weight"), val = tensor<fp32, [32, 96, 16]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3968)))];
7
+ tensor<fp32, [16, 32, 16]> m_enc_emb_gru_linear_in_0_weight = const()[name = tensor<string, []>("m_enc_emb_gru_linear_in_0_weight"), val = tensor<fp32, [16, 32, 16]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(200640)))];
8
+ tensor<fp32, [16, 16, 32]> m_enc_emb_gru_linear_out_0_weight = const()[name = tensor<string, []>("m_enc_emb_gru_linear_out_0_weight"), val = tensor<fp32, [16, 16, 32]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(233472)))];
9
+ tensor<fp32, [16, 32, 16]> m_erb_dec_emb_gru_linear_in_0_weight = const()[name = tensor<string, []>("m_erb_dec_emb_gru_linear_in_0_weight"), val = tensor<fp32, [16, 32, 16]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(266304)))];
10
+ tensor<fp32, [16, 16, 32]> m_erb_dec_emb_gru_linear_out_0_weight = const()[name = tensor<string, []>("m_erb_dec_emb_gru_linear_out_0_weight"), val = tensor<fp32, [16, 16, 32]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(299136)))];
11
+ tensor<fp32, [8, 64, 32]> m_df_dec_df_gru_linear_in_0_weight = const()[name = tensor<string, []>("m_df_dec_df_gru_linear_in_0_weight"), val = tensor<fp32, [8, 64, 32]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(331968)))];
12
+ tensor<fp32, [16, 32, 16]> m_df_dec_df_skip_weight = const()[name = tensor<string, []>("m_df_dec_df_skip_weight"), val = tensor<fp32, [16, 32, 16]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(397568)))];
13
+ tensor<fp32, [16, 16, 60]> m_df_dec_df_out_0_weight = const()[name = tensor<string, []>("m_df_dec_df_out_0_weight"), val = tensor<fp32, [16, 16, 60]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(430400)))];
14
+ tensor<bool, []> var_32 = const()[name = tensor<string, []>("op_32"), val = tensor<bool, []>(true)];
15
+ tensor<int32, []> var_36 = const()[name = tensor<string, []>("op_36"), val = tensor<int32, []>(2)];
16
+ tensor<int32, []> var_40 = const()[name = tensor<string, []>("op_40"), val = tensor<int32, []>(0)];
17
+ tensor<bool, []> var_48_interleave_0 = const()[name = tensor<string, []>("op_48_interleave_0"), val = tensor<bool, []>(false)];
18
+ tensor<fp32, [960]> var_48 = concat(axis = var_40, interleave = var_48_interleave_0, values = (analysis_mem, input_frame))[name = tensor<string, []>("op_48")];
19
+ tensor<fp32, [960]> buf = mul(x = var_48, y = m_window)[name = tensor<string, []>("buf")];
20
+ tensor<bool, []> re_1_transpose_x_0 = const()[name = tensor<string, []>("re_1_transpose_x_0"), val = tensor<bool, []>(false)];
21
+ tensor<bool, []> re_1_transpose_y_0 = const()[name = tensor<string, []>("re_1_transpose_y_0"), val = tensor<bool, []>(false)];
22
+ tensor<fp32, [481]> re_1 = matmul(transpose_x = re_1_transpose_x_0, transpose_y = re_1_transpose_y_0, x = buf, y = gx_dft_cos)[name = tensor<string, []>("re_1")];
23
+ tensor<bool, []> var_51_transpose_x_0 = const()[name = tensor<string, []>("op_51_transpose_x_0"), val = tensor<bool, []>(false)];
24
+ tensor<bool, []> var_51_transpose_y_0 = const()[name = tensor<string, []>("op_51_transpose_y_0"), val = tensor<bool, []>(false)];
25
+ tensor<fp32, [481]> var_51 = matmul(transpose_x = var_51_transpose_x_0, transpose_y = var_51_transpose_y_0, x = buf, y = gx_dft_sin)[name = tensor<string, []>("op_51")];
26
+ tensor<fp32, []> const_0_promoted = const()[name = tensor<string, []>("const_0_promoted"), val = tensor<fp32, []>(-0x1p+0)];
27
+ tensor<fp32, [481]> im_1 = mul(x = var_51, y = const_0_promoted)[name = tensor<string, []>("im_1")];
28
+ tensor<int32, []> var_54_axis_0 = const()[name = tensor<string, []>("op_54_axis_0"), val = tensor<int32, []>(-1)];
29
+ tensor<fp32, [481, 2]> var_54 = stack(axis = var_54_axis_0, values = (re_1, im_1))[name = tensor<string, []>("op_54")];
30
+ tensor<fp32, []> var_55 = const()[name = tensor<string, []>("op_55"), val = tensor<fp32, []>(0x1.111112p-10)];
31
+ tensor<fp32, [481, 2]> spectrogram_1 = mul(x = var_54, y = var_55)[name = tensor<string, []>("spectrogram_1")];
32
+ tensor<int32, [1]> spectrogram_axes_0 = const()[name = tensor<string, []>("spectrogram_axes_0"), val = tensor<int32, [1]>([0])];
33
+ tensor<fp32, [1, 481, 2]> spectrogram = expand_dims(axes = spectrogram_axes_0, x = spectrogram_1)[name = tensor<string, []>("spectrogram")];
34
+ tensor<int32, [3]> var_58_begin_0 = const()[name = tensor<string, []>("op_58_begin_0"), val = tensor<int32, [3]>([1, 0, 0])];
35
+ tensor<int32, [3]> var_58_end_0 = const()[name = tensor<string, []>("op_58_end_0"), val = tensor<int32, [3]>([5, 481, 2])];
36
+ tensor<bool, [3]> var_58_end_mask_0 = const()[name = tensor<string, []>("op_58_end_mask_0"), val = tensor<bool, [3]>([true, true, true])];
37
+ tensor<fp32, [4, 481, 2]> var_58 = slice_by_index(begin = var_58_begin_0, end = var_58_end_0, end_mask = var_58_end_mask_0, x = rolling_spec_buf_x)[name = tensor<string, []>("op_58")];
38
+ tensor<bool, []> rolling_spec_buf_x_interleave_0 = const()[name = tensor<string, []>("rolling_spec_buf_x_interleave_0"), val = tensor<bool, []>(false)];
39
+ tensor<fp32, [5, 481, 2]> new_rolling_spec_buf_x = concat(axis = var_40, interleave = rolling_spec_buf_x_interleave_0, values = (var_58, spectrogram))[name = tensor<string, []>("rolling_spec_buf_x")];
40
+ tensor<int32, [3]> var_61_begin_0 = const()[name = tensor<string, []>("op_61_begin_0"), val = tensor<int32, [3]>([1, 0, 0])];
41
+ tensor<int32, [3]> var_61_end_0 = const()[name = tensor<string, []>("op_61_end_0"), val = tensor<int32, [3]>([7, 481, 2])];
42
+ tensor<bool, [3]> var_61_end_mask_0 = const()[name = tensor<string, []>("op_61_end_mask_0"), val = tensor<bool, [3]>([true, true, true])];
43
+ tensor<fp32, [6, 481, 2]> var_61 = slice_by_index(begin = var_61_begin_0, end = var_61_end_0, end_mask = var_61_end_mask_0, x = rolling_spec_buf_y)[name = tensor<string, []>("op_61")];
44
+ tensor<bool, []> new_rolling_spec_buf_y_interleave_0 = const()[name = tensor<string, []>("new_rolling_spec_buf_y_interleave_0"), val = tensor<bool, []>(false)];
45
+ tensor<fp32, [7, 481, 2]> new_rolling_spec_buf_y = concat(axis = var_40, interleave = new_rolling_spec_buf_y_interleave_0, values = (var_61, spectrogram))[name = tensor<string, []>("new_rolling_spec_buf_y")];
46
+ tensor<fp32, []> var_36_promoted = const()[name = tensor<string, []>("op_36_promoted"), val = tensor<fp32, []>(0x1p+1)];
47
+ tensor<fp32, [1, 481, 2]> var_64 = pow(x = spectrogram, y = var_36_promoted)[name = tensor<string, []>("op_64")];
48
+ tensor<int32, [1]> magnitude_squared_axes_0 = const()[name = tensor<string, []>("magnitude_squared_axes_0"), val = tensor<int32, [1]>([-1])];
49
+ tensor<bool, []> magnitude_squared_keep_dims_0 = const()[name = tensor<string, []>("magnitude_squared_keep_dims_0"), val = tensor<bool, []>(false)];
50
+ tensor<fp32, [1, 481]> magnitude_squared = reduce_sum(axes = magnitude_squared_axes_0, keep_dims = magnitude_squared_keep_dims_0, x = var_64)[name = tensor<string, []>("magnitude_squared")];
51
+ tensor<fp32, [32, 481]> transpose_0 = const()[name = tensor<string, []>("transpose_0"), val = tensor<fp32, [32, 481]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(491904)))];
52
+ tensor<fp32, [32]> erb_features_bias_0 = const()[name = tensor<string, []>("erb_features_bias_0"), val = tensor<fp32, [32]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(553536)))];
53
+ tensor<fp32, [1, 32]> erb_features = linear(bias = erb_features_bias_0, weight = transpose_0, x = magnitude_squared)[name = tensor<string, []>("erb_features")];
54
+ tensor<fp32, []> var_68 = const()[name = tensor<string, []>("op_68"), val = tensor<fp32, []>(0x1.b7cdfep-34)];
55
+ tensor<fp32, [1, 32]> var_69 = add(x = erb_features, y = var_68)[name = tensor<string, []>("op_69")];
56
+ tensor<fp32, []> log_0_epsilon_0 = const()[name = tensor<string, []>("log_0_epsilon_0"), val = tensor<fp32, []>(0x1p-149)];
57
+ tensor<fp32, [1, 32]> log_0 = log(epsilon = log_0_epsilon_0, x = var_69)[name = tensor<string, []>("log_0")];
58
+ tensor<fp32, []> mul_0_y_0 = const()[name = tensor<string, []>("mul_0_y_0"), val = tensor<fp32, []>(0x1.bcb7b2p-2)];
59
+ tensor<fp32, [1, 32]> mul_0 = mul(x = log_0, y = mul_0_y_0)[name = tensor<string, []>("mul_0")];
60
+ tensor<fp32, []> var_71 = const()[name = tensor<string, []>("op_71"), val = tensor<fp32, []>(0x1.4p+3)];
61
+ tensor<fp32, [1, 32]> var_72 = mul(x = mul_0, y = var_71)[name = tensor<string, []>("op_72")];
62
+ tensor<int32, [1]> xs_1_axes_0 = const()[name = tensor<string, []>("xs_1_axes_0"), val = tensor<int32, [1]>([0])];
63
+ tensor<fp32, [32]> xs_1 = squeeze(axes = xs_1_axes_0, x = var_72)[name = tensor<string, []>("xs_1")];
64
+ tensor<fp32, []> var_74 = const()[name = tensor<string, []>("op_74"), val = tensor<fp32, []>(0x1.47ae14p-7)];
65
+ tensor<fp32, [32]> var_75 = mul(x = xs_1, y = var_74)[name = tensor<string, []>("op_75")];
66
+ tensor<fp32, []> var_76 = const()[name = tensor<string, []>("op_76"), val = tensor<fp32, []>(0x1.fae148p-1)];
67
+ tensor<fp32, [32]> var_77 = mul(x = erb_norm_state, y = var_76)[name = tensor<string, []>("op_77")];
68
+ tensor<fp32, [32]> new_erb_norm_state = add(x = var_75, y = var_77)[name = tensor<string, []>("new_erb_norm_state")];
69
+ tensor<fp32, [32]> var_79 = sub(x = xs_1, y = new_erb_norm_state)[name = tensor<string, []>("op_79")];
70
+ tensor<fp32, []> _inversed_erb_feat_1_y_0 = const()[name = tensor<string, []>("_inversed_erb_feat_1_y_0"), val = tensor<fp32, []>(0x1.99999ap-6)];
71
+ tensor<fp32, [32]> _inversed_erb_feat_1 = mul(x = var_79, y = _inversed_erb_feat_1_y_0)[name = tensor<string, []>("_inversed_erb_feat_1")];
72
+ tensor<int32, [3]> xs_begin_0 = const()[name = tensor<string, []>("xs_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
73
+ tensor<int32, [3]> xs_end_0 = const()[name = tensor<string, []>("xs_end_0"), val = tensor<int32, [3]>([1, 96, 2])];
74
+ tensor<bool, [3]> xs_end_mask_0 = const()[name = tensor<string, []>("xs_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
75
+ tensor<fp32, [1, 96, 2]> xs = slice_by_index(begin = xs_begin_0, end = xs_end_0, end_mask = xs_end_mask_0, x = spectrogram)[name = tensor<string, []>("xs")];
76
+ tensor<int32, [1]> xs_abs_axes_0 = const()[name = tensor<string, []>("xs_abs_axes_0"), val = tensor<int32, [1]>([-1])];
77
+ tensor<fp32, [1, 96, 1]> xs_abs = reduce_l2_norm(axes = xs_abs_axes_0, keep_dims = var_32, x = xs)[name = tensor<string, []>("xs_abs")];
78
+ tensor<fp32, []> var_86 = const()[name = tensor<string, []>("op_86"), val = tensor<fp32, []>(0x1.47ae14p-7)];
79
+ tensor<fp32, [1, 96, 1]> var_87 = mul(x = xs_abs, y = var_86)[name = tensor<string, []>("op_87")];
80
+ tensor<fp32, []> var_88 = const()[name = tensor<string, []>("op_88"), val = tensor<fp32, []>(0x1.fae148p-1)];
81
+ tensor<fp32, [1, 96, 1]> var_89 = mul(x = band_unit_norm_state, y = var_88)[name = tensor<string, []>("op_89")];
82
+ tensor<fp32, [1, 96, 1]> new_band_unit_norm_state = add(x = var_87, y = var_89)[name = tensor<string, []>("new_band_unit_norm_state")];
83
+ tensor<fp32, [1, 96, 1]> var_91 = sqrt(x = new_band_unit_norm_state)[name = tensor<string, []>("op_91")];
84
+ tensor<fp32, [1, 96, 2]> spec_feat_1 = real_div(x = xs, y = var_91)[name = tensor<string, []>("spec_feat_1")];
85
+ tensor<int32, [1]> var_93_axes_0 = const()[name = tensor<string, []>("op_93_axes_0"), val = tensor<int32, [1]>([0])];
86
+ tensor<fp32, [1, 32]> var_93 = expand_dims(axes = var_93_axes_0, x = _inversed_erb_feat_1)[name = tensor<string, []>("op_93")];
87
+ tensor<int32, [1]> var_94_axes_0 = const()[name = tensor<string, []>("op_94_axes_0"), val = tensor<int32, [1]>([1])];
88
+ tensor<fp32, [1, 1, 32]> var_94 = expand_dims(axes = var_94_axes_0, x = var_93)[name = tensor<string, []>("op_94")];
89
+ tensor<int32, [1]> erb_feat_axes_0 = const()[name = tensor<string, []>("erb_feat_axes_0"), val = tensor<int32, [1]>([2])];
90
+ tensor<fp32, [1, 1, 1, 32]> erb_feat = expand_dims(axes = erb_feat_axes_0, x = var_94)[name = tensor<string, []>("erb_feat")];
91
+ tensor<int32, [1]> var_96_axes_0 = const()[name = tensor<string, []>("op_96_axes_0"), val = tensor<int32, [1]>([0])];
92
+ tensor<fp32, [1, 1, 96, 2]> var_96 = expand_dims(axes = var_96_axes_0, x = spec_feat_1)[name = tensor<string, []>("op_96")];
93
+ tensor<int32, [4]> var_97 = const()[name = tensor<string, []>("op_97"), val = tensor<int32, [4]>([0, 3, 1, 2])];
94
+ tensor<int32, [4]> var_101_begin_0 = const()[name = tensor<string, []>("op_101_begin_0"), val = tensor<int32, [4]>([0, 0, 1, 0])];
95
+ tensor<int32, [4]> var_101_end_0 = const()[name = tensor<string, []>("op_101_end_0"), val = tensor<int32, [4]>([1, 1, 3, 32])];
96
+ tensor<bool, [4]> var_101_end_mask_0 = const()[name = tensor<string, []>("op_101_end_mask_0"), val = tensor<bool, [4]>([true, true, true, true])];
97
+ tensor<fp32, [1, 1, 2, 32]> var_101 = slice_by_index(begin = var_101_begin_0, end = var_101_end_0, end_mask = var_101_end_mask_0, x = rolling_erb_buf)[name = tensor<string, []>("op_101")];
98
+ tensor<bool, []> input_1_interleave_0 = const()[name = tensor<string, []>("input_1_interleave_0"), val = tensor<bool, []>(false)];
99
+ tensor<fp32, [1, 1, 3, 32]> new_rolling_erb_buf = concat(axis = var_36, interleave = input_1_interleave_0, values = (var_101, erb_feat))[name = tensor<string, []>("input_1")];
100
+ tensor<int32, [4]> var_107_begin_0 = const()[name = tensor<string, []>("op_107_begin_0"), val = tensor<int32, [4]>([0, 0, 1, 0])];
101
+ tensor<int32, [4]> var_107_end_0 = const()[name = tensor<string, []>("op_107_end_0"), val = tensor<int32, [4]>([1, 2, 3, 96])];
102
+ tensor<bool, [4]> var_107_end_mask_0 = const()[name = tensor<string, []>("op_107_end_mask_0"), val = tensor<bool, [4]>([true, true, true, true])];
103
+ tensor<fp32, [1, 2, 2, 96]> var_107 = slice_by_index(begin = var_107_begin_0, end = var_107_end_0, end_mask = var_107_end_mask_0, x = rolling_feat_spec_buf)[name = tensor<string, []>("op_107")];
104
+ tensor<bool, []> input_31_interleave_0 = const()[name = tensor<string, []>("input_31_interleave_0"), val = tensor<bool, []>(false)];
105
+ tensor<fp32, [1, 2, 1, 96]> spec_feat = transpose(perm = var_97, x = var_96)[name = tensor<string, []>("transpose_5")];
106
+ tensor<fp32, [1, 2, 3, 96]> new_rolling_feat_spec_buf = concat(axis = var_36, interleave = input_31_interleave_0, values = (var_107, spec_feat))[name = tensor<string, []>("input_31")];
107
+ tensor<string, []> input_3_pad_type_0 = const()[name = tensor<string, []>("input_3_pad_type_0"), val = tensor<string, []>("custom")];
108
+ tensor<int32, [4]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
109
+ tensor<int32, [2]> input_3_strides_0 = const()[name = tensor<string, []>("input_3_strides_0"), val = tensor<int32, [2]>([1, 1])];
110
+ tensor<int32, [2]> input_3_dilations_0 = const()[name = tensor<string, []>("input_3_dilations_0"), val = tensor<int32, [2]>([1, 1])];
111
+ tensor<int32, []> input_3_groups_0 = const()[name = tensor<string, []>("input_3_groups_0"), val = tensor<int32, []>(1)];
112
+ tensor<string, []> new_rolling_erb_buf_to_fp16_dtype_0 = const()[name = tensor<string, []>("new_rolling_erb_buf_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
113
+ tensor<fp16, [64, 1, 3, 3]> const_4_to_fp16 = const()[name = tensor<string, []>("const_4_to_fp16"), val = tensor<fp16, [64, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(553728)))];
114
+ tensor<fp16, [64]> const_5_to_fp16 = const()[name = tensor<string, []>("const_5_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(554944)))];
115
+ tensor<fp16, [1, 1, 3, 32]> new_rolling_erb_buf_to_fp16 = cast(dtype = new_rolling_erb_buf_to_fp16_dtype_0, x = new_rolling_erb_buf)[name = tensor<string, []>("cast_88")];
116
+ tensor<fp16, [1, 64, 1, 32]> input_5_cast_fp16 = conv(bias = const_5_to_fp16, dilations = input_3_dilations_0, groups = input_3_groups_0, pad = input_3_pad_0, pad_type = input_3_pad_type_0, strides = input_3_strides_0, weight = const_4_to_fp16, x = new_rolling_erb_buf_to_fp16)[name = tensor<string, []>("input_5_cast_fp16")];
117
+ tensor<fp16, [1, 64, 1, 32]> input_7_cast_fp16 = relu(x = input_5_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
118
+ tensor<string, []> input_9_pad_type_0 = const()[name = tensor<string, []>("input_9_pad_type_0"), val = tensor<string, []>("custom")];
119
+ tensor<int32, [4]> input_9_pad_0 = const()[name = tensor<string, []>("input_9_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
120
+ tensor<int32, [2]> input_9_strides_0 = const()[name = tensor<string, []>("input_9_strides_0"), val = tensor<int32, [2]>([1, 2])];
121
+ tensor<int32, []> input_9_groups_0 = const()[name = tensor<string, []>("input_9_groups_0"), val = tensor<int32, []>(64)];
122
+ tensor<int32, [2]> input_9_dilations_0 = const()[name = tensor<string, []>("input_9_dilations_0"), val = tensor<int32, [2]>([1, 1])];
123
+ tensor<fp16, [64, 1, 1, 3]> m_enc_erb_conv1_0_weight_to_fp16 = const()[name = tensor<string, []>("m_enc_erb_conv1_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(555136)))];
124
+ tensor<fp16, [1, 64, 1, 16]> input_9_cast_fp16 = conv(dilations = input_9_dilations_0, groups = input_9_groups_0, pad = input_9_pad_0, pad_type = input_9_pad_type_0, strides = input_9_strides_0, weight = m_enc_erb_conv1_0_weight_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("input_9_cast_fp16")];
125
+ tensor<string, []> input_11_pad_type_0 = const()[name = tensor<string, []>("input_11_pad_type_0"), val = tensor<string, []>("valid")];
126
+ tensor<int32, [2]> input_11_strides_0 = const()[name = tensor<string, []>("input_11_strides_0"), val = tensor<int32, [2]>([1, 1])];
127
+ tensor<int32, [4]> input_11_pad_0 = const()[name = tensor<string, []>("input_11_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
128
+ tensor<int32, [2]> input_11_dilations_0 = const()[name = tensor<string, []>("input_11_dilations_0"), val = tensor<int32, [2]>([1, 1])];
129
+ tensor<int32, []> input_11_groups_0 = const()[name = tensor<string, []>("input_11_groups_0"), val = tensor<int32, []>(1)];
130
+ tensor<fp16, [64, 64, 1, 1]> const_6_to_fp16 = const()[name = tensor<string, []>("const_6_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(555584)))];
131
+ tensor<fp16, [64]> const_7_to_fp16 = const()[name = tensor<string, []>("const_7_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(563840)))];
132
+ tensor<fp16, [1, 64, 1, 16]> input_13_cast_fp16 = conv(bias = const_7_to_fp16, dilations = input_11_dilations_0, groups = input_11_groups_0, pad = input_11_pad_0, pad_type = input_11_pad_type_0, strides = input_11_strides_0, weight = const_6_to_fp16, x = input_9_cast_fp16)[name = tensor<string, []>("input_13_cast_fp16")];
133
+ tensor<fp16, [1, 64, 1, 16]> input_15_cast_fp16 = relu(x = input_13_cast_fp16)[name = tensor<string, []>("input_15_cast_fp16")];
134
+ tensor<string, []> input_17_pad_type_0 = const()[name = tensor<string, []>("input_17_pad_type_0"), val = tensor<string, []>("custom")];
135
+ tensor<int32, [4]> input_17_pad_0 = const()[name = tensor<string, []>("input_17_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
136
+ tensor<int32, [2]> input_17_strides_0 = const()[name = tensor<string, []>("input_17_strides_0"), val = tensor<int32, [2]>([1, 2])];
137
+ tensor<int32, []> input_17_groups_0 = const()[name = tensor<string, []>("input_17_groups_0"), val = tensor<int32, []>(64)];
138
+ tensor<int32, [2]> input_17_dilations_0 = const()[name = tensor<string, []>("input_17_dilations_0"), val = tensor<int32, [2]>([1, 1])];
139
+ tensor<fp16, [64, 1, 1, 3]> m_enc_erb_conv2_0_weight_to_fp16 = const()[name = tensor<string, []>("m_enc_erb_conv2_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(564032)))];
140
+ tensor<fp16, [1, 64, 1, 8]> input_17_cast_fp16 = conv(dilations = input_17_dilations_0, groups = input_17_groups_0, pad = input_17_pad_0, pad_type = input_17_pad_type_0, strides = input_17_strides_0, weight = m_enc_erb_conv2_0_weight_to_fp16, x = input_15_cast_fp16)[name = tensor<string, []>("input_17_cast_fp16")];
141
+ tensor<string, []> input_19_pad_type_0 = const()[name = tensor<string, []>("input_19_pad_type_0"), val = tensor<string, []>("valid")];
142
+ tensor<int32, [2]> input_19_strides_0 = const()[name = tensor<string, []>("input_19_strides_0"), val = tensor<int32, [2]>([1, 1])];
143
+ tensor<int32, [4]> input_19_pad_0 = const()[name = tensor<string, []>("input_19_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
144
+ tensor<int32, [2]> input_19_dilations_0 = const()[name = tensor<string, []>("input_19_dilations_0"), val = tensor<int32, [2]>([1, 1])];
145
+ tensor<int32, []> input_19_groups_0 = const()[name = tensor<string, []>("input_19_groups_0"), val = tensor<int32, []>(1)];
146
+ tensor<fp16, [64, 64, 1, 1]> const_8_to_fp16 = const()[name = tensor<string, []>("const_8_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(564480)))];
147
+ tensor<fp16, [64]> const_9_to_fp16 = const()[name = tensor<string, []>("const_9_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(572736)))];
148
+ tensor<fp16, [1, 64, 1, 8]> input_21_cast_fp16 = conv(bias = const_9_to_fp16, dilations = input_19_dilations_0, groups = input_19_groups_0, pad = input_19_pad_0, pad_type = input_19_pad_type_0, strides = input_19_strides_0, weight = const_8_to_fp16, x = input_17_cast_fp16)[name = tensor<string, []>("input_21_cast_fp16")];
149
+ tensor<fp16, [1, 64, 1, 8]> input_23_cast_fp16 = relu(x = input_21_cast_fp16)[name = tensor<string, []>("input_23_cast_fp16")];
150
+ tensor<string, []> input_25_pad_type_0 = const()[name = tensor<string, []>("input_25_pad_type_0"), val = tensor<string, []>("custom")];
151
+ tensor<int32, [4]> input_25_pad_0 = const()[name = tensor<string, []>("input_25_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
152
+ tensor<int32, []> input_25_groups_0 = const()[name = tensor<string, []>("input_25_groups_0"), val = tensor<int32, []>(64)];
153
+ tensor<int32, [2]> input_25_strides_0 = const()[name = tensor<string, []>("input_25_strides_0"), val = tensor<int32, [2]>([1, 1])];
154
+ tensor<int32, [2]> input_25_dilations_0 = const()[name = tensor<string, []>("input_25_dilations_0"), val = tensor<int32, [2]>([1, 1])];
155
+ tensor<fp16, [64, 1, 1, 3]> m_enc_erb_conv3_0_weight_to_fp16 = const()[name = tensor<string, []>("m_enc_erb_conv3_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(572928)))];
156
+ tensor<fp16, [1, 64, 1, 8]> input_25_cast_fp16 = conv(dilations = input_25_dilations_0, groups = input_25_groups_0, pad = input_25_pad_0, pad_type = input_25_pad_type_0, strides = input_25_strides_0, weight = m_enc_erb_conv3_0_weight_to_fp16, x = input_23_cast_fp16)[name = tensor<string, []>("input_25_cast_fp16")];
157
+ tensor<string, []> input_27_pad_type_0 = const()[name = tensor<string, []>("input_27_pad_type_0"), val = tensor<string, []>("valid")];
158
+ tensor<int32, [2]> input_27_strides_0 = const()[name = tensor<string, []>("input_27_strides_0"), val = tensor<int32, [2]>([1, 1])];
159
+ tensor<int32, [4]> input_27_pad_0 = const()[name = tensor<string, []>("input_27_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
160
+ tensor<int32, [2]> input_27_dilations_0 = const()[name = tensor<string, []>("input_27_dilations_0"), val = tensor<int32, [2]>([1, 1])];
161
+ tensor<int32, []> input_27_groups_0 = const()[name = tensor<string, []>("input_27_groups_0"), val = tensor<int32, []>(1)];
162
+ tensor<fp16, [64, 64, 1, 1]> const_10_to_fp16 = const()[name = tensor<string, []>("const_10_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(573376)))];
163
+ tensor<fp16, [64]> const_11_to_fp16 = const()[name = tensor<string, []>("const_11_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(581632)))];
164
+ tensor<fp16, [1, 64, 1, 8]> input_29_cast_fp16 = conv(bias = const_11_to_fp16, dilations = input_27_dilations_0, groups = input_27_groups_0, pad = input_27_pad_0, pad_type = input_27_pad_type_0, strides = input_27_strides_0, weight = const_10_to_fp16, x = input_25_cast_fp16)[name = tensor<string, []>("input_29_cast_fp16")];
165
+ tensor<fp16, [1, 64, 1, 8]> e3_1_cast_fp16 = relu(x = input_29_cast_fp16)[name = tensor<string, []>("e3_1_cast_fp16")];
166
+ tensor<string, []> e3_1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("e3_1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
167
+ tensor<int32, [4]> var_196 = const()[name = tensor<string, []>("op_196"), val = tensor<int32, [4]>([0, 2, 3, 1])];
168
+ tensor<int32, [3]> concat_0 = const()[name = tensor<string, []>("concat_0"), val = tensor<int32, [3]>([1, 1, 512])];
169
+ tensor<fp32, [1, 64, 1, 8]> e3_1_cast_fp16_to_fp32 = cast(dtype = e3_1_cast_fp16_to_fp32_dtype_0, x = e3_1_cast_fp16)[name = tensor<string, []>("cast_87")];
170
+ tensor<fp32, [1, 1, 8, 64]> var_197 = transpose(perm = var_196, x = e3_1_cast_fp16_to_fp32)[name = tensor<string, []>("transpose_4")];
171
+ tensor<fp32, [1, 1, 512]> a = reshape(shape = concat_0, x = var_197)[name = tensor<string, []>("a")];
172
+ tensor<string, []> input_33_pad_type_0 = const()[name = tensor<string, []>("input_33_pad_type_0"), val = tensor<string, []>("custom")];
173
+ tensor<int32, [4]> input_33_pad_0 = const()[name = tensor<string, []>("input_33_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
174
+ tensor<int32, []> input_33_groups_0 = const()[name = tensor<string, []>("input_33_groups_0"), val = tensor<int32, []>(2)];
175
+ tensor<int32, [2]> input_33_strides_0 = const()[name = tensor<string, []>("input_33_strides_0"), val = tensor<int32, [2]>([1, 1])];
176
+ tensor<int32, [2]> input_33_dilations_0 = const()[name = tensor<string, []>("input_33_dilations_0"), val = tensor<int32, [2]>([1, 1])];
177
+ tensor<string, []> new_rolling_feat_spec_buf_to_fp16_dtype_0 = const()[name = tensor<string, []>("new_rolling_feat_spec_buf_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
178
+ tensor<fp16, [64, 1, 3, 3]> m_enc_df_conv0_0_weight_to_fp16 = const()[name = tensor<string, []>("m_enc_df_conv0_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(581824)))];
179
+ tensor<fp16, [1, 2, 3, 96]> new_rolling_feat_spec_buf_to_fp16 = cast(dtype = new_rolling_feat_spec_buf_to_fp16_dtype_0, x = new_rolling_feat_spec_buf)[name = tensor<string, []>("cast_86")];
180
+ tensor<fp16, [1, 64, 1, 96]> input_33_cast_fp16 = conv(dilations = input_33_dilations_0, groups = input_33_groups_0, pad = input_33_pad_0, pad_type = input_33_pad_type_0, strides = input_33_strides_0, weight = m_enc_df_conv0_0_weight_to_fp16, x = new_rolling_feat_spec_buf_to_fp16)[name = tensor<string, []>("input_33_cast_fp16")];
181
+ tensor<string, []> input_35_pad_type_0 = const()[name = tensor<string, []>("input_35_pad_type_0"), val = tensor<string, []>("valid")];
182
+ tensor<int32, [2]> input_35_strides_0 = const()[name = tensor<string, []>("input_35_strides_0"), val = tensor<int32, [2]>([1, 1])];
183
+ tensor<int32, [4]> input_35_pad_0 = const()[name = tensor<string, []>("input_35_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
184
+ tensor<int32, [2]> input_35_dilations_0 = const()[name = tensor<string, []>("input_35_dilations_0"), val = tensor<int32, [2]>([1, 1])];
185
+ tensor<int32, []> input_35_groups_0 = const()[name = tensor<string, []>("input_35_groups_0"), val = tensor<int32, []>(1)];
186
+ tensor<fp16, [64, 64, 1, 1]> const_12_to_fp16 = const()[name = tensor<string, []>("const_12_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(583040)))];
187
+ tensor<fp16, [64]> const_13_to_fp16 = const()[name = tensor<string, []>("const_13_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(591296)))];
188
+ tensor<fp16, [1, 64, 1, 96]> input_37_cast_fp16 = conv(bias = const_13_to_fp16, dilations = input_35_dilations_0, groups = input_35_groups_0, pad = input_35_pad_0, pad_type = input_35_pad_type_0, strides = input_35_strides_0, weight = const_12_to_fp16, x = input_33_cast_fp16)[name = tensor<string, []>("input_37_cast_fp16")];
189
+ tensor<fp16, [1, 64, 1, 96]> input_39_cast_fp16 = relu(x = input_37_cast_fp16)[name = tensor<string, []>("input_39_cast_fp16")];
190
+ tensor<string, []> input_39_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("input_39_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
191
+ tensor<string, []> input_41_pad_type_0 = const()[name = tensor<string, []>("input_41_pad_type_0"), val = tensor<string, []>("custom")];
192
+ tensor<int32, [4]> input_41_pad_0 = const()[name = tensor<string, []>("input_41_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
193
+ tensor<int32, [2]> input_41_strides_0 = const()[name = tensor<string, []>("input_41_strides_0"), val = tensor<int32, [2]>([1, 2])];
194
+ tensor<int32, []> input_41_groups_0 = const()[name = tensor<string, []>("input_41_groups_0"), val = tensor<int32, []>(64)];
195
+ tensor<int32, [2]> input_41_dilations_0 = const()[name = tensor<string, []>("input_41_dilations_0"), val = tensor<int32, [2]>([1, 1])];
196
+ tensor<fp16, [64, 1, 1, 3]> m_enc_df_conv1_0_weight_to_fp16 = const()[name = tensor<string, []>("m_enc_df_conv1_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(591488)))];
197
+ tensor<fp16, [1, 64, 1, 48]> input_41_cast_fp16 = conv(dilations = input_41_dilations_0, groups = input_41_groups_0, pad = input_41_pad_0, pad_type = input_41_pad_type_0, strides = input_41_strides_0, weight = m_enc_df_conv1_0_weight_to_fp16, x = input_39_cast_fp16)[name = tensor<string, []>("input_41_cast_fp16")];
198
+ tensor<string, []> input_43_pad_type_0 = const()[name = tensor<string, []>("input_43_pad_type_0"), val = tensor<string, []>("valid")];
199
+ tensor<int32, [2]> input_43_strides_0 = const()[name = tensor<string, []>("input_43_strides_0"), val = tensor<int32, [2]>([1, 1])];
200
+ tensor<int32, [4]> input_43_pad_0 = const()[name = tensor<string, []>("input_43_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
201
+ tensor<int32, [2]> input_43_dilations_0 = const()[name = tensor<string, []>("input_43_dilations_0"), val = tensor<int32, [2]>([1, 1])];
202
+ tensor<int32, []> input_43_groups_0 = const()[name = tensor<string, []>("input_43_groups_0"), val = tensor<int32, []>(1)];
203
+ tensor<fp16, [64, 64, 1, 1]> const_14_to_fp16 = const()[name = tensor<string, []>("const_14_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(591936)))];
204
+ tensor<fp16, [64]> const_15_to_fp16 = const()[name = tensor<string, []>("const_15_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(600192)))];
205
+ tensor<fp16, [1, 64, 1, 48]> input_45_cast_fp16 = conv(bias = const_15_to_fp16, dilations = input_43_dilations_0, groups = input_43_groups_0, pad = input_43_pad_0, pad_type = input_43_pad_type_0, strides = input_43_strides_0, weight = const_14_to_fp16, x = input_41_cast_fp16)[name = tensor<string, []>("input_45_cast_fp16")];
206
+ tensor<fp16, [1, 64, 1, 48]> c1_cast_fp16 = relu(x = input_45_cast_fp16)[name = tensor<string, []>("c1_cast_fp16")];
207
+ tensor<string, []> c1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("c1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
208
+ tensor<int32, [4]> var_241 = const()[name = tensor<string, []>("op_241"), val = tensor<int32, [4]>([0, 2, 3, 1])];
209
+ tensor<int32, [3]> var_245 = const()[name = tensor<string, []>("op_245"), val = tensor<int32, [3]>([32, 1, 96])];
210
+ tensor<fp32, [1, 64, 1, 48]> c1_cast_fp16_to_fp32 = cast(dtype = c1_cast_fp16_to_fp32_dtype_0, x = c1_cast_fp16)[name = tensor<string, []>("cast_85")];
211
+ tensor<fp32, [1, 1, 48, 64]> x_1 = transpose(perm = var_241, x = c1_cast_fp16_to_fp32)[name = tensor<string, []>("transpose_3")];
212
+ tensor<fp32, [32, 1, 96]> x_3 = reshape(shape = var_245, x = x_1)[name = tensor<string, []>("x_3")];
213
+ tensor<bool, []> input_47_transpose_x_0 = const()[name = tensor<string, []>("input_47_transpose_x_0"), val = tensor<bool, []>(false)];
214
+ tensor<bool, []> input_47_transpose_y_0 = const()[name = tensor<string, []>("input_47_transpose_y_0"), val = tensor<bool, []>(false)];
215
+ tensor<fp32, [32, 1, 16]> input_47 = matmul(transpose_x = input_47_transpose_x_0, transpose_y = input_47_transpose_y_0, x = x_3, y = m_enc_df_fc_emb_0_weight)[name = tensor<string, []>("input_47")];
216
+ tensor<string, []> input_47_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_47_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
217
+ tensor<fp16, [32, 1, 16]> input_47_to_fp16 = cast(dtype = input_47_to_fp16_dtype_0, x = input_47)[name = tensor<string, []>("cast_84")];
218
+ tensor<fp16, [32, 1, 16]> x_5_cast_fp16 = relu(x = input_47_to_fp16)[name = tensor<string, []>("x_5_cast_fp16")];
219
+ tensor<string, []> x_5_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_5_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
220
+ tensor<int32, [3]> var_249 = const()[name = tensor<string, []>("op_249"), val = tensor<int32, [3]>([1, 1, -1])];
221
+ tensor<fp32, [32, 1, 16]> x_5_cast_fp16_to_fp32 = cast(dtype = x_5_cast_fp16_to_fp32_dtype_0, x = x_5_cast_fp16)[name = tensor<string, []>("cast_83")];
222
+ tensor<fp32, [1, 1, 512]> b_1 = reshape(shape = var_249, x = x_5_cast_fp16_to_fp32)[name = tensor<string, []>("b_1")];
223
+ tensor<fp32, [1, 1, 512]> x_7 = add(x = a, y = b_1)[name = tensor<string, []>("x_7")];
224
+ tensor<int32, [3]> var_257 = const()[name = tensor<string, []>("op_257"), val = tensor<int32, [3]>([16, 1, 32])];
225
+ tensor<fp32, [16, 1, 32]> x_9 = reshape(shape = var_257, x = x_7)[name = tensor<string, []>("x_9")];
226
+ tensor<bool, []> input_49_transpose_x_0 = const()[name = tensor<string, []>("input_49_transpose_x_0"), val = tensor<bool, []>(false)];
227
+ tensor<bool, []> input_49_transpose_y_0 = const()[name = tensor<string, []>("input_49_transpose_y_0"), val = tensor<bool, []>(false)];
228
+ tensor<fp32, [16, 1, 16]> input_49 = matmul(transpose_x = input_49_transpose_x_0, transpose_y = input_49_transpose_y_0, x = x_9, y = m_enc_emb_gru_linear_in_0_weight)[name = tensor<string, []>("input_49")];
229
+ tensor<string, []> input_49_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_49_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
230
+ tensor<fp16, [16, 1, 16]> input_49_to_fp16 = cast(dtype = input_49_to_fp16_dtype_0, x = input_49)[name = tensor<string, []>("cast_82")];
231
+ tensor<fp16, [16, 1, 16]> x_11_cast_fp16 = relu(x = input_49_to_fp16)[name = tensor<string, []>("x_11_cast_fp16")];
232
+ tensor<string, []> x_11_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_11_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
233
+ tensor<int32, [3]> var_261 = const()[name = tensor<string, []>("op_261"), val = tensor<int32, [3]>([1, 1, -1])];
234
+ tensor<fp32, [16, 1, 16]> x_11_cast_fp16_to_fp32 = cast(dtype = x_11_cast_fp16_to_fp32_dtype_0, x = x_11_cast_fp16)[name = tensor<string, []>("cast_81")];
235
+ tensor<fp32, [1, 1, 256]> x_13 = reshape(shape = var_261, x = x_11_cast_fp16_to_fp32)[name = tensor<string, []>("x_13")];
236
+ tensor<int32, [3]> input_51_begin_0 = const()[name = tensor<string, []>("input_51_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
237
+ tensor<int32, [3]> input_51_end_0 = const()[name = tensor<string, []>("input_51_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
238
+ tensor<bool, [3]> input_51_end_mask_0 = const()[name = tensor<string, []>("input_51_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
239
+ tensor<bool, [3]> input_51_squeeze_mask_0 = const()[name = tensor<string, []>("input_51_squeeze_mask_0"), val = tensor<bool, [3]>([false, true, false])];
240
+ tensor<fp32, [1, 256]> input_51 = slice_by_index(begin = input_51_begin_0, end = input_51_end_0, end_mask = input_51_end_mask_0, squeeze_mask = input_51_squeeze_mask_0, x = x_13)[name = tensor<string, []>("input_51")];
241
+ tensor<int32, [3]> input_53_begin_0 = const()[name = tensor<string, []>("input_53_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
242
+ tensor<int32, [3]> input_53_end_0 = const()[name = tensor<string, []>("input_53_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
243
+ tensor<bool, [3]> input_53_end_mask_0 = const()[name = tensor<string, []>("input_53_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
244
+ tensor<bool, [3]> input_53_squeeze_mask_0 = const()[name = tensor<string, []>("input_53_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
245
+ tensor<fp32, [1, 256]> input_53 = slice_by_index(begin = input_53_begin_0, end = input_53_end_0, end_mask = input_53_end_mask_0, squeeze_mask = input_53_squeeze_mask_0, x = enc_hidden)[name = tensor<string, []>("input_53")];
246
+ tensor<string, []> input_51_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_51_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
247
+ tensor<fp16, [768, 256]> m_enc_emb_gru_gru_ih_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_enc_emb_gru_gru_ih_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(600384))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797888))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
248
+ tensor<fp16, [768]> m_enc_emb_gru_gru_ih_0_bias_to_fp16 = const()[name = tensor<string, []>("m_enc_emb_gru_gru_ih_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(799488)))];
249
+ tensor<fp16, [1, 256]> input_51_to_fp16 = cast(dtype = input_51_to_fp16_dtype_0, x = input_51)[name = tensor<string, []>("cast_80")];
250
+ tensor<fp16, [1, 768]> linear_0_cast_fp16 = linear(bias = m_enc_emb_gru_gru_ih_0_bias_to_fp16, weight = m_enc_emb_gru_gru_ih_0_weight_to_fp16_quantized, x = input_51_to_fp16)[name = tensor<string, []>("linear_0_cast_fp16")];
251
+ tensor<string, []> linear_0_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_0_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
252
+ tensor<string, []> input_53_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_53_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
253
+ tensor<fp16, [768, 256]> m_enc_emb_gru_gru_hh_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_enc_emb_gru_gru_hh_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(801088))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(997760))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
254
+ tensor<fp16, [768]> m_enc_emb_gru_gru_hh_0_bias_to_fp16 = const()[name = tensor<string, []>("m_enc_emb_gru_gru_hh_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(999360)))];
255
+ tensor<fp16, [1, 256]> input_53_to_fp16 = cast(dtype = input_53_to_fp16_dtype_0, x = input_53)[name = tensor<string, []>("cast_79")];
256
+ tensor<fp16, [1, 768]> linear_1_cast_fp16 = linear(bias = m_enc_emb_gru_gru_hh_0_bias_to_fp16, weight = m_enc_emb_gru_gru_hh_0_weight_to_fp16_quantized, x = input_53_to_fp16)[name = tensor<string, []>("linear_1_cast_fp16")];
257
+ tensor<string, []> linear_1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
258
+ tensor<int32, [2]> var_277_begin_0 = const()[name = tensor<string, []>("op_277_begin_0"), val = tensor<int32, [2]>([0, 0])];
259
+ tensor<int32, [2]> var_277_end_0 = const()[name = tensor<string, []>("op_277_end_0"), val = tensor<int32, [2]>([1, 256])];
260
+ tensor<bool, [2]> var_277_end_mask_0 = const()[name = tensor<string, []>("op_277_end_mask_0"), val = tensor<bool, [2]>([true, false])];
261
+ tensor<fp32, [1, 768]> linear_0_cast_fp16_to_fp32 = cast(dtype = linear_0_cast_fp16_to_fp32_dtype_0, x = linear_0_cast_fp16)[name = tensor<string, []>("cast_78")];
262
+ tensor<fp32, [1, 256]> var_277 = slice_by_index(begin = var_277_begin_0, end = var_277_end_0, end_mask = var_277_end_mask_0, x = linear_0_cast_fp16_to_fp32)[name = tensor<string, []>("op_277")];
263
+ tensor<int32, [2]> var_279_begin_0 = const()[name = tensor<string, []>("op_279_begin_0"), val = tensor<int32, [2]>([0, 0])];
264
+ tensor<int32, [2]> var_279_end_0 = const()[name = tensor<string, []>("op_279_end_0"), val = tensor<int32, [2]>([1, 256])];
265
+ tensor<bool, [2]> var_279_end_mask_0 = const()[name = tensor<string, []>("op_279_end_mask_0"), val = tensor<bool, [2]>([true, false])];
266
+ tensor<fp32, [1, 768]> linear_1_cast_fp16_to_fp32 = cast(dtype = linear_1_cast_fp16_to_fp32_dtype_0, x = linear_1_cast_fp16)[name = tensor<string, []>("cast_77")];
267
+ tensor<fp32, [1, 256]> var_279 = slice_by_index(begin = var_279_begin_0, end = var_279_end_0, end_mask = var_279_end_mask_0, x = linear_1_cast_fp16_to_fp32)[name = tensor<string, []>("op_279")];
268
+ tensor<fp32, [1, 256]> var_280 = add(x = var_277, y = var_279)[name = tensor<string, []>("op_280")];
269
+ tensor<string, []> var_280_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_280_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
270
+ tensor<fp16, [1, 256]> var_280_to_fp16 = cast(dtype = var_280_to_fp16_dtype_0, x = var_280)[name = tensor<string, []>("cast_76")];
271
+ tensor<fp16, [1, 256]> r_1_cast_fp16 = sigmoid(x = var_280_to_fp16)[name = tensor<string, []>("r_1_cast_fp16")];
272
+ tensor<string, []> r_1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("r_1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
273
+ tensor<int32, [2]> var_283_begin_0 = const()[name = tensor<string, []>("op_283_begin_0"), val = tensor<int32, [2]>([0, 256])];
274
+ tensor<int32, [2]> var_283_end_0 = const()[name = tensor<string, []>("op_283_end_0"), val = tensor<int32, [2]>([1, 512])];
275
+ tensor<bool, [2]> var_283_end_mask_0 = const()[name = tensor<string, []>("op_283_end_mask_0"), val = tensor<bool, [2]>([true, false])];
276
+ tensor<fp32, [1, 256]> var_283 = slice_by_index(begin = var_283_begin_0, end = var_283_end_0, end_mask = var_283_end_mask_0, x = linear_0_cast_fp16_to_fp32)[name = tensor<string, []>("op_283")];
277
+ tensor<int32, [2]> var_285_begin_0 = const()[name = tensor<string, []>("op_285_begin_0"), val = tensor<int32, [2]>([0, 256])];
278
+ tensor<int32, [2]> var_285_end_0 = const()[name = tensor<string, []>("op_285_end_0"), val = tensor<int32, [2]>([1, 512])];
279
+ tensor<bool, [2]> var_285_end_mask_0 = const()[name = tensor<string, []>("op_285_end_mask_0"), val = tensor<bool, [2]>([true, false])];
280
+ tensor<fp32, [1, 256]> var_285 = slice_by_index(begin = var_285_begin_0, end = var_285_end_0, end_mask = var_285_end_mask_0, x = linear_1_cast_fp16_to_fp32)[name = tensor<string, []>("op_285")];
281
+ tensor<fp32, [1, 256]> var_286 = add(x = var_283, y = var_285)[name = tensor<string, []>("op_286")];
282
+ tensor<string, []> var_286_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_286_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
283
+ tensor<fp16, [1, 256]> var_286_to_fp16 = cast(dtype = var_286_to_fp16_dtype_0, x = var_286)[name = tensor<string, []>("cast_75")];
284
+ tensor<fp16, [1, 256]> z_1_cast_fp16 = sigmoid(x = var_286_to_fp16)[name = tensor<string, []>("z_1_cast_fp16")];
285
+ tensor<string, []> z_1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("z_1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
286
+ tensor<int32, [2]> var_289_begin_0 = const()[name = tensor<string, []>("op_289_begin_0"), val = tensor<int32, [2]>([0, 512])];
287
+ tensor<int32, [2]> var_289_end_0 = const()[name = tensor<string, []>("op_289_end_0"), val = tensor<int32, [2]>([1, 768])];
288
+ tensor<bool, [2]> var_289_end_mask_0 = const()[name = tensor<string, []>("op_289_end_mask_0"), val = tensor<bool, [2]>([true, true])];
289
+ tensor<fp32, [1, 256]> var_289 = slice_by_index(begin = var_289_begin_0, end = var_289_end_0, end_mask = var_289_end_mask_0, x = linear_0_cast_fp16_to_fp32)[name = tensor<string, []>("op_289")];
290
+ tensor<int32, [2]> var_291_begin_0 = const()[name = tensor<string, []>("op_291_begin_0"), val = tensor<int32, [2]>([0, 512])];
291
+ tensor<int32, [2]> var_291_end_0 = const()[name = tensor<string, []>("op_291_end_0"), val = tensor<int32, [2]>([1, 768])];
292
+ tensor<bool, [2]> var_291_end_mask_0 = const()[name = tensor<string, []>("op_291_end_mask_0"), val = tensor<bool, [2]>([true, true])];
293
+ tensor<fp32, [1, 256]> var_291 = slice_by_index(begin = var_291_begin_0, end = var_291_end_0, end_mask = var_291_end_mask_0, x = linear_1_cast_fp16_to_fp32)[name = tensor<string, []>("op_291")];
294
+ tensor<fp32, [1, 256]> r_1_cast_fp16_to_fp32 = cast(dtype = r_1_cast_fp16_to_fp32_dtype_0, x = r_1_cast_fp16)[name = tensor<string, []>("cast_74")];
295
+ tensor<fp32, [1, 256]> var_292 = mul(x = r_1_cast_fp16_to_fp32, y = var_291)[name = tensor<string, []>("op_292")];
296
+ tensor<fp32, [1, 256]> var_293 = add(x = var_289, y = var_292)[name = tensor<string, []>("op_293")];
297
+ tensor<string, []> var_293_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_293_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
298
+ tensor<fp16, [1, 256]> var_293_to_fp16 = cast(dtype = var_293_to_fp16_dtype_0, x = var_293)[name = tensor<string, []>("cast_73")];
299
+ tensor<fp16, [1, 256]> n_1_cast_fp16 = tanh(x = var_293_to_fp16)[name = tensor<string, []>("n_1_cast_fp16")];
300
+ tensor<string, []> n_1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("n_1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
301
+ tensor<fp32, []> var_38_promoted = const()[name = tensor<string, []>("op_38_promoted"), val = tensor<fp32, []>(0x1p+0)];
302
+ tensor<fp32, [1, 256]> z_1_cast_fp16_to_fp32 = cast(dtype = z_1_cast_fp16_to_fp32_dtype_0, x = z_1_cast_fp16)[name = tensor<string, []>("cast_72")];
303
+ tensor<fp32, [1, 256]> var_295 = sub(x = var_38_promoted, y = z_1_cast_fp16_to_fp32)[name = tensor<string, []>("op_295")];
304
+ tensor<fp32, [1, 256]> n_1_cast_fp16_to_fp32 = cast(dtype = n_1_cast_fp16_to_fp32_dtype_0, x = n_1_cast_fp16)[name = tensor<string, []>("cast_71")];
305
+ tensor<fp32, [1, 256]> var_296 = mul(x = var_295, y = n_1_cast_fp16_to_fp32)[name = tensor<string, []>("op_296")];
306
+ tensor<fp32, [1, 256]> var_297 = mul(x = z_1_cast_fp16_to_fp32, y = input_53)[name = tensor<string, []>("op_297")];
307
+ tensor<fp32, [1, 256]> x_15 = add(x = var_296, y = var_297)[name = tensor<string, []>("x_15")];
308
+ tensor<int32, [1]> x_17_axes_0 = const()[name = tensor<string, []>("x_17_axes_0"), val = tensor<int32, [1]>([1])];
309
+ tensor<fp32, [1, 1, 256]> x_17 = expand_dims(axes = x_17_axes_0, x = x_15)[name = tensor<string, []>("x_17")];
310
+ tensor<int32, [1]> var_302_axes_0 = const()[name = tensor<string, []>("op_302_axes_0"), val = tensor<int32, [1]>([0])];
311
+ tensor<fp32, [1, 1, 256]> new_enc_hidden = expand_dims(axes = var_302_axes_0, x = x_15)[name = tensor<string, []>("op_302")];
312
+ tensor<int32, [3]> var_308 = const()[name = tensor<string, []>("op_308"), val = tensor<int32, [3]>([16, 1, 16])];
313
+ tensor<fp32, [16, 1, 16]> x_19 = reshape(shape = var_308, x = x_17)[name = tensor<string, []>("x_19")];
314
+ tensor<bool, []> input_55_transpose_x_0 = const()[name = tensor<string, []>("input_55_transpose_x_0"), val = tensor<bool, []>(false)];
315
+ tensor<bool, []> input_55_transpose_y_0 = const()[name = tensor<string, []>("input_55_transpose_y_0"), val = tensor<bool, []>(false)];
316
+ tensor<fp32, [16, 1, 32]> input_55 = matmul(transpose_x = input_55_transpose_x_0, transpose_y = input_55_transpose_y_0, x = x_19, y = m_enc_emb_gru_linear_out_0_weight)[name = tensor<string, []>("input_55")];
317
+ tensor<string, []> input_55_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_55_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
318
+ tensor<fp16, [16, 1, 32]> input_55_to_fp16 = cast(dtype = input_55_to_fp16_dtype_0, x = input_55)[name = tensor<string, []>("cast_70")];
319
+ tensor<fp16, [16, 1, 32]> x_21_cast_fp16 = relu(x = input_55_to_fp16)[name = tensor<string, []>("x_21_cast_fp16")];
320
+ tensor<string, []> x_21_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_21_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
321
+ tensor<int32, [3]> var_312 = const()[name = tensor<string, []>("op_312"), val = tensor<int32, [3]>([1, 1, -1])];
322
+ tensor<fp32, [16, 1, 32]> x_21_cast_fp16_to_fp32 = cast(dtype = x_21_cast_fp16_to_fp32_dtype_0, x = x_21_cast_fp16)[name = tensor<string, []>("cast_69")];
323
+ tensor<fp32, [1, 1, 512]> x_23 = reshape(shape = var_312, x = x_21_cast_fp16_to_fp32)[name = tensor<string, []>("x_23")];
324
+ tensor<int32, [3]> var_340 = const()[name = tensor<string, []>("op_340"), val = tensor<int32, [3]>([16, 1, 32])];
325
+ tensor<fp32, [16, 1, 32]> x_25 = reshape(shape = var_340, x = x_23)[name = tensor<string, []>("x_25")];
326
+ tensor<bool, []> input_57_transpose_x_0 = const()[name = tensor<string, []>("input_57_transpose_x_0"), val = tensor<bool, []>(false)];
327
+ tensor<bool, []> input_57_transpose_y_0 = const()[name = tensor<string, []>("input_57_transpose_y_0"), val = tensor<bool, []>(false)];
328
+ tensor<fp32, [16, 1, 16]> input_57 = matmul(transpose_x = input_57_transpose_x_0, transpose_y = input_57_transpose_y_0, x = x_25, y = m_erb_dec_emb_gru_linear_in_0_weight)[name = tensor<string, []>("input_57")];
329
+ tensor<string, []> input_57_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_57_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
330
+ tensor<fp16, [16, 1, 16]> input_57_to_fp16 = cast(dtype = input_57_to_fp16_dtype_0, x = input_57)[name = tensor<string, []>("cast_68")];
331
+ tensor<fp16, [16, 1, 16]> x_27_cast_fp16 = relu(x = input_57_to_fp16)[name = tensor<string, []>("x_27_cast_fp16")];
332
+ tensor<string, []> x_27_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_27_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
333
+ tensor<int32, [3]> var_344 = const()[name = tensor<string, []>("op_344"), val = tensor<int32, [3]>([1, 1, -1])];
334
+ tensor<fp32, [16, 1, 16]> x_27_cast_fp16_to_fp32 = cast(dtype = x_27_cast_fp16_to_fp32_dtype_0, x = x_27_cast_fp16)[name = tensor<string, []>("cast_67")];
335
+ tensor<fp32, [1, 1, 256]> x_29 = reshape(shape = var_344, x = x_27_cast_fp16_to_fp32)[name = tensor<string, []>("x_29")];
336
+ tensor<int32, [3]> input_59_begin_0 = const()[name = tensor<string, []>("input_59_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
337
+ tensor<int32, [3]> input_59_end_0 = const()[name = tensor<string, []>("input_59_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
338
+ tensor<bool, [3]> input_59_end_mask_0 = const()[name = tensor<string, []>("input_59_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
339
+ tensor<bool, [3]> input_59_squeeze_mask_0 = const()[name = tensor<string, []>("input_59_squeeze_mask_0"), val = tensor<bool, [3]>([false, true, false])];
340
+ tensor<fp32, [1, 256]> input_59 = slice_by_index(begin = input_59_begin_0, end = input_59_end_0, end_mask = input_59_end_mask_0, squeeze_mask = input_59_squeeze_mask_0, x = x_29)[name = tensor<string, []>("input_59")];
341
+ tensor<int32, [3]> input_61_begin_0 = const()[name = tensor<string, []>("input_61_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
342
+ tensor<int32, [3]> input_61_end_0 = const()[name = tensor<string, []>("input_61_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
343
+ tensor<bool, [3]> input_61_end_mask_0 = const()[name = tensor<string, []>("input_61_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
344
+ tensor<bool, [3]> input_61_squeeze_mask_0 = const()[name = tensor<string, []>("input_61_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
345
+ tensor<fp32, [1, 256]> input_61 = slice_by_index(begin = input_61_begin_0, end = input_61_end_0, end_mask = input_61_end_mask_0, squeeze_mask = input_61_squeeze_mask_0, x = erb_dec_hidden)[name = tensor<string, []>("input_61")];
346
+ tensor<string, []> input_59_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_59_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
347
+ tensor<fp16, [768, 256]> m_erb_dec_emb_gru_gru_ih_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_erb_dec_emb_gru_gru_ih_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1000960))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1197632))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
348
+ tensor<fp16, [768]> m_erb_dec_emb_gru_gru_ih_0_bias_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_emb_gru_gru_ih_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1199232)))];
349
+ tensor<fp16, [1, 256]> input_59_to_fp16 = cast(dtype = input_59_to_fp16_dtype_0, x = input_59)[name = tensor<string, []>("cast_66")];
350
+ tensor<fp16, [1, 768]> linear_2_cast_fp16 = linear(bias = m_erb_dec_emb_gru_gru_ih_0_bias_to_fp16, weight = m_erb_dec_emb_gru_gru_ih_0_weight_to_fp16_quantized, x = input_59_to_fp16)[name = tensor<string, []>("linear_2_cast_fp16")];
351
+ tensor<string, []> linear_2_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_2_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
352
+ tensor<string, []> input_61_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_61_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
353
+ tensor<fp16, [768, 256]> m_erb_dec_emb_gru_gru_hh_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_erb_dec_emb_gru_gru_hh_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1200832))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1397504))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
354
+ tensor<fp16, [768]> m_erb_dec_emb_gru_gru_hh_0_bias_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_emb_gru_gru_hh_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1399104)))];
355
+ tensor<fp16, [1, 256]> input_61_to_fp16 = cast(dtype = input_61_to_fp16_dtype_0, x = input_61)[name = tensor<string, []>("cast_65")];
356
+ tensor<fp16, [1, 768]> linear_3_cast_fp16 = linear(bias = m_erb_dec_emb_gru_gru_hh_0_bias_to_fp16, weight = m_erb_dec_emb_gru_gru_hh_0_weight_to_fp16_quantized, x = input_61_to_fp16)[name = tensor<string, []>("linear_3_cast_fp16")];
357
+ tensor<string, []> linear_3_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_3_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
358
+ tensor<int32, [2]> var_364_begin_0 = const()[name = tensor<string, []>("op_364_begin_0"), val = tensor<int32, [2]>([0, 0])];
359
+ tensor<int32, [2]> var_364_end_0 = const()[name = tensor<string, []>("op_364_end_0"), val = tensor<int32, [2]>([1, 256])];
360
+ tensor<bool, [2]> var_364_end_mask_0 = const()[name = tensor<string, []>("op_364_end_mask_0"), val = tensor<bool, [2]>([true, false])];
361
+ tensor<fp32, [1, 768]> linear_2_cast_fp16_to_fp32 = cast(dtype = linear_2_cast_fp16_to_fp32_dtype_0, x = linear_2_cast_fp16)[name = tensor<string, []>("cast_64")];
362
+ tensor<fp32, [1, 256]> var_364 = slice_by_index(begin = var_364_begin_0, end = var_364_end_0, end_mask = var_364_end_mask_0, x = linear_2_cast_fp16_to_fp32)[name = tensor<string, []>("op_364")];
363
+ tensor<int32, [2]> var_366_begin_0 = const()[name = tensor<string, []>("op_366_begin_0"), val = tensor<int32, [2]>([0, 0])];
364
+ tensor<int32, [2]> var_366_end_0 = const()[name = tensor<string, []>("op_366_end_0"), val = tensor<int32, [2]>([1, 256])];
365
+ tensor<bool, [2]> var_366_end_mask_0 = const()[name = tensor<string, []>("op_366_end_mask_0"), val = tensor<bool, [2]>([true, false])];
366
+ tensor<fp32, [1, 768]> linear_3_cast_fp16_to_fp32 = cast(dtype = linear_3_cast_fp16_to_fp32_dtype_0, x = linear_3_cast_fp16)[name = tensor<string, []>("cast_63")];
367
+ tensor<fp32, [1, 256]> var_366 = slice_by_index(begin = var_366_begin_0, end = var_366_end_0, end_mask = var_366_end_mask_0, x = linear_3_cast_fp16_to_fp32)[name = tensor<string, []>("op_366")];
368
+ tensor<fp32, [1, 256]> var_367 = add(x = var_364, y = var_366)[name = tensor<string, []>("op_367")];
369
+ tensor<string, []> var_367_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_367_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
370
+ tensor<fp16, [1, 256]> var_367_to_fp16 = cast(dtype = var_367_to_fp16_dtype_0, x = var_367)[name = tensor<string, []>("cast_62")];
371
+ tensor<fp16, [1, 256]> r_3_cast_fp16 = sigmoid(x = var_367_to_fp16)[name = tensor<string, []>("r_3_cast_fp16")];
372
+ tensor<string, []> r_3_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("r_3_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
373
+ tensor<int32, [2]> var_370_begin_0 = const()[name = tensor<string, []>("op_370_begin_0"), val = tensor<int32, [2]>([0, 256])];
374
+ tensor<int32, [2]> var_370_end_0 = const()[name = tensor<string, []>("op_370_end_0"), val = tensor<int32, [2]>([1, 512])];
375
+ tensor<bool, [2]> var_370_end_mask_0 = const()[name = tensor<string, []>("op_370_end_mask_0"), val = tensor<bool, [2]>([true, false])];
376
+ tensor<fp32, [1, 256]> var_370 = slice_by_index(begin = var_370_begin_0, end = var_370_end_0, end_mask = var_370_end_mask_0, x = linear_2_cast_fp16_to_fp32)[name = tensor<string, []>("op_370")];
377
+ tensor<int32, [2]> var_372_begin_0 = const()[name = tensor<string, []>("op_372_begin_0"), val = tensor<int32, [2]>([0, 256])];
378
+ tensor<int32, [2]> var_372_end_0 = const()[name = tensor<string, []>("op_372_end_0"), val = tensor<int32, [2]>([1, 512])];
379
+ tensor<bool, [2]> var_372_end_mask_0 = const()[name = tensor<string, []>("op_372_end_mask_0"), val = tensor<bool, [2]>([true, false])];
380
+ tensor<fp32, [1, 256]> var_372 = slice_by_index(begin = var_372_begin_0, end = var_372_end_0, end_mask = var_372_end_mask_0, x = linear_3_cast_fp16_to_fp32)[name = tensor<string, []>("op_372")];
381
+ tensor<fp32, [1, 256]> var_373 = add(x = var_370, y = var_372)[name = tensor<string, []>("op_373")];
382
+ tensor<string, []> var_373_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_373_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
383
+ tensor<fp16, [1, 256]> var_373_to_fp16 = cast(dtype = var_373_to_fp16_dtype_0, x = var_373)[name = tensor<string, []>("cast_61")];
384
+ tensor<fp16, [1, 256]> z_3_cast_fp16 = sigmoid(x = var_373_to_fp16)[name = tensor<string, []>("z_3_cast_fp16")];
385
+ tensor<string, []> z_3_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("z_3_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
386
+ tensor<int32, [2]> var_376_begin_0 = const()[name = tensor<string, []>("op_376_begin_0"), val = tensor<int32, [2]>([0, 512])];
387
+ tensor<int32, [2]> var_376_end_0 = const()[name = tensor<string, []>("op_376_end_0"), val = tensor<int32, [2]>([1, 768])];
388
+ tensor<bool, [2]> var_376_end_mask_0 = const()[name = tensor<string, []>("op_376_end_mask_0"), val = tensor<bool, [2]>([true, true])];
389
+ tensor<fp32, [1, 256]> var_376 = slice_by_index(begin = var_376_begin_0, end = var_376_end_0, end_mask = var_376_end_mask_0, x = linear_2_cast_fp16_to_fp32)[name = tensor<string, []>("op_376")];
390
+ tensor<int32, [2]> var_378_begin_0 = const()[name = tensor<string, []>("op_378_begin_0"), val = tensor<int32, [2]>([0, 512])];
391
+ tensor<int32, [2]> var_378_end_0 = const()[name = tensor<string, []>("op_378_end_0"), val = tensor<int32, [2]>([1, 768])];
392
+ tensor<bool, [2]> var_378_end_mask_0 = const()[name = tensor<string, []>("op_378_end_mask_0"), val = tensor<bool, [2]>([true, true])];
393
+ tensor<fp32, [1, 256]> var_378 = slice_by_index(begin = var_378_begin_0, end = var_378_end_0, end_mask = var_378_end_mask_0, x = linear_3_cast_fp16_to_fp32)[name = tensor<string, []>("op_378")];
394
+ tensor<fp32, [1, 256]> r_3_cast_fp16_to_fp32 = cast(dtype = r_3_cast_fp16_to_fp32_dtype_0, x = r_3_cast_fp16)[name = tensor<string, []>("cast_60")];
395
+ tensor<fp32, [1, 256]> var_379 = mul(x = r_3_cast_fp16_to_fp32, y = var_378)[name = tensor<string, []>("op_379")];
396
+ tensor<fp32, [1, 256]> var_380 = add(x = var_376, y = var_379)[name = tensor<string, []>("op_380")];
397
+ tensor<string, []> var_380_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_380_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
398
+ tensor<fp16, [1, 256]> var_380_to_fp16 = cast(dtype = var_380_to_fp16_dtype_0, x = var_380)[name = tensor<string, []>("cast_59")];
399
+ tensor<fp16, [1, 256]> n_3_cast_fp16 = tanh(x = var_380_to_fp16)[name = tensor<string, []>("n_3_cast_fp16")];
400
+ tensor<string, []> n_3_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("n_3_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
401
+ tensor<fp32, []> var_38_promoted_1 = const()[name = tensor<string, []>("op_38_promoted_1"), val = tensor<fp32, []>(0x1p+0)];
402
+ tensor<fp32, [1, 256]> z_3_cast_fp16_to_fp32 = cast(dtype = z_3_cast_fp16_to_fp32_dtype_0, x = z_3_cast_fp16)[name = tensor<string, []>("cast_58")];
403
+ tensor<fp32, [1, 256]> var_382 = sub(x = var_38_promoted_1, y = z_3_cast_fp16_to_fp32)[name = tensor<string, []>("op_382")];
404
+ tensor<fp32, [1, 256]> n_3_cast_fp16_to_fp32 = cast(dtype = n_3_cast_fp16_to_fp32_dtype_0, x = n_3_cast_fp16)[name = tensor<string, []>("cast_57")];
405
+ tensor<fp32, [1, 256]> var_383 = mul(x = var_382, y = n_3_cast_fp16_to_fp32)[name = tensor<string, []>("op_383")];
406
+ tensor<fp32, [1, 256]> var_384 = mul(x = z_3_cast_fp16_to_fp32, y = input_61)[name = tensor<string, []>("op_384")];
407
+ tensor<fp32, [1, 256]> input_63 = add(x = var_383, y = var_384)[name = tensor<string, []>("input_63")];
408
+ tensor<int32, [3]> input_65_begin_0 = const()[name = tensor<string, []>("input_65_begin_0"), val = tensor<int32, [3]>([1, 0, 0])];
409
+ tensor<int32, [3]> input_65_end_0 = const()[name = tensor<string, []>("input_65_end_0"), val = tensor<int32, [3]>([2, 1, 256])];
410
+ tensor<bool, [3]> input_65_end_mask_0 = const()[name = tensor<string, []>("input_65_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
411
+ tensor<bool, [3]> input_65_squeeze_mask_0 = const()[name = tensor<string, []>("input_65_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
412
+ tensor<fp32, [1, 256]> input_65 = slice_by_index(begin = input_65_begin_0, end = input_65_end_0, end_mask = input_65_end_mask_0, squeeze_mask = input_65_squeeze_mask_0, x = erb_dec_hidden)[name = tensor<string, []>("input_65")];
413
+ tensor<string, []> input_63_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_63_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
414
+ tensor<fp16, [768, 256]> m_erb_dec_emb_gru_gru_ih_1_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_erb_dec_emb_gru_gru_ih_1_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1400704))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1597376))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
415
+ tensor<fp16, [768]> m_erb_dec_emb_gru_gru_ih_1_bias_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_emb_gru_gru_ih_1_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1598976)))];
416
+ tensor<fp16, [1, 256]> input_63_to_fp16 = cast(dtype = input_63_to_fp16_dtype_0, x = input_63)[name = tensor<string, []>("cast_56")];
417
+ tensor<fp16, [1, 768]> linear_4_cast_fp16 = linear(bias = m_erb_dec_emb_gru_gru_ih_1_bias_to_fp16, weight = m_erb_dec_emb_gru_gru_ih_1_weight_to_fp16_quantized, x = input_63_to_fp16)[name = tensor<string, []>("linear_4_cast_fp16")];
418
+ tensor<string, []> linear_4_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_4_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
419
+ tensor<string, []> input_65_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_65_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
420
+ tensor<fp16, [768, 256]> m_erb_dec_emb_gru_gru_hh_1_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_erb_dec_emb_gru_gru_hh_1_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1600576))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1797248))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
421
+ tensor<fp16, [768]> m_erb_dec_emb_gru_gru_hh_1_bias_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_emb_gru_gru_hh_1_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1798848)))];
422
+ tensor<fp16, [1, 256]> input_65_to_fp16 = cast(dtype = input_65_to_fp16_dtype_0, x = input_65)[name = tensor<string, []>("cast_55")];
423
+ tensor<fp16, [1, 768]> linear_5_cast_fp16 = linear(bias = m_erb_dec_emb_gru_gru_hh_1_bias_to_fp16, weight = m_erb_dec_emb_gru_gru_hh_1_weight_to_fp16_quantized, x = input_65_to_fp16)[name = tensor<string, []>("linear_5_cast_fp16")];
424
+ tensor<string, []> linear_5_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_5_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
425
+ tensor<int32, [2]> var_394_begin_0 = const()[name = tensor<string, []>("op_394_begin_0"), val = tensor<int32, [2]>([0, 0])];
426
+ tensor<int32, [2]> var_394_end_0 = const()[name = tensor<string, []>("op_394_end_0"), val = tensor<int32, [2]>([1, 256])];
427
+ tensor<bool, [2]> var_394_end_mask_0 = const()[name = tensor<string, []>("op_394_end_mask_0"), val = tensor<bool, [2]>([true, false])];
428
+ tensor<fp32, [1, 768]> linear_4_cast_fp16_to_fp32 = cast(dtype = linear_4_cast_fp16_to_fp32_dtype_0, x = linear_4_cast_fp16)[name = tensor<string, []>("cast_54")];
429
+ tensor<fp32, [1, 256]> var_394 = slice_by_index(begin = var_394_begin_0, end = var_394_end_0, end_mask = var_394_end_mask_0, x = linear_4_cast_fp16_to_fp32)[name = tensor<string, []>("op_394")];
430
+ tensor<int32, [2]> var_396_begin_0 = const()[name = tensor<string, []>("op_396_begin_0"), val = tensor<int32, [2]>([0, 0])];
431
+ tensor<int32, [2]> var_396_end_0 = const()[name = tensor<string, []>("op_396_end_0"), val = tensor<int32, [2]>([1, 256])];
432
+ tensor<bool, [2]> var_396_end_mask_0 = const()[name = tensor<string, []>("op_396_end_mask_0"), val = tensor<bool, [2]>([true, false])];
433
+ tensor<fp32, [1, 768]> linear_5_cast_fp16_to_fp32 = cast(dtype = linear_5_cast_fp16_to_fp32_dtype_0, x = linear_5_cast_fp16)[name = tensor<string, []>("cast_53")];
434
+ tensor<fp32, [1, 256]> var_396 = slice_by_index(begin = var_396_begin_0, end = var_396_end_0, end_mask = var_396_end_mask_0, x = linear_5_cast_fp16_to_fp32)[name = tensor<string, []>("op_396")];
435
+ tensor<fp32, [1, 256]> var_397 = add(x = var_394, y = var_396)[name = tensor<string, []>("op_397")];
436
+ tensor<string, []> var_397_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_397_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
437
+ tensor<fp16, [1, 256]> var_397_to_fp16 = cast(dtype = var_397_to_fp16_dtype_0, x = var_397)[name = tensor<string, []>("cast_52")];
438
+ tensor<fp16, [1, 256]> r_5_cast_fp16 = sigmoid(x = var_397_to_fp16)[name = tensor<string, []>("r_5_cast_fp16")];
439
+ tensor<string, []> r_5_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("r_5_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
440
+ tensor<int32, [2]> var_400_begin_0 = const()[name = tensor<string, []>("op_400_begin_0"), val = tensor<int32, [2]>([0, 256])];
441
+ tensor<int32, [2]> var_400_end_0 = const()[name = tensor<string, []>("op_400_end_0"), val = tensor<int32, [2]>([1, 512])];
442
+ tensor<bool, [2]> var_400_end_mask_0 = const()[name = tensor<string, []>("op_400_end_mask_0"), val = tensor<bool, [2]>([true, false])];
443
+ tensor<fp32, [1, 256]> var_400 = slice_by_index(begin = var_400_begin_0, end = var_400_end_0, end_mask = var_400_end_mask_0, x = linear_4_cast_fp16_to_fp32)[name = tensor<string, []>("op_400")];
444
+ tensor<int32, [2]> var_402_begin_0 = const()[name = tensor<string, []>("op_402_begin_0"), val = tensor<int32, [2]>([0, 256])];
445
+ tensor<int32, [2]> var_402_end_0 = const()[name = tensor<string, []>("op_402_end_0"), val = tensor<int32, [2]>([1, 512])];
446
+ tensor<bool, [2]> var_402_end_mask_0 = const()[name = tensor<string, []>("op_402_end_mask_0"), val = tensor<bool, [2]>([true, false])];
447
+ tensor<fp32, [1, 256]> var_402 = slice_by_index(begin = var_402_begin_0, end = var_402_end_0, end_mask = var_402_end_mask_0, x = linear_5_cast_fp16_to_fp32)[name = tensor<string, []>("op_402")];
448
+ tensor<fp32, [1, 256]> var_403 = add(x = var_400, y = var_402)[name = tensor<string, []>("op_403")];
449
+ tensor<string, []> var_403_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_403_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
450
+ tensor<fp16, [1, 256]> var_403_to_fp16 = cast(dtype = var_403_to_fp16_dtype_0, x = var_403)[name = tensor<string, []>("cast_51")];
451
+ tensor<fp16, [1, 256]> z_5_cast_fp16 = sigmoid(x = var_403_to_fp16)[name = tensor<string, []>("z_5_cast_fp16")];
452
+ tensor<string, []> z_5_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("z_5_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
453
+ tensor<int32, [2]> var_406_begin_0 = const()[name = tensor<string, []>("op_406_begin_0"), val = tensor<int32, [2]>([0, 512])];
454
+ tensor<int32, [2]> var_406_end_0 = const()[name = tensor<string, []>("op_406_end_0"), val = tensor<int32, [2]>([1, 768])];
455
+ tensor<bool, [2]> var_406_end_mask_0 = const()[name = tensor<string, []>("op_406_end_mask_0"), val = tensor<bool, [2]>([true, true])];
456
+ tensor<fp32, [1, 256]> var_406 = slice_by_index(begin = var_406_begin_0, end = var_406_end_0, end_mask = var_406_end_mask_0, x = linear_4_cast_fp16_to_fp32)[name = tensor<string, []>("op_406")];
457
+ tensor<int32, [2]> var_408_begin_0 = const()[name = tensor<string, []>("op_408_begin_0"), val = tensor<int32, [2]>([0, 512])];
458
+ tensor<int32, [2]> var_408_end_0 = const()[name = tensor<string, []>("op_408_end_0"), val = tensor<int32, [2]>([1, 768])];
459
+ tensor<bool, [2]> var_408_end_mask_0 = const()[name = tensor<string, []>("op_408_end_mask_0"), val = tensor<bool, [2]>([true, true])];
460
+ tensor<fp32, [1, 256]> var_408 = slice_by_index(begin = var_408_begin_0, end = var_408_end_0, end_mask = var_408_end_mask_0, x = linear_5_cast_fp16_to_fp32)[name = tensor<string, []>("op_408")];
461
+ tensor<fp32, [1, 256]> r_5_cast_fp16_to_fp32 = cast(dtype = r_5_cast_fp16_to_fp32_dtype_0, x = r_5_cast_fp16)[name = tensor<string, []>("cast_50")];
462
+ tensor<fp32, [1, 256]> var_409 = mul(x = r_5_cast_fp16_to_fp32, y = var_408)[name = tensor<string, []>("op_409")];
463
+ tensor<fp32, [1, 256]> var_410 = add(x = var_406, y = var_409)[name = tensor<string, []>("op_410")];
464
+ tensor<string, []> var_410_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_410_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
465
+ tensor<fp16, [1, 256]> var_410_to_fp16 = cast(dtype = var_410_to_fp16_dtype_0, x = var_410)[name = tensor<string, []>("cast_49")];
466
+ tensor<fp16, [1, 256]> n_5_cast_fp16 = tanh(x = var_410_to_fp16)[name = tensor<string, []>("n_5_cast_fp16")];
467
+ tensor<string, []> n_5_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("n_5_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
468
+ tensor<fp32, []> var_38_promoted_2 = const()[name = tensor<string, []>("op_38_promoted_2"), val = tensor<fp32, []>(0x1p+0)];
469
+ tensor<fp32, [1, 256]> z_5_cast_fp16_to_fp32 = cast(dtype = z_5_cast_fp16_to_fp32_dtype_0, x = z_5_cast_fp16)[name = tensor<string, []>("cast_48")];
470
+ tensor<fp32, [1, 256]> var_412 = sub(x = var_38_promoted_2, y = z_5_cast_fp16_to_fp32)[name = tensor<string, []>("op_412")];
471
+ tensor<fp32, [1, 256]> n_5_cast_fp16_to_fp32 = cast(dtype = n_5_cast_fp16_to_fp32_dtype_0, x = n_5_cast_fp16)[name = tensor<string, []>("cast_47")];
472
+ tensor<fp32, [1, 256]> var_413 = mul(x = var_412, y = n_5_cast_fp16_to_fp32)[name = tensor<string, []>("op_413")];
473
+ tensor<fp32, [1, 256]> var_414 = mul(x = z_5_cast_fp16_to_fp32, y = input_65)[name = tensor<string, []>("op_414")];
474
+ tensor<fp32, [1, 256]> x_31 = add(x = var_413, y = var_414)[name = tensor<string, []>("x_31")];
475
+ tensor<int32, [1]> x_33_axes_0 = const()[name = tensor<string, []>("x_33_axes_0"), val = tensor<int32, [1]>([1])];
476
+ tensor<fp32, [1, 1, 256]> x_33 = expand_dims(axes = x_33_axes_0, x = x_31)[name = tensor<string, []>("x_33")];
477
+ tensor<int32, []> var_419_axis_0 = const()[name = tensor<string, []>("op_419_axis_0"), val = tensor<int32, []>(0)];
478
+ tensor<fp32, [2, 1, 256]> new_erb_dec_hidden = stack(axis = var_419_axis_0, values = (input_63, x_31))[name = tensor<string, []>("op_419")];
479
+ tensor<int32, [3]> var_425 = const()[name = tensor<string, []>("op_425"), val = tensor<int32, [3]>([16, 1, 16])];
480
+ tensor<fp32, [16, 1, 16]> x_35 = reshape(shape = var_425, x = x_33)[name = tensor<string, []>("x_35")];
481
+ tensor<bool, []> input_67_transpose_x_0 = const()[name = tensor<string, []>("input_67_transpose_x_0"), val = tensor<bool, []>(false)];
482
+ tensor<bool, []> input_67_transpose_y_0 = const()[name = tensor<string, []>("input_67_transpose_y_0"), val = tensor<bool, []>(false)];
483
+ tensor<fp32, [16, 1, 32]> input_67 = matmul(transpose_x = input_67_transpose_x_0, transpose_y = input_67_transpose_y_0, x = x_35, y = m_erb_dec_emb_gru_linear_out_0_weight)[name = tensor<string, []>("input_67")];
484
+ tensor<string, []> input_67_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_67_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
485
+ tensor<fp16, [16, 1, 32]> input_67_to_fp16 = cast(dtype = input_67_to_fp16_dtype_0, x = input_67)[name = tensor<string, []>("cast_46")];
486
+ tensor<fp16, [16, 1, 32]> x_37_cast_fp16 = relu(x = input_67_to_fp16)[name = tensor<string, []>("x_37_cast_fp16")];
487
+ tensor<string, []> x_37_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_37_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
488
+ tensor<int32, [4]> var_434 = const()[name = tensor<string, []>("op_434"), val = tensor<int32, [4]>([1, 1, 8, -1])];
489
+ tensor<fp32, [16, 1, 32]> x_37_cast_fp16_to_fp32 = cast(dtype = x_37_cast_fp16_to_fp32_dtype_0, x = x_37_cast_fp16)[name = tensor<string, []>("cast_45")];
490
+ tensor<fp32, [1, 1, 8, 64]> var_435 = reshape(shape = var_434, x = x_37_cast_fp16_to_fp32)[name = tensor<string, []>("op_435")];
491
+ tensor<int32, [4]> var_436 = const()[name = tensor<string, []>("op_436"), val = tensor<int32, [4]>([0, 3, 1, 2])];
492
+ tensor<string, []> input_69_pad_type_0 = const()[name = tensor<string, []>("input_69_pad_type_0"), val = tensor<string, []>("valid")];
493
+ tensor<int32, []> input_69_groups_0 = const()[name = tensor<string, []>("input_69_groups_0"), val = tensor<int32, []>(64)];
494
+ tensor<int32, [2]> input_69_strides_0 = const()[name = tensor<string, []>("input_69_strides_0"), val = tensor<int32, [2]>([1, 1])];
495
+ tensor<int32, [4]> input_69_pad_0 = const()[name = tensor<string, []>("input_69_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
496
+ tensor<int32, [2]> input_69_dilations_0 = const()[name = tensor<string, []>("input_69_dilations_0"), val = tensor<int32, [2]>([1, 1])];
497
+ tensor<fp16, [64, 1, 1, 1]> const_16_to_fp16 = const()[name = tensor<string, []>("const_16_to_fp16"), val = tensor<fp16, [64, 1, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1800448)))];
498
+ tensor<fp16, [64]> const_17_to_fp16 = const()[name = tensor<string, []>("const_17_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1800640)))];
499
+ tensor<fp16, [1, 64, 1, 8]> input_71_cast_fp16 = conv(bias = const_17_to_fp16, dilations = input_69_dilations_0, groups = input_69_groups_0, pad = input_69_pad_0, pad_type = input_69_pad_type_0, strides = input_69_strides_0, weight = const_16_to_fp16, x = e3_1_cast_fp16)[name = tensor<string, []>("input_71_cast_fp16")];
500
+ tensor<fp16, [1, 64, 1, 8]> var_451_cast_fp16 = relu(x = input_71_cast_fp16)[name = tensor<string, []>("op_451_cast_fp16")];
501
+ tensor<string, []> var_451_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_451_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
502
+ tensor<fp32, [1, 64, 1, 8]> emb = transpose(perm = var_436, x = var_435)[name = tensor<string, []>("transpose_2")];
503
+ tensor<fp32, [1, 64, 1, 8]> var_451_cast_fp16_to_fp32 = cast(dtype = var_451_cast_fp16_to_fp32_dtype_0, x = var_451_cast_fp16)[name = tensor<string, []>("cast_44")];
504
+ tensor<fp32, [1, 64, 1, 8]> input_73 = add(x = var_451_cast_fp16_to_fp32, y = emb)[name = tensor<string, []>("input_73")];
505
+ tensor<string, []> input_75_pad_type_0 = const()[name = tensor<string, []>("input_75_pad_type_0"), val = tensor<string, []>("custom")];
506
+ tensor<int32, [4]> input_75_pad_0 = const()[name = tensor<string, []>("input_75_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
507
+ tensor<int32, []> input_75_groups_0 = const()[name = tensor<string, []>("input_75_groups_0"), val = tensor<int32, []>(64)];
508
+ tensor<int32, [2]> input_75_strides_0 = const()[name = tensor<string, []>("input_75_strides_0"), val = tensor<int32, [2]>([1, 1])];
509
+ tensor<int32, [2]> input_75_dilations_0 = const()[name = tensor<string, []>("input_75_dilations_0"), val = tensor<int32, [2]>([1, 1])];
510
+ tensor<string, []> input_73_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_73_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
511
+ tensor<fp16, [64, 1, 1, 3]> m_erb_dec_convt3_0_weight_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_convt3_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1800832)))];
512
+ tensor<fp16, [1, 64, 1, 8]> input_73_to_fp16 = cast(dtype = input_73_to_fp16_dtype_0, x = input_73)[name = tensor<string, []>("cast_43")];
513
+ tensor<fp16, [1, 64, 1, 8]> input_75_cast_fp16 = conv(dilations = input_75_dilations_0, groups = input_75_groups_0, pad = input_75_pad_0, pad_type = input_75_pad_type_0, strides = input_75_strides_0, weight = m_erb_dec_convt3_0_weight_to_fp16, x = input_73_to_fp16)[name = tensor<string, []>("input_75_cast_fp16")];
514
+ tensor<string, []> input_77_pad_type_0 = const()[name = tensor<string, []>("input_77_pad_type_0"), val = tensor<string, []>("valid")];
515
+ tensor<int32, [2]> input_77_strides_0 = const()[name = tensor<string, []>("input_77_strides_0"), val = tensor<int32, [2]>([1, 1])];
516
+ tensor<int32, [4]> input_77_pad_0 = const()[name = tensor<string, []>("input_77_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
517
+ tensor<int32, [2]> input_77_dilations_0 = const()[name = tensor<string, []>("input_77_dilations_0"), val = tensor<int32, [2]>([1, 1])];
518
+ tensor<int32, []> input_77_groups_0 = const()[name = tensor<string, []>("input_77_groups_0"), val = tensor<int32, []>(1)];
519
+ tensor<fp16, [64, 64, 1, 1]> const_18_to_fp16 = const()[name = tensor<string, []>("const_18_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1801280)))];
520
+ tensor<fp16, [64]> const_19_to_fp16 = const()[name = tensor<string, []>("const_19_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1809536)))];
521
+ tensor<fp16, [1, 64, 1, 8]> input_79_cast_fp16 = conv(bias = const_19_to_fp16, dilations = input_77_dilations_0, groups = input_77_groups_0, pad = input_77_pad_0, pad_type = input_77_pad_type_0, strides = input_77_strides_0, weight = const_18_to_fp16, x = input_75_cast_fp16)[name = tensor<string, []>("input_79_cast_fp16")];
522
+ tensor<fp16, [1, 64, 1, 8]> e3_cast_fp16 = relu(x = input_79_cast_fp16)[name = tensor<string, []>("e3_cast_fp16")];
523
+ tensor<string, []> e3_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("e3_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
524
+ tensor<string, []> input_81_pad_type_0 = const()[name = tensor<string, []>("input_81_pad_type_0"), val = tensor<string, []>("valid")];
525
+ tensor<int32, []> input_81_groups_0 = const()[name = tensor<string, []>("input_81_groups_0"), val = tensor<int32, []>(64)];
526
+ tensor<int32, [2]> input_81_strides_0 = const()[name = tensor<string, []>("input_81_strides_0"), val = tensor<int32, [2]>([1, 1])];
527
+ tensor<int32, [4]> input_81_pad_0 = const()[name = tensor<string, []>("input_81_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
528
+ tensor<int32, [2]> input_81_dilations_0 = const()[name = tensor<string, []>("input_81_dilations_0"), val = tensor<int32, [2]>([1, 1])];
529
+ tensor<fp16, [64, 1, 1, 1]> const_20_to_fp16 = const()[name = tensor<string, []>("const_20_to_fp16"), val = tensor<fp16, [64, 1, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1809728)))];
530
+ tensor<fp16, [64]> const_21_to_fp16 = const()[name = tensor<string, []>("const_21_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1809920)))];
531
+ tensor<fp16, [1, 64, 1, 8]> input_83_cast_fp16 = conv(bias = const_21_to_fp16, dilations = input_81_dilations_0, groups = input_81_groups_0, pad = input_81_pad_0, pad_type = input_81_pad_type_0, strides = input_81_strides_0, weight = const_20_to_fp16, x = input_23_cast_fp16)[name = tensor<string, []>("input_83_cast_fp16")];
532
+ tensor<fp16, [1, 64, 1, 8]> var_487_cast_fp16 = relu(x = input_83_cast_fp16)[name = tensor<string, []>("op_487_cast_fp16")];
533
+ tensor<string, []> var_487_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_487_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
534
+ tensor<fp32, [1, 64, 1, 8]> e3_cast_fp16_to_fp32 = cast(dtype = e3_cast_fp16_to_fp32_dtype_0, x = e3_cast_fp16)[name = tensor<string, []>("cast_41")];
535
+ tensor<fp32, [1, 64, 1, 8]> var_487_cast_fp16_to_fp32 = cast(dtype = var_487_cast_fp16_to_fp32_dtype_0, x = var_487_cast_fp16)[name = tensor<string, []>("cast_42")];
536
+ tensor<fp32, [1, 64, 1, 8]> input_85 = add(x = var_487_cast_fp16_to_fp32, y = e3_cast_fp16_to_fp32)[name = tensor<string, []>("input_85")];
537
+ tensor<string, []> conv_transpose_0_pad_type_0 = const()[name = tensor<string, []>("conv_transpose_0_pad_type_0"), val = tensor<string, []>("custom")];
538
+ tensor<int32, [4]> conv_transpose_0_pad_0 = const()[name = tensor<string, []>("conv_transpose_0_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
539
+ tensor<int32, [2]> conv_transpose_0_strides_0 = const()[name = tensor<string, []>("conv_transpose_0_strides_0"), val = tensor<int32, [2]>([1, 2])];
540
+ tensor<int32, []> conv_transpose_0_groups_0 = const()[name = tensor<string, []>("conv_transpose_0_groups_0"), val = tensor<int32, []>(64)];
541
+ tensor<int32, [2]> conv_transpose_0_dilations_0 = const()[name = tensor<string, []>("conv_transpose_0_dilations_0"), val = tensor<int32, [2]>([1, 1])];
542
+ tensor<int32, [4]> conv_transpose_0_has_output_shape_output_shape_0 = const()[name = tensor<string, []>("conv_transpose_0_has_output_shape_output_shape_0"), val = tensor<int32, [4]>([1, 64, 1, 17])];
543
+ tensor<string, []> input_85_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_85_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
544
+ tensor<fp16, [64, 1, 1, 3]> m_erb_dec_convt2_0_weight_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_convt2_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1810112)))];
545
+ tensor<fp16, [1, 64, 1, 8]> input_85_to_fp16 = cast(dtype = input_85_to_fp16_dtype_0, x = input_85)[name = tensor<string, []>("cast_40")];
546
+ tensor<fp16, [1, 64, 1, 17]> conv_transpose_0_has_output_shape_cast_fp16 = conv_transpose(dilations = conv_transpose_0_dilations_0, groups = conv_transpose_0_groups_0, output_shape = conv_transpose_0_has_output_shape_output_shape_0, pad = conv_transpose_0_pad_0, pad_type = conv_transpose_0_pad_type_0, strides = conv_transpose_0_strides_0, weight = m_erb_dec_convt2_0_weight_to_fp16, x = input_85_to_fp16)[name = tensor<string, []>("conv_transpose_0_has_output_shape_cast_fp16")];
547
+ tensor<string, []> conv_transpose_0_has_output_shape_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("conv_transpose_0_has_output_shape_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
548
+ tensor<int32, [2]> input_87_crop_height_0 = const()[name = tensor<string, []>("input_87_crop_height_0"), val = tensor<int32, [2]>([0, 0])];
549
+ tensor<int32, [2]> input_87_crop_width_0 = const()[name = tensor<string, []>("input_87_crop_width_0"), val = tensor<int32, [2]>([1, 0])];
550
+ tensor<fp32, [1, 64, 1, 17]> conv_transpose_0_has_output_shape_cast_fp16_to_fp32 = cast(dtype = conv_transpose_0_has_output_shape_cast_fp16_to_fp32_dtype_0, x = conv_transpose_0_has_output_shape_cast_fp16)[name = tensor<string, []>("cast_39")];
551
+ tensor<fp32, [1, 64, 1, 16]> input_87 = crop(crop_height = input_87_crop_height_0, crop_width = input_87_crop_width_0, x = conv_transpose_0_has_output_shape_cast_fp16_to_fp32)[name = tensor<string, []>("input_87")];
552
+ tensor<string, []> input_89_pad_type_0 = const()[name = tensor<string, []>("input_89_pad_type_0"), val = tensor<string, []>("valid")];
553
+ tensor<int32, [2]> input_89_strides_0 = const()[name = tensor<string, []>("input_89_strides_0"), val = tensor<int32, [2]>([1, 1])];
554
+ tensor<int32, [4]> input_89_pad_0 = const()[name = tensor<string, []>("input_89_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
555
+ tensor<int32, [2]> input_89_dilations_0 = const()[name = tensor<string, []>("input_89_dilations_0"), val = tensor<int32, [2]>([1, 1])];
556
+ tensor<int32, []> input_89_groups_0 = const()[name = tensor<string, []>("input_89_groups_0"), val = tensor<int32, []>(1)];
557
+ tensor<string, []> input_87_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_87_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
558
+ tensor<fp16, [64, 64, 1, 1]> const_22_to_fp16 = const()[name = tensor<string, []>("const_22_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1810560)))];
559
+ tensor<fp16, [64]> const_23_to_fp16 = const()[name = tensor<string, []>("const_23_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1818816)))];
560
+ tensor<fp16, [1, 64, 1, 16]> input_87_to_fp16 = cast(dtype = input_87_to_fp16_dtype_0, x = input_87)[name = tensor<string, []>("cast_38")];
561
+ tensor<fp16, [1, 64, 1, 16]> input_91_cast_fp16 = conv(bias = const_23_to_fp16, dilations = input_89_dilations_0, groups = input_89_groups_0, pad = input_89_pad_0, pad_type = input_89_pad_type_0, strides = input_89_strides_0, weight = const_22_to_fp16, x = input_87_to_fp16)[name = tensor<string, []>("input_91_cast_fp16")];
562
+ tensor<fp16, [1, 64, 1, 16]> e2_cast_fp16 = relu(x = input_91_cast_fp16)[name = tensor<string, []>("e2_cast_fp16")];
563
+ tensor<string, []> e2_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("e2_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
564
+ tensor<string, []> input_93_pad_type_0 = const()[name = tensor<string, []>("input_93_pad_type_0"), val = tensor<string, []>("valid")];
565
+ tensor<int32, []> input_93_groups_0 = const()[name = tensor<string, []>("input_93_groups_0"), val = tensor<int32, []>(64)];
566
+ tensor<int32, [2]> input_93_strides_0 = const()[name = tensor<string, []>("input_93_strides_0"), val = tensor<int32, [2]>([1, 1])];
567
+ tensor<int32, [4]> input_93_pad_0 = const()[name = tensor<string, []>("input_93_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
568
+ tensor<int32, [2]> input_93_dilations_0 = const()[name = tensor<string, []>("input_93_dilations_0"), val = tensor<int32, [2]>([1, 1])];
569
+ tensor<fp16, [64, 1, 1, 1]> const_24_to_fp16 = const()[name = tensor<string, []>("const_24_to_fp16"), val = tensor<fp16, [64, 1, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1819008)))];
570
+ tensor<fp16, [64]> const_25_to_fp16 = const()[name = tensor<string, []>("const_25_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1819200)))];
571
+ tensor<fp16, [1, 64, 1, 16]> input_95_cast_fp16 = conv(bias = const_25_to_fp16, dilations = input_93_dilations_0, groups = input_93_groups_0, pad = input_93_pad_0, pad_type = input_93_pad_type_0, strides = input_93_strides_0, weight = const_24_to_fp16, x = input_15_cast_fp16)[name = tensor<string, []>("input_95_cast_fp16")];
572
+ tensor<fp16, [1, 64, 1, 16]> var_523_cast_fp16 = relu(x = input_95_cast_fp16)[name = tensor<string, []>("op_523_cast_fp16")];
573
+ tensor<string, []> var_523_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_523_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
574
+ tensor<fp32, [1, 64, 1, 16]> e2_cast_fp16_to_fp32 = cast(dtype = e2_cast_fp16_to_fp32_dtype_0, x = e2_cast_fp16)[name = tensor<string, []>("cast_36")];
575
+ tensor<fp32, [1, 64, 1, 16]> var_523_cast_fp16_to_fp32 = cast(dtype = var_523_cast_fp16_to_fp32_dtype_0, x = var_523_cast_fp16)[name = tensor<string, []>("cast_37")];
576
+ tensor<fp32, [1, 64, 1, 16]> input_97 = add(x = var_523_cast_fp16_to_fp32, y = e2_cast_fp16_to_fp32)[name = tensor<string, []>("input_97")];
577
+ tensor<string, []> conv_transpose_1_pad_type_0 = const()[name = tensor<string, []>("conv_transpose_1_pad_type_0"), val = tensor<string, []>("custom")];
578
+ tensor<int32, [4]> conv_transpose_1_pad_0 = const()[name = tensor<string, []>("conv_transpose_1_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
579
+ tensor<int32, [2]> conv_transpose_1_strides_0 = const()[name = tensor<string, []>("conv_transpose_1_strides_0"), val = tensor<int32, [2]>([1, 2])];
580
+ tensor<int32, []> conv_transpose_1_groups_0 = const()[name = tensor<string, []>("conv_transpose_1_groups_0"), val = tensor<int32, []>(64)];
581
+ tensor<int32, [2]> conv_transpose_1_dilations_0 = const()[name = tensor<string, []>("conv_transpose_1_dilations_0"), val = tensor<int32, [2]>([1, 1])];
582
+ tensor<int32, [4]> conv_transpose_1_has_output_shape_output_shape_0 = const()[name = tensor<string, []>("conv_transpose_1_has_output_shape_output_shape_0"), val = tensor<int32, [4]>([1, 64, 1, 33])];
583
+ tensor<string, []> input_97_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_97_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
584
+ tensor<fp16, [64, 1, 1, 3]> m_erb_dec_convt1_0_weight_to_fp16 = const()[name = tensor<string, []>("m_erb_dec_convt1_0_weight_to_fp16"), val = tensor<fp16, [64, 1, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1819392)))];
585
+ tensor<fp16, [1, 64, 1, 16]> input_97_to_fp16 = cast(dtype = input_97_to_fp16_dtype_0, x = input_97)[name = tensor<string, []>("cast_35")];
586
+ tensor<fp16, [1, 64, 1, 33]> conv_transpose_1_has_output_shape_cast_fp16 = conv_transpose(dilations = conv_transpose_1_dilations_0, groups = conv_transpose_1_groups_0, output_shape = conv_transpose_1_has_output_shape_output_shape_0, pad = conv_transpose_1_pad_0, pad_type = conv_transpose_1_pad_type_0, strides = conv_transpose_1_strides_0, weight = m_erb_dec_convt1_0_weight_to_fp16, x = input_97_to_fp16)[name = tensor<string, []>("conv_transpose_1_has_output_shape_cast_fp16")];
587
+ tensor<string, []> conv_transpose_1_has_output_shape_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("conv_transpose_1_has_output_shape_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
588
+ tensor<int32, [2]> input_99_crop_height_0 = const()[name = tensor<string, []>("input_99_crop_height_0"), val = tensor<int32, [2]>([0, 0])];
589
+ tensor<int32, [2]> input_99_crop_width_0 = const()[name = tensor<string, []>("input_99_crop_width_0"), val = tensor<int32, [2]>([1, 0])];
590
+ tensor<fp32, [1, 64, 1, 33]> conv_transpose_1_has_output_shape_cast_fp16_to_fp32 = cast(dtype = conv_transpose_1_has_output_shape_cast_fp16_to_fp32_dtype_0, x = conv_transpose_1_has_output_shape_cast_fp16)[name = tensor<string, []>("cast_34")];
591
+ tensor<fp32, [1, 64, 1, 32]> input_99 = crop(crop_height = input_99_crop_height_0, crop_width = input_99_crop_width_0, x = conv_transpose_1_has_output_shape_cast_fp16_to_fp32)[name = tensor<string, []>("input_99")];
592
+ tensor<string, []> input_101_pad_type_0 = const()[name = tensor<string, []>("input_101_pad_type_0"), val = tensor<string, []>("valid")];
593
+ tensor<int32, [2]> input_101_strides_0 = const()[name = tensor<string, []>("input_101_strides_0"), val = tensor<int32, [2]>([1, 1])];
594
+ tensor<int32, [4]> input_101_pad_0 = const()[name = tensor<string, []>("input_101_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
595
+ tensor<int32, [2]> input_101_dilations_0 = const()[name = tensor<string, []>("input_101_dilations_0"), val = tensor<int32, [2]>([1, 1])];
596
+ tensor<int32, []> input_101_groups_0 = const()[name = tensor<string, []>("input_101_groups_0"), val = tensor<int32, []>(1)];
597
+ tensor<string, []> input_99_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_99_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
598
+ tensor<fp16, [64, 64, 1, 1]> const_26_to_fp16 = const()[name = tensor<string, []>("const_26_to_fp16"), val = tensor<fp16, [64, 64, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1819840)))];
599
+ tensor<fp16, [64]> const_27_to_fp16 = const()[name = tensor<string, []>("const_27_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1828096)))];
600
+ tensor<fp16, [1, 64, 1, 32]> input_99_to_fp16 = cast(dtype = input_99_to_fp16_dtype_0, x = input_99)[name = tensor<string, []>("cast_33")];
601
+ tensor<fp16, [1, 64, 1, 32]> input_103_cast_fp16 = conv(bias = const_27_to_fp16, dilations = input_101_dilations_0, groups = input_101_groups_0, pad = input_101_pad_0, pad_type = input_101_pad_type_0, strides = input_101_strides_0, weight = const_26_to_fp16, x = input_99_to_fp16)[name = tensor<string, []>("input_103_cast_fp16")];
602
+ tensor<fp16, [1, 64, 1, 32]> e1_cast_fp16 = relu(x = input_103_cast_fp16)[name = tensor<string, []>("e1_cast_fp16")];
603
+ tensor<string, []> e1_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("e1_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
604
+ tensor<string, []> input_105_pad_type_0 = const()[name = tensor<string, []>("input_105_pad_type_0"), val = tensor<string, []>("valid")];
605
+ tensor<int32, []> input_105_groups_0 = const()[name = tensor<string, []>("input_105_groups_0"), val = tensor<int32, []>(64)];
606
+ tensor<int32, [2]> input_105_strides_0 = const()[name = tensor<string, []>("input_105_strides_0"), val = tensor<int32, [2]>([1, 1])];
607
+ tensor<int32, [4]> input_105_pad_0 = const()[name = tensor<string, []>("input_105_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
608
+ tensor<int32, [2]> input_105_dilations_0 = const()[name = tensor<string, []>("input_105_dilations_0"), val = tensor<int32, [2]>([1, 1])];
609
+ tensor<fp16, [64, 1, 1, 1]> const_28_to_fp16 = const()[name = tensor<string, []>("const_28_to_fp16"), val = tensor<fp16, [64, 1, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1828288)))];
610
+ tensor<fp16, [64]> const_29_to_fp16 = const()[name = tensor<string, []>("const_29_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1828480)))];
611
+ tensor<fp16, [1, 64, 1, 32]> input_107_cast_fp16 = conv(bias = const_29_to_fp16, dilations = input_105_dilations_0, groups = input_105_groups_0, pad = input_105_pad_0, pad_type = input_105_pad_type_0, strides = input_105_strides_0, weight = const_28_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("input_107_cast_fp16")];
612
+ tensor<fp16, [1, 64, 1, 32]> var_559_cast_fp16 = relu(x = input_107_cast_fp16)[name = tensor<string, []>("op_559_cast_fp16")];
613
+ tensor<string, []> var_559_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_559_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
614
+ tensor<fp32, [1, 64, 1, 32]> e1_cast_fp16_to_fp32 = cast(dtype = e1_cast_fp16_to_fp32_dtype_0, x = e1_cast_fp16)[name = tensor<string, []>("cast_31")];
615
+ tensor<fp32, [1, 64, 1, 32]> var_559_cast_fp16_to_fp32 = cast(dtype = var_559_cast_fp16_to_fp32_dtype_0, x = var_559_cast_fp16)[name = tensor<string, []>("cast_32")];
616
+ tensor<fp32, [1, 64, 1, 32]> input_109 = add(x = var_559_cast_fp16_to_fp32, y = e1_cast_fp16_to_fp32)[name = tensor<string, []>("input_109")];
617
+ tensor<string, []> input_111_pad_type_0 = const()[name = tensor<string, []>("input_111_pad_type_0"), val = tensor<string, []>("custom")];
618
+ tensor<int32, [4]> input_111_pad_0 = const()[name = tensor<string, []>("input_111_pad_0"), val = tensor<int32, [4]>([0, 0, 1, 1])];
619
+ tensor<int32, [2]> input_111_strides_0 = const()[name = tensor<string, []>("input_111_strides_0"), val = tensor<int32, [2]>([1, 1])];
620
+ tensor<int32, [2]> input_111_dilations_0 = const()[name = tensor<string, []>("input_111_dilations_0"), val = tensor<int32, [2]>([1, 1])];
621
+ tensor<int32, []> input_111_groups_0 = const()[name = tensor<string, []>("input_111_groups_0"), val = tensor<int32, []>(1)];
622
+ tensor<string, []> input_109_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_109_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
623
+ tensor<fp16, [1, 64, 1, 3]> const_30_to_fp16 = const()[name = tensor<string, []>("const_30_to_fp16"), val = tensor<fp16, [1, 64, 1, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1828672)))];
624
+ tensor<fp16, [1]> const_31_to_fp16 = const()[name = tensor<string, []>("const_31_to_fp16"), val = tensor<fp16, [1]>([-0x1.0ecp+0])];
625
+ tensor<fp16, [1, 64, 1, 32]> input_109_to_fp16 = cast(dtype = input_109_to_fp16_dtype_0, x = input_109)[name = tensor<string, []>("cast_30")];
626
+ tensor<fp16, [1, 1, 1, 32]> input_113_cast_fp16 = conv(bias = const_31_to_fp16, dilations = input_111_dilations_0, groups = input_111_groups_0, pad = input_111_pad_0, pad_type = input_111_pad_type_0, strides = input_111_strides_0, weight = const_30_to_fp16, x = input_109_to_fp16)[name = tensor<string, []>("input_113_cast_fp16")];
627
+ tensor<fp16, [1, 1, 1, 32]> new_gains_cast_fp16 = sigmoid(x = input_113_cast_fp16)[name = tensor<string, []>("new_gains_cast_fp16")];
628
+ tensor<string, []> new_gains_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("new_gains_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
629
+ tensor<int32, [1]> var_578 = const()[name = tensor<string, []>("op_578"), val = tensor<int32, [1]>([32])];
630
+ tensor<fp32, [1, 1, 1, 32]> new_gains_cast_fp16_to_fp32 = cast(dtype = new_gains_cast_fp16_to_fp32_dtype_0, x = new_gains_cast_fp16)[name = tensor<string, []>("cast_29")];
631
+ tensor<fp32, [32]> gains_1 = reshape(shape = var_578, x = new_gains_cast_fp16_to_fp32)[name = tensor<string, []>("gains_1")];
632
+ tensor<int32, [4]> var_582_begin_0 = const()[name = tensor<string, []>("op_582_begin_0"), val = tensor<int32, [4]>([0, 0, 1, 0])];
633
+ tensor<int32, [4]> var_582_end_0 = const()[name = tensor<string, []>("op_582_end_0"), val = tensor<int32, [4]>([1, 64, 5, 96])];
634
+ tensor<bool, [4]> var_582_end_mask_0 = const()[name = tensor<string, []>("op_582_end_mask_0"), val = tensor<bool, [4]>([true, true, true, true])];
635
+ tensor<fp32, [1, 64, 4, 96]> var_582 = slice_by_index(begin = var_582_begin_0, end = var_582_end_0, end_mask = var_582_end_mask_0, x = rolling_c0_buf)[name = tensor<string, []>("op_582")];
636
+ tensor<bool, []> input_125_interleave_0 = const()[name = tensor<string, []>("input_125_interleave_0"), val = tensor<bool, []>(false)];
637
+ tensor<fp32, [1, 64, 1, 96]> input_39_cast_fp16_to_fp32 = cast(dtype = input_39_cast_fp16_to_fp32_dtype_0, x = input_39_cast_fp16)[name = tensor<string, []>("cast_28")];
638
+ tensor<fp32, [1, 64, 5, 96]> new_rolling_c0_buf = concat(axis = var_36, interleave = input_125_interleave_0, values = (var_582, input_39_cast_fp16_to_fp32))[name = tensor<string, []>("input_125")];
639
+ tensor<int32, [3]> var_596 = const()[name = tensor<string, []>("op_596"), val = tensor<int32, [3]>([8, 1, 64])];
640
+ tensor<fp32, [8, 1, 64]> x_39 = reshape(shape = var_596, x = x_23)[name = tensor<string, []>("x_39")];
641
+ tensor<bool, []> input_115_transpose_x_0 = const()[name = tensor<string, []>("input_115_transpose_x_0"), val = tensor<bool, []>(false)];
642
+ tensor<bool, []> input_115_transpose_y_0 = const()[name = tensor<string, []>("input_115_transpose_y_0"), val = tensor<bool, []>(false)];
643
+ tensor<fp32, [8, 1, 32]> input_115 = matmul(transpose_x = input_115_transpose_x_0, transpose_y = input_115_transpose_y_0, x = x_39, y = m_df_dec_df_gru_linear_in_0_weight)[name = tensor<string, []>("input_115")];
644
+ tensor<string, []> input_115_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_115_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
645
+ tensor<fp16, [8, 1, 32]> input_115_to_fp16 = cast(dtype = input_115_to_fp16_dtype_0, x = input_115)[name = tensor<string, []>("cast_27")];
646
+ tensor<fp16, [8, 1, 32]> x_41_cast_fp16 = relu(x = input_115_to_fp16)[name = tensor<string, []>("x_41_cast_fp16")];
647
+ tensor<string, []> x_41_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_41_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
648
+ tensor<int32, [3]> var_600 = const()[name = tensor<string, []>("op_600"), val = tensor<int32, [3]>([1, 1, -1])];
649
+ tensor<fp32, [8, 1, 32]> x_41_cast_fp16_to_fp32 = cast(dtype = x_41_cast_fp16_to_fp32_dtype_0, x = x_41_cast_fp16)[name = tensor<string, []>("cast_26")];
650
+ tensor<fp32, [1, 1, 256]> x_43 = reshape(shape = var_600, x = x_41_cast_fp16_to_fp32)[name = tensor<string, []>("x_43")];
651
+ tensor<int32, [3]> input_117_begin_0 = const()[name = tensor<string, []>("input_117_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
652
+ tensor<int32, [3]> input_117_end_0 = const()[name = tensor<string, []>("input_117_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
653
+ tensor<bool, [3]> input_117_end_mask_0 = const()[name = tensor<string, []>("input_117_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
654
+ tensor<bool, [3]> input_117_squeeze_mask_0 = const()[name = tensor<string, []>("input_117_squeeze_mask_0"), val = tensor<bool, [3]>([false, true, false])];
655
+ tensor<fp32, [1, 256]> input_117 = slice_by_index(begin = input_117_begin_0, end = input_117_end_0, end_mask = input_117_end_mask_0, squeeze_mask = input_117_squeeze_mask_0, x = x_43)[name = tensor<string, []>("input_117")];
656
+ tensor<int32, [3]> input_119_begin_0 = const()[name = tensor<string, []>("input_119_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
657
+ tensor<int32, [3]> input_119_end_0 = const()[name = tensor<string, []>("input_119_end_0"), val = tensor<int32, [3]>([1, 1, 256])];
658
+ tensor<bool, [3]> input_119_end_mask_0 = const()[name = tensor<string, []>("input_119_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
659
+ tensor<bool, [3]> input_119_squeeze_mask_0 = const()[name = tensor<string, []>("input_119_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
660
+ tensor<fp32, [1, 256]> input_119 = slice_by_index(begin = input_119_begin_0, end = input_119_end_0, end_mask = input_119_end_mask_0, squeeze_mask = input_119_squeeze_mask_0, x = df_dec_hidden)[name = tensor<string, []>("input_119")];
661
+ tensor<string, []> input_117_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_117_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
662
+ tensor<fp16, [768, 256]> m_df_dec_df_gru_gru_ih_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_df_dec_df_gru_gru_ih_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1829120))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2025792))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
663
+ tensor<fp16, [768]> m_df_dec_df_gru_gru_ih_0_bias_to_fp16 = const()[name = tensor<string, []>("m_df_dec_df_gru_gru_ih_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2027392)))];
664
+ tensor<fp16, [1, 256]> input_117_to_fp16 = cast(dtype = input_117_to_fp16_dtype_0, x = input_117)[name = tensor<string, []>("cast_25")];
665
+ tensor<fp16, [1, 768]> linear_6_cast_fp16 = linear(bias = m_df_dec_df_gru_gru_ih_0_bias_to_fp16, weight = m_df_dec_df_gru_gru_ih_0_weight_to_fp16_quantized, x = input_117_to_fp16)[name = tensor<string, []>("linear_6_cast_fp16")];
666
+ tensor<string, []> linear_6_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_6_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
667
+ tensor<string, []> input_119_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_119_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
668
+ tensor<fp16, [768, 256]> m_df_dec_df_gru_gru_hh_0_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_df_dec_df_gru_gru_hh_0_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2028992))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2225664))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
669
+ tensor<fp16, [768]> m_df_dec_df_gru_gru_hh_0_bias_to_fp16 = const()[name = tensor<string, []>("m_df_dec_df_gru_gru_hh_0_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2227264)))];
670
+ tensor<fp16, [1, 256]> input_119_to_fp16 = cast(dtype = input_119_to_fp16_dtype_0, x = input_119)[name = tensor<string, []>("cast_24")];
671
+ tensor<fp16, [1, 768]> linear_7_cast_fp16 = linear(bias = m_df_dec_df_gru_gru_hh_0_bias_to_fp16, weight = m_df_dec_df_gru_gru_hh_0_weight_to_fp16_quantized, x = input_119_to_fp16)[name = tensor<string, []>("linear_7_cast_fp16")];
672
+ tensor<string, []> linear_7_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_7_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
673
+ tensor<int32, [2]> var_620_begin_0 = const()[name = tensor<string, []>("op_620_begin_0"), val = tensor<int32, [2]>([0, 0])];
674
+ tensor<int32, [2]> var_620_end_0 = const()[name = tensor<string, []>("op_620_end_0"), val = tensor<int32, [2]>([1, 256])];
675
+ tensor<bool, [2]> var_620_end_mask_0 = const()[name = tensor<string, []>("op_620_end_mask_0"), val = tensor<bool, [2]>([true, false])];
676
+ tensor<fp32, [1, 768]> linear_6_cast_fp16_to_fp32 = cast(dtype = linear_6_cast_fp16_to_fp32_dtype_0, x = linear_6_cast_fp16)[name = tensor<string, []>("cast_23")];
677
+ tensor<fp32, [1, 256]> var_620 = slice_by_index(begin = var_620_begin_0, end = var_620_end_0, end_mask = var_620_end_mask_0, x = linear_6_cast_fp16_to_fp32)[name = tensor<string, []>("op_620")];
678
+ tensor<int32, [2]> var_622_begin_0 = const()[name = tensor<string, []>("op_622_begin_0"), val = tensor<int32, [2]>([0, 0])];
679
+ tensor<int32, [2]> var_622_end_0 = const()[name = tensor<string, []>("op_622_end_0"), val = tensor<int32, [2]>([1, 256])];
680
+ tensor<bool, [2]> var_622_end_mask_0 = const()[name = tensor<string, []>("op_622_end_mask_0"), val = tensor<bool, [2]>([true, false])];
681
+ tensor<fp32, [1, 768]> linear_7_cast_fp16_to_fp32 = cast(dtype = linear_7_cast_fp16_to_fp32_dtype_0, x = linear_7_cast_fp16)[name = tensor<string, []>("cast_22")];
682
+ tensor<fp32, [1, 256]> var_622 = slice_by_index(begin = var_622_begin_0, end = var_622_end_0, end_mask = var_622_end_mask_0, x = linear_7_cast_fp16_to_fp32)[name = tensor<string, []>("op_622")];
683
+ tensor<fp32, [1, 256]> var_623 = add(x = var_620, y = var_622)[name = tensor<string, []>("op_623")];
684
+ tensor<string, []> var_623_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_623_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
685
+ tensor<fp16, [1, 256]> var_623_to_fp16 = cast(dtype = var_623_to_fp16_dtype_0, x = var_623)[name = tensor<string, []>("cast_21")];
686
+ tensor<fp16, [1, 256]> r_7_cast_fp16 = sigmoid(x = var_623_to_fp16)[name = tensor<string, []>("r_7_cast_fp16")];
687
+ tensor<string, []> r_7_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("r_7_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
688
+ tensor<int32, [2]> var_626_begin_0 = const()[name = tensor<string, []>("op_626_begin_0"), val = tensor<int32, [2]>([0, 256])];
689
+ tensor<int32, [2]> var_626_end_0 = const()[name = tensor<string, []>("op_626_end_0"), val = tensor<int32, [2]>([1, 512])];
690
+ tensor<bool, [2]> var_626_end_mask_0 = const()[name = tensor<string, []>("op_626_end_mask_0"), val = tensor<bool, [2]>([true, false])];
691
+ tensor<fp32, [1, 256]> var_626 = slice_by_index(begin = var_626_begin_0, end = var_626_end_0, end_mask = var_626_end_mask_0, x = linear_6_cast_fp16_to_fp32)[name = tensor<string, []>("op_626")];
692
+ tensor<int32, [2]> var_628_begin_0 = const()[name = tensor<string, []>("op_628_begin_0"), val = tensor<int32, [2]>([0, 256])];
693
+ tensor<int32, [2]> var_628_end_0 = const()[name = tensor<string, []>("op_628_end_0"), val = tensor<int32, [2]>([1, 512])];
694
+ tensor<bool, [2]> var_628_end_mask_0 = const()[name = tensor<string, []>("op_628_end_mask_0"), val = tensor<bool, [2]>([true, false])];
695
+ tensor<fp32, [1, 256]> var_628 = slice_by_index(begin = var_628_begin_0, end = var_628_end_0, end_mask = var_628_end_mask_0, x = linear_7_cast_fp16_to_fp32)[name = tensor<string, []>("op_628")];
696
+ tensor<fp32, [1, 256]> var_629 = add(x = var_626, y = var_628)[name = tensor<string, []>("op_629")];
697
+ tensor<string, []> var_629_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_629_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
698
+ tensor<fp16, [1, 256]> var_629_to_fp16 = cast(dtype = var_629_to_fp16_dtype_0, x = var_629)[name = tensor<string, []>("cast_20")];
699
+ tensor<fp16, [1, 256]> z_7_cast_fp16 = sigmoid(x = var_629_to_fp16)[name = tensor<string, []>("z_7_cast_fp16")];
700
+ tensor<string, []> z_7_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("z_7_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
701
+ tensor<int32, [2]> var_632_begin_0 = const()[name = tensor<string, []>("op_632_begin_0"), val = tensor<int32, [2]>([0, 512])];
702
+ tensor<int32, [2]> var_632_end_0 = const()[name = tensor<string, []>("op_632_end_0"), val = tensor<int32, [2]>([1, 768])];
703
+ tensor<bool, [2]> var_632_end_mask_0 = const()[name = tensor<string, []>("op_632_end_mask_0"), val = tensor<bool, [2]>([true, true])];
704
+ tensor<fp32, [1, 256]> var_632 = slice_by_index(begin = var_632_begin_0, end = var_632_end_0, end_mask = var_632_end_mask_0, x = linear_6_cast_fp16_to_fp32)[name = tensor<string, []>("op_632")];
705
+ tensor<int32, [2]> var_634_begin_0 = const()[name = tensor<string, []>("op_634_begin_0"), val = tensor<int32, [2]>([0, 512])];
706
+ tensor<int32, [2]> var_634_end_0 = const()[name = tensor<string, []>("op_634_end_0"), val = tensor<int32, [2]>([1, 768])];
707
+ tensor<bool, [2]> var_634_end_mask_0 = const()[name = tensor<string, []>("op_634_end_mask_0"), val = tensor<bool, [2]>([true, true])];
708
+ tensor<fp32, [1, 256]> var_634 = slice_by_index(begin = var_634_begin_0, end = var_634_end_0, end_mask = var_634_end_mask_0, x = linear_7_cast_fp16_to_fp32)[name = tensor<string, []>("op_634")];
709
+ tensor<fp32, [1, 256]> r_7_cast_fp16_to_fp32 = cast(dtype = r_7_cast_fp16_to_fp32_dtype_0, x = r_7_cast_fp16)[name = tensor<string, []>("cast_19")];
710
+ tensor<fp32, [1, 256]> var_635 = mul(x = r_7_cast_fp16_to_fp32, y = var_634)[name = tensor<string, []>("op_635")];
711
+ tensor<fp32, [1, 256]> var_636 = add(x = var_632, y = var_635)[name = tensor<string, []>("op_636")];
712
+ tensor<string, []> var_636_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_636_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
713
+ tensor<fp16, [1, 256]> var_636_to_fp16 = cast(dtype = var_636_to_fp16_dtype_0, x = var_636)[name = tensor<string, []>("cast_18")];
714
+ tensor<fp16, [1, 256]> n_7_cast_fp16 = tanh(x = var_636_to_fp16)[name = tensor<string, []>("n_7_cast_fp16")];
715
+ tensor<string, []> n_7_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("n_7_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
716
+ tensor<fp32, []> var_38_promoted_3 = const()[name = tensor<string, []>("op_38_promoted_3"), val = tensor<fp32, []>(0x1p+0)];
717
+ tensor<fp32, [1, 256]> z_7_cast_fp16_to_fp32 = cast(dtype = z_7_cast_fp16_to_fp32_dtype_0, x = z_7_cast_fp16)[name = tensor<string, []>("cast_17")];
718
+ tensor<fp32, [1, 256]> var_638 = sub(x = var_38_promoted_3, y = z_7_cast_fp16_to_fp32)[name = tensor<string, []>("op_638")];
719
+ tensor<fp32, [1, 256]> n_7_cast_fp16_to_fp32 = cast(dtype = n_7_cast_fp16_to_fp32_dtype_0, x = n_7_cast_fp16)[name = tensor<string, []>("cast_16")];
720
+ tensor<fp32, [1, 256]> var_639 = mul(x = var_638, y = n_7_cast_fp16_to_fp32)[name = tensor<string, []>("op_639")];
721
+ tensor<fp32, [1, 256]> var_640 = mul(x = z_7_cast_fp16_to_fp32, y = input_119)[name = tensor<string, []>("op_640")];
722
+ tensor<fp32, [1, 256]> input_121 = add(x = var_639, y = var_640)[name = tensor<string, []>("input_121")];
723
+ tensor<int32, [3]> input_123_begin_0 = const()[name = tensor<string, []>("input_123_begin_0"), val = tensor<int32, [3]>([1, 0, 0])];
724
+ tensor<int32, [3]> input_123_end_0 = const()[name = tensor<string, []>("input_123_end_0"), val = tensor<int32, [3]>([2, 1, 256])];
725
+ tensor<bool, [3]> input_123_end_mask_0 = const()[name = tensor<string, []>("input_123_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
726
+ tensor<bool, [3]> input_123_squeeze_mask_0 = const()[name = tensor<string, []>("input_123_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
727
+ tensor<fp32, [1, 256]> input_123 = slice_by_index(begin = input_123_begin_0, end = input_123_end_0, end_mask = input_123_end_mask_0, squeeze_mask = input_123_squeeze_mask_0, x = df_dec_hidden)[name = tensor<string, []>("input_123")];
728
+ tensor<string, []> input_121_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_121_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
729
+ tensor<fp16, [768, 256]> m_df_dec_df_gru_gru_ih_1_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_df_dec_df_gru_gru_ih_1_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2228864))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2425536))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
730
+ tensor<fp16, [768]> m_df_dec_df_gru_gru_ih_1_bias_to_fp16 = const()[name = tensor<string, []>("m_df_dec_df_gru_gru_ih_1_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2427136)))];
731
+ tensor<fp16, [1, 256]> input_121_to_fp16 = cast(dtype = input_121_to_fp16_dtype_0, x = input_121)[name = tensor<string, []>("cast_15")];
732
+ tensor<fp16, [1, 768]> linear_8_cast_fp16 = linear(bias = m_df_dec_df_gru_gru_ih_1_bias_to_fp16, weight = m_df_dec_df_gru_gru_ih_1_weight_to_fp16_quantized, x = input_121_to_fp16)[name = tensor<string, []>("linear_8_cast_fp16")];
733
+ tensor<string, []> linear_8_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_8_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
734
+ tensor<string, []> input_123_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_123_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
735
+ tensor<fp16, [768, 256]> m_df_dec_df_gru_gru_hh_1_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("m_df_dec_df_gru_gru_hh_1_weight_to_fp16_quantized"), quantized_data = tensor<int8, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2428736))), scale = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2625408))), zero_point = tensor<int8, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(797056)))];
736
+ tensor<fp16, [768]> m_df_dec_df_gru_gru_hh_1_bias_to_fp16 = const()[name = tensor<string, []>("m_df_dec_df_gru_gru_hh_1_bias_to_fp16"), val = tensor<fp16, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2627008)))];
737
+ tensor<fp16, [1, 256]> input_123_to_fp16 = cast(dtype = input_123_to_fp16_dtype_0, x = input_123)[name = tensor<string, []>("cast_14")];
738
+ tensor<fp16, [1, 768]> linear_9_cast_fp16 = linear(bias = m_df_dec_df_gru_gru_hh_1_bias_to_fp16, weight = m_df_dec_df_gru_gru_hh_1_weight_to_fp16_quantized, x = input_123_to_fp16)[name = tensor<string, []>("linear_9_cast_fp16")];
739
+ tensor<string, []> linear_9_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_9_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
740
+ tensor<int32, [2]> var_650_begin_0 = const()[name = tensor<string, []>("op_650_begin_0"), val = tensor<int32, [2]>([0, 0])];
741
+ tensor<int32, [2]> var_650_end_0 = const()[name = tensor<string, []>("op_650_end_0"), val = tensor<int32, [2]>([1, 256])];
742
+ tensor<bool, [2]> var_650_end_mask_0 = const()[name = tensor<string, []>("op_650_end_mask_0"), val = tensor<bool, [2]>([true, false])];
743
+ tensor<fp32, [1, 768]> linear_8_cast_fp16_to_fp32 = cast(dtype = linear_8_cast_fp16_to_fp32_dtype_0, x = linear_8_cast_fp16)[name = tensor<string, []>("cast_13")];
744
+ tensor<fp32, [1, 256]> var_650 = slice_by_index(begin = var_650_begin_0, end = var_650_end_0, end_mask = var_650_end_mask_0, x = linear_8_cast_fp16_to_fp32)[name = tensor<string, []>("op_650")];
745
+ tensor<int32, [2]> var_652_begin_0 = const()[name = tensor<string, []>("op_652_begin_0"), val = tensor<int32, [2]>([0, 0])];
746
+ tensor<int32, [2]> var_652_end_0 = const()[name = tensor<string, []>("op_652_end_0"), val = tensor<int32, [2]>([1, 256])];
747
+ tensor<bool, [2]> var_652_end_mask_0 = const()[name = tensor<string, []>("op_652_end_mask_0"), val = tensor<bool, [2]>([true, false])];
748
+ tensor<fp32, [1, 768]> linear_9_cast_fp16_to_fp32 = cast(dtype = linear_9_cast_fp16_to_fp32_dtype_0, x = linear_9_cast_fp16)[name = tensor<string, []>("cast_12")];
749
+ tensor<fp32, [1, 256]> var_652 = slice_by_index(begin = var_652_begin_0, end = var_652_end_0, end_mask = var_652_end_mask_0, x = linear_9_cast_fp16_to_fp32)[name = tensor<string, []>("op_652")];
750
+ tensor<fp32, [1, 256]> var_653 = add(x = var_650, y = var_652)[name = tensor<string, []>("op_653")];
751
+ tensor<string, []> var_653_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_653_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
752
+ tensor<fp16, [1, 256]> var_653_to_fp16 = cast(dtype = var_653_to_fp16_dtype_0, x = var_653)[name = tensor<string, []>("cast_11")];
753
+ tensor<fp16, [1, 256]> r_cast_fp16 = sigmoid(x = var_653_to_fp16)[name = tensor<string, []>("r_cast_fp16")];
754
+ tensor<string, []> r_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("r_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
755
+ tensor<int32, [2]> var_656_begin_0 = const()[name = tensor<string, []>("op_656_begin_0"), val = tensor<int32, [2]>([0, 256])];
756
+ tensor<int32, [2]> var_656_end_0 = const()[name = tensor<string, []>("op_656_end_0"), val = tensor<int32, [2]>([1, 512])];
757
+ tensor<bool, [2]> var_656_end_mask_0 = const()[name = tensor<string, []>("op_656_end_mask_0"), val = tensor<bool, [2]>([true, false])];
758
+ tensor<fp32, [1, 256]> var_656 = slice_by_index(begin = var_656_begin_0, end = var_656_end_0, end_mask = var_656_end_mask_0, x = linear_8_cast_fp16_to_fp32)[name = tensor<string, []>("op_656")];
759
+ tensor<int32, [2]> var_658_begin_0 = const()[name = tensor<string, []>("op_658_begin_0"), val = tensor<int32, [2]>([0, 256])];
760
+ tensor<int32, [2]> var_658_end_0 = const()[name = tensor<string, []>("op_658_end_0"), val = tensor<int32, [2]>([1, 512])];
761
+ tensor<bool, [2]> var_658_end_mask_0 = const()[name = tensor<string, []>("op_658_end_mask_0"), val = tensor<bool, [2]>([true, false])];
762
+ tensor<fp32, [1, 256]> var_658 = slice_by_index(begin = var_658_begin_0, end = var_658_end_0, end_mask = var_658_end_mask_0, x = linear_9_cast_fp16_to_fp32)[name = tensor<string, []>("op_658")];
763
+ tensor<fp32, [1, 256]> var_659 = add(x = var_656, y = var_658)[name = tensor<string, []>("op_659")];
764
+ tensor<string, []> var_659_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_659_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
765
+ tensor<fp16, [1, 256]> var_659_to_fp16 = cast(dtype = var_659_to_fp16_dtype_0, x = var_659)[name = tensor<string, []>("cast_10")];
766
+ tensor<fp16, [1, 256]> z_cast_fp16 = sigmoid(x = var_659_to_fp16)[name = tensor<string, []>("z_cast_fp16")];
767
+ tensor<string, []> z_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("z_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
768
+ tensor<int32, [2]> var_662_begin_0 = const()[name = tensor<string, []>("op_662_begin_0"), val = tensor<int32, [2]>([0, 512])];
769
+ tensor<int32, [2]> var_662_end_0 = const()[name = tensor<string, []>("op_662_end_0"), val = tensor<int32, [2]>([1, 768])];
770
+ tensor<bool, [2]> var_662_end_mask_0 = const()[name = tensor<string, []>("op_662_end_mask_0"), val = tensor<bool, [2]>([true, true])];
771
+ tensor<fp32, [1, 256]> var_662 = slice_by_index(begin = var_662_begin_0, end = var_662_end_0, end_mask = var_662_end_mask_0, x = linear_8_cast_fp16_to_fp32)[name = tensor<string, []>("op_662")];
772
+ tensor<int32, [2]> var_664_begin_0 = const()[name = tensor<string, []>("op_664_begin_0"), val = tensor<int32, [2]>([0, 512])];
773
+ tensor<int32, [2]> var_664_end_0 = const()[name = tensor<string, []>("op_664_end_0"), val = tensor<int32, [2]>([1, 768])];
774
+ tensor<bool, [2]> var_664_end_mask_0 = const()[name = tensor<string, []>("op_664_end_mask_0"), val = tensor<bool, [2]>([true, true])];
775
+ tensor<fp32, [1, 256]> var_664 = slice_by_index(begin = var_664_begin_0, end = var_664_end_0, end_mask = var_664_end_mask_0, x = linear_9_cast_fp16_to_fp32)[name = tensor<string, []>("op_664")];
776
+ tensor<fp32, [1, 256]> r_cast_fp16_to_fp32 = cast(dtype = r_cast_fp16_to_fp32_dtype_0, x = r_cast_fp16)[name = tensor<string, []>("cast_9")];
777
+ tensor<fp32, [1, 256]> var_665 = mul(x = r_cast_fp16_to_fp32, y = var_664)[name = tensor<string, []>("op_665")];
778
+ tensor<fp32, [1, 256]> var_666 = add(x = var_662, y = var_665)[name = tensor<string, []>("op_666")];
779
+ tensor<string, []> var_666_to_fp16_dtype_0 = const()[name = tensor<string, []>("op_666_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
780
+ tensor<fp16, [1, 256]> var_666_to_fp16 = cast(dtype = var_666_to_fp16_dtype_0, x = var_666)[name = tensor<string, []>("cast_8")];
781
+ tensor<fp16, [1, 256]> n_cast_fp16 = tanh(x = var_666_to_fp16)[name = tensor<string, []>("n_cast_fp16")];
782
+ tensor<string, []> n_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("n_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
783
+ tensor<fp32, []> var_38_promoted_4 = const()[name = tensor<string, []>("op_38_promoted_4"), val = tensor<fp32, []>(0x1p+0)];
784
+ tensor<fp32, [1, 256]> z_cast_fp16_to_fp32 = cast(dtype = z_cast_fp16_to_fp32_dtype_0, x = z_cast_fp16)[name = tensor<string, []>("cast_7")];
785
+ tensor<fp32, [1, 256]> var_668 = sub(x = var_38_promoted_4, y = z_cast_fp16_to_fp32)[name = tensor<string, []>("op_668")];
786
+ tensor<fp32, [1, 256]> n_cast_fp16_to_fp32 = cast(dtype = n_cast_fp16_to_fp32_dtype_0, x = n_cast_fp16)[name = tensor<string, []>("cast_6")];
787
+ tensor<fp32, [1, 256]> var_669 = mul(x = var_668, y = n_cast_fp16_to_fp32)[name = tensor<string, []>("op_669")];
788
+ tensor<fp32, [1, 256]> var_670 = mul(x = z_cast_fp16_to_fp32, y = input_123)[name = tensor<string, []>("op_670")];
789
+ tensor<fp32, [1, 256]> x_45 = add(x = var_669, y = var_670)[name = tensor<string, []>("x_45")];
790
+ tensor<int32, [1]> c_3_axes_0 = const()[name = tensor<string, []>("c_3_axes_0"), val = tensor<int32, [1]>([1])];
791
+ tensor<fp32, [1, 1, 256]> c_3 = expand_dims(axes = c_3_axes_0, x = x_45)[name = tensor<string, []>("c_3")];
792
+ tensor<int32, []> var_675_axis_0 = const()[name = tensor<string, []>("op_675_axis_0"), val = tensor<int32, []>(0)];
793
+ tensor<fp32, [2, 1, 256]> new_df_dec_hidden = stack(axis = var_675_axis_0, values = (input_121, x_45))[name = tensor<string, []>("op_675")];
794
+ tensor<bool, []> x_49_transpose_x_0 = const()[name = tensor<string, []>("x_49_transpose_x_0"), val = tensor<bool, []>(false)];
795
+ tensor<bool, []> x_49_transpose_y_0 = const()[name = tensor<string, []>("x_49_transpose_y_0"), val = tensor<bool, []>(false)];
796
+ tensor<fp32, [16, 1, 16]> x_49 = matmul(transpose_x = x_49_transpose_x_0, transpose_y = x_49_transpose_y_0, x = x_25, y = m_df_dec_df_skip_weight)[name = tensor<string, []>("x_49")];
797
+ tensor<int32, [3]> var_686 = const()[name = tensor<string, []>("op_686"), val = tensor<int32, [3]>([1, 1, -1])];
798
+ tensor<fp32, [1, 1, 256]> var_687 = reshape(shape = var_686, x = x_49)[name = tensor<string, []>("op_687")];
799
+ tensor<fp32, [1, 1, 256]> x_51 = add(x = c_3, y = var_687)[name = tensor<string, []>("x_51")];
800
+ tensor<string, []> input_127_pad_type_0 = const()[name = tensor<string, []>("input_127_pad_type_0"), val = tensor<string, []>("valid")];
801
+ tensor<int32, []> input_127_groups_0 = const()[name = tensor<string, []>("input_127_groups_0"), val = tensor<int32, []>(2)];
802
+ tensor<int32, [2]> input_127_strides_0 = const()[name = tensor<string, []>("input_127_strides_0"), val = tensor<int32, [2]>([1, 1])];
803
+ tensor<int32, [4]> input_127_pad_0 = const()[name = tensor<string, []>("input_127_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
804
+ tensor<int32, [2]> input_127_dilations_0 = const()[name = tensor<string, []>("input_127_dilations_0"), val = tensor<int32, [2]>([1, 1])];
805
+ tensor<string, []> new_rolling_c0_buf_to_fp16_dtype_0 = const()[name = tensor<string, []>("new_rolling_c0_buf_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
806
+ tensor<fp16, [10, 32, 5, 1]> m_df_dec_df_convp_0_weight_to_fp16 = const()[name = tensor<string, []>("m_df_dec_df_convp_0_weight_to_fp16"), val = tensor<fp16, [10, 32, 5, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2628608)))];
807
+ tensor<fp16, [1, 64, 5, 96]> new_rolling_c0_buf_to_fp16 = cast(dtype = new_rolling_c0_buf_to_fp16_dtype_0, x = new_rolling_c0_buf)[name = tensor<string, []>("cast_5")];
808
+ tensor<fp16, [1, 10, 1, 96]> input_127_cast_fp16 = conv(dilations = input_127_dilations_0, groups = input_127_groups_0, pad = input_127_pad_0, pad_type = input_127_pad_type_0, strides = input_127_strides_0, weight = m_df_dec_df_convp_0_weight_to_fp16, x = new_rolling_c0_buf_to_fp16)[name = tensor<string, []>("input_127_cast_fp16")];
809
+ tensor<string, []> input_129_pad_type_0 = const()[name = tensor<string, []>("input_129_pad_type_0"), val = tensor<string, []>("valid")];
810
+ tensor<int32, [2]> input_129_strides_0 = const()[name = tensor<string, []>("input_129_strides_0"), val = tensor<int32, [2]>([1, 1])];
811
+ tensor<int32, [4]> input_129_pad_0 = const()[name = tensor<string, []>("input_129_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
812
+ tensor<int32, [2]> input_129_dilations_0 = const()[name = tensor<string, []>("input_129_dilations_0"), val = tensor<int32, [2]>([1, 1])];
813
+ tensor<int32, []> input_129_groups_0 = const()[name = tensor<string, []>("input_129_groups_0"), val = tensor<int32, []>(1)];
814
+ tensor<fp16, [10, 10, 1, 1]> const_32_to_fp16 = const()[name = tensor<string, []>("const_32_to_fp16"), val = tensor<fp16, [10, 10, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2631872)))];
815
+ tensor<fp16, [10]> const_33_to_fp16 = const()[name = tensor<string, []>("const_33_to_fp16"), val = tensor<fp16, [10]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2632192)))];
816
+ tensor<fp16, [1, 10, 1, 96]> input_131_cast_fp16 = conv(bias = const_33_to_fp16, dilations = input_129_dilations_0, groups = input_129_groups_0, pad = input_129_pad_0, pad_type = input_129_pad_type_0, strides = input_129_strides_0, weight = const_32_to_fp16, x = input_127_cast_fp16)[name = tensor<string, []>("input_131_cast_fp16")];
817
+ tensor<fp16, [1, 10, 1, 96]> var_709_cast_fp16 = relu(x = input_131_cast_fp16)[name = tensor<string, []>("op_709_cast_fp16")];
818
+ tensor<string, []> var_709_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_709_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
819
+ tensor<int32, [4]> var_710 = const()[name = tensor<string, []>("op_710"), val = tensor<int32, [4]>([0, 2, 3, 1])];
820
+ tensor<int32, [3]> var_714 = const()[name = tensor<string, []>("op_714"), val = tensor<int32, [3]>([16, 1, 16])];
821
+ tensor<fp32, [16, 1, 16]> x_53 = reshape(shape = var_714, x = x_51)[name = tensor<string, []>("x_53")];
822
+ tensor<bool, []> input_transpose_x_0 = const()[name = tensor<string, []>("input_transpose_x_0"), val = tensor<bool, []>(false)];
823
+ tensor<bool, []> input_transpose_y_0 = const()[name = tensor<string, []>("input_transpose_y_0"), val = tensor<bool, []>(false)];
824
+ tensor<fp32, [16, 1, 60]> input = matmul(transpose_x = input_transpose_x_0, transpose_y = input_transpose_y_0, x = x_53, y = m_df_dec_df_out_0_weight)[name = tensor<string, []>("input")];
825
+ tensor<string, []> input_to_fp16_dtype_0 = const()[name = tensor<string, []>("input_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
826
+ tensor<fp16, [16, 1, 60]> input_to_fp16 = cast(dtype = input_to_fp16_dtype_0, x = input)[name = tensor<string, []>("cast_4")];
827
+ tensor<fp16, [16, 1, 60]> x_cast_fp16 = tanh(x = input_to_fp16)[name = tensor<string, []>("x_cast_fp16")];
828
+ tensor<string, []> x_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("x_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
829
+ tensor<int32, [4]> var_720 = const()[name = tensor<string, []>("op_720"), val = tensor<int32, [4]>([1, 1, 96, 10])];
830
+ tensor<fp32, [16, 1, 60]> x_cast_fp16_to_fp32 = cast(dtype = x_cast_fp16_to_fp32_dtype_0, x = x_cast_fp16)[name = tensor<string, []>("cast_3")];
831
+ tensor<fp32, [1, 1, 96, 10]> var_721 = reshape(shape = var_720, x = x_cast_fp16_to_fp32)[name = tensor<string, []>("op_721")];
832
+ tensor<fp32, [1, 10, 1, 96]> var_709_cast_fp16_to_fp32 = cast(dtype = var_709_cast_fp16_to_fp32_dtype_0, x = var_709_cast_fp16)[name = tensor<string, []>("cast_2")];
833
+ tensor<fp32, [1, 1, 96, 10]> c0 = transpose(perm = var_710, x = var_709_cast_fp16_to_fp32)[name = tensor<string, []>("transpose_1")];
834
+ tensor<fp32, [1, 1, 96, 10]> new_coefs = add(x = var_721, y = c0)[name = tensor<string, []>("new_coefs")];
835
+ tensor<int32, [3]> var_726 = const()[name = tensor<string, []>("op_726"), val = tensor<int32, [3]>([96, -1, 2])];
836
+ tensor<fp32, [96, 5, 2]> var_727 = reshape(shape = var_726, x = new_coefs)[name = tensor<string, []>("op_727")];
837
+ tensor<int32, [3]> var_728 = const()[name = tensor<string, []>("op_728"), val = tensor<int32, [3]>([1, 0, 2])];
838
+ tensor<int32, [3]> current_spec_1_begin_0 = const()[name = tensor<string, []>("current_spec_1_begin_0"), val = tensor<int32, [3]>([4, 0, 0])];
839
+ tensor<int32, [3]> current_spec_1_end_0 = const()[name = tensor<string, []>("current_spec_1_end_0"), val = tensor<int32, [3]>([5, 481, 2])];
840
+ tensor<bool, [3]> current_spec_1_end_mask_0 = const()[name = tensor<string, []>("current_spec_1_end_mask_0"), val = tensor<bool, [3]>([false, true, true])];
841
+ tensor<bool, [3]> current_spec_1_squeeze_mask_0 = const()[name = tensor<string, []>("current_spec_1_squeeze_mask_0"), val = tensor<bool, [3]>([true, false, false])];
842
+ tensor<fp32, [481, 2]> current_spec_1 = slice_by_index(begin = current_spec_1_begin_0, end = current_spec_1_end_0, end_mask = current_spec_1_end_mask_0, squeeze_mask = current_spec_1_squeeze_mask_0, x = new_rolling_spec_buf_y)[name = tensor<string, []>("current_spec_1")];
843
+ tensor<string, []> gains_1_to_fp16_dtype_0 = const()[name = tensor<string, []>("gains_1_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
844
+ tensor<fp16, [481, 32]> transpose_1_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor<int32, []>(0), name = tensor<string, []>("transpose_1_to_fp16_quantized"), quantized_data = tensor<int8, [481, 32]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2632320))), scale = tensor<fp16, [481]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2648384))), zero_point = tensor<int8, [481]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2647808)))];
845
+ tensor<fp16, [481]> gains_bias_0_to_fp16 = const()[name = tensor<string, []>("gains_bias_0_to_fp16"), val = tensor<fp16, [481]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2649472)))];
846
+ tensor<fp16, [32]> gains_1_to_fp16 = cast(dtype = gains_1_to_fp16_dtype_0, x = gains_1)[name = tensor<string, []>("cast_1")];
847
+ tensor<fp16, [481]> gains_cast_fp16 = linear(bias = gains_bias_0_to_fp16, weight = transpose_1_to_fp16_quantized, x = gains_1_to_fp16)[name = tensor<string, []>("gains_cast_fp16")];
848
+ tensor<string, []> gains_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("gains_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
849
+ tensor<int32, [1]> var_733_axes_0 = const()[name = tensor<string, []>("op_733_axes_0"), val = tensor<int32, [1]>([-1])];
850
+ tensor<fp32, [481]> gains_cast_fp16_to_fp32 = cast(dtype = gains_cast_fp16_to_fp32_dtype_0, x = gains_cast_fp16)[name = tensor<string, []>("cast_0")];
851
+ tensor<fp32, [481, 1]> var_733 = expand_dims(axes = var_733_axes_0, x = gains_cast_fp16_to_fp32)[name = tensor<string, []>("op_733")];
852
+ tensor<fp32, [481, 2]> current_spec = mul(x = current_spec_1, y = var_733)[name = tensor<string, []>("current_spec")];
853
+ tensor<int32, [3]> t1_begin_0 = const()[name = tensor<string, []>("t1_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
854
+ tensor<int32, [3]> t1_end_0 = const()[name = tensor<string, []>("t1_end_0"), val = tensor<int32, [3]>([5, 96, 2])];
855
+ tensor<bool, [3]> t1_end_mask_0 = const()[name = tensor<string, []>("t1_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
856
+ tensor<fp32, [5, 96, 2]> t1 = slice_by_index(begin = t1_begin_0, end = t1_end_0, end_mask = t1_end_mask_0, x = new_rolling_spec_buf_x)[name = tensor<string, []>("t1")];
857
+ tensor<int32, [3]> t1_real_begin_0 = const()[name = tensor<string, []>("t1_real_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
858
+ tensor<int32, [3]> t1_real_end_0 = const()[name = tensor<string, []>("t1_real_end_0"), val = tensor<int32, [3]>([5, 96, 1])];
859
+ tensor<bool, [3]> t1_real_end_mask_0 = const()[name = tensor<string, []>("t1_real_end_mask_0"), val = tensor<bool, [3]>([true, true, false])];
860
+ tensor<bool, [3]> t1_real_squeeze_mask_0 = const()[name = tensor<string, []>("t1_real_squeeze_mask_0"), val = tensor<bool, [3]>([false, false, true])];
861
+ tensor<fp32, [5, 96]> t1_real = slice_by_index(begin = t1_real_begin_0, end = t1_real_end_0, end_mask = t1_real_end_mask_0, squeeze_mask = t1_real_squeeze_mask_0, x = t1)[name = tensor<string, []>("t1_real")];
862
+ tensor<int32, [3]> t1_imag_begin_0 = const()[name = tensor<string, []>("t1_imag_begin_0"), val = tensor<int32, [3]>([0, 0, 1])];
863
+ tensor<int32, [3]> t1_imag_end_0 = const()[name = tensor<string, []>("t1_imag_end_0"), val = tensor<int32, [3]>([5, 96, 2])];
864
+ tensor<bool, [3]> t1_imag_end_mask_0 = const()[name = tensor<string, []>("t1_imag_end_mask_0"), val = tensor<bool, [3]>([true, true, false])];
865
+ tensor<bool, [3]> t1_imag_squeeze_mask_0 = const()[name = tensor<string, []>("t1_imag_squeeze_mask_0"), val = tensor<bool, [3]>([false, false, true])];
866
+ tensor<fp32, [5, 96]> t1_imag = slice_by_index(begin = t1_imag_begin_0, end = t1_imag_end_0, end_mask = t1_imag_end_mask_0, squeeze_mask = t1_imag_squeeze_mask_0, x = t1)[name = tensor<string, []>("t1_imag")];
867
+ tensor<int32, [3]> t2_real_begin_0 = const()[name = tensor<string, []>("t2_real_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
868
+ tensor<int32, [3]> t2_real_end_0 = const()[name = tensor<string, []>("t2_real_end_0"), val = tensor<int32, [3]>([5, 96, 1])];
869
+ tensor<bool, [3]> t2_real_end_mask_0 = const()[name = tensor<string, []>("t2_real_end_mask_0"), val = tensor<bool, [3]>([true, true, false])];
870
+ tensor<bool, [3]> t2_real_squeeze_mask_0 = const()[name = tensor<string, []>("t2_real_squeeze_mask_0"), val = tensor<bool, [3]>([false, false, true])];
871
+ tensor<fp32, [5, 96, 2]> t2 = transpose(perm = var_728, x = var_727)[name = tensor<string, []>("transpose_0_1")];
872
+ tensor<fp32, [5, 96]> t2_real = slice_by_index(begin = t2_real_begin_0, end = t2_real_end_0, end_mask = t2_real_end_mask_0, squeeze_mask = t2_real_squeeze_mask_0, x = t2)[name = tensor<string, []>("t2_real")];
873
+ tensor<int32, [3]> t2_imag_begin_0 = const()[name = tensor<string, []>("t2_imag_begin_0"), val = tensor<int32, [3]>([0, 0, 1])];
874
+ tensor<int32, [3]> t2_imag_end_0 = const()[name = tensor<string, []>("t2_imag_end_0"), val = tensor<int32, [3]>([5, 96, 2])];
875
+ tensor<bool, [3]> t2_imag_end_mask_0 = const()[name = tensor<string, []>("t2_imag_end_mask_0"), val = tensor<bool, [3]>([true, true, false])];
876
+ tensor<bool, [3]> t2_imag_squeeze_mask_0 = const()[name = tensor<string, []>("t2_imag_squeeze_mask_0"), val = tensor<bool, [3]>([false, false, true])];
877
+ tensor<fp32, [5, 96]> t2_imag = slice_by_index(begin = t2_imag_begin_0, end = t2_imag_end_0, end_mask = t2_imag_end_mask_0, squeeze_mask = t2_imag_squeeze_mask_0, x = t2)[name = tensor<string, []>("t2_imag")];
878
+ tensor<fp32, [5, 96]> var_742 = mul(x = t1_real, y = t2_real)[name = tensor<string, []>("op_742")];
879
+ tensor<fp32, [5, 96]> var_743 = mul(x = t1_imag, y = t2_imag)[name = tensor<string, []>("op_743")];
880
+ tensor<fp32, [5, 96]> var_744 = sub(x = var_742, y = var_743)[name = tensor<string, []>("op_744")];
881
+ tensor<fp32, [5, 96]> var_745 = mul(x = t1_real, y = t2_imag)[name = tensor<string, []>("op_745")];
882
+ tensor<fp32, [5, 96]> var_746 = mul(x = t1_imag, y = t2_real)[name = tensor<string, []>("op_746")];
883
+ tensor<fp32, [5, 96]> var_747 = add(x = var_745, y = var_746)[name = tensor<string, []>("op_747")];
884
+ tensor<int32, []> mult_axis_0 = const()[name = tensor<string, []>("mult_axis_0"), val = tensor<int32, []>(-1)];
885
+ tensor<fp32, [5, 96, 2]> mult = stack(axis = mult_axis_0, values = (var_744, var_747))[name = tensor<string, []>("mult")];
886
+ tensor<int32, [1]> var_751_axes_0 = const()[name = tensor<string, []>("op_751_axes_0"), val = tensor<int32, [1]>([0])];
887
+ tensor<bool, []> var_751_keep_dims_0 = const()[name = tensor<string, []>("op_751_keep_dims_0"), val = tensor<bool, []>(false)];
888
+ tensor<fp32, [96, 2]> var_751 = reduce_sum(axes = var_751_axes_0, keep_dims = var_751_keep_dims_0, x = mult)[name = tensor<string, []>("op_751")];
889
+ tensor<int32, [2]> shape_1 = const()[name = tensor<string, []>("shape_1"), val = tensor<int32, [2]>([481, 2])];
890
+ tensor<int32, [192]> reshape_1 = const()[name = tensor<string, []>("reshape_1"), val = tensor<int32, [192]>([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191])];
891
+ tensor<int32, [1]> reshape_2_shape_0 = const()[name = tensor<string, []>("reshape_2_shape_0"), val = tensor<int32, [1]>([-1])];
892
+ tensor<fp32, [192]> reshape_2 = reshape(shape = reshape_2_shape_0, x = var_751)[name = tensor<string, []>("reshape_2")];
893
+ tensor<int32, [1]> reshape_3_shape_0 = const()[name = tensor<string, []>("reshape_3_shape_0"), val = tensor<int32, [1]>([-1])];
894
+ tensor<fp32, [962]> reshape_3 = reshape(shape = reshape_3_shape_0, x = current_spec)[name = tensor<string, []>("reshape_3")];
895
+ tensor<string, []> scatter_0_mode_0 = const()[name = tensor<string, []>("scatter_0_mode_0"), val = tensor<string, []>("update")];
896
+ tensor<int32, []> scatter_0_axis_0 = const()[name = tensor<string, []>("scatter_0_axis_0"), val = tensor<int32, []>(0)];
897
+ tensor<fp32, [962]> scatter_0 = scatter(axis = scatter_0_axis_0, data = reshape_3, indices = reshape_1, mode = scatter_0_mode_0, updates = reshape_2)[name = tensor<string, []>("scatter_0")];
898
+ tensor<fp32, [481, 2]> reshape_4 = reshape(shape = shape_1, x = scatter_0)[name = tensor<string, []>("reshape_4")];
899
+ tensor<fp32, [481]> w = const()[name = tensor<string, []>("w"), val = tensor<fp32, [481]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2650560)))];
900
+ tensor<int32, [2]> var_765_begin_0 = const()[name = tensor<string, []>("op_765_begin_0"), val = tensor<int32, [2]>([0, 0])];
901
+ tensor<int32, [2]> var_765_end_0 = const()[name = tensor<string, []>("op_765_end_0"), val = tensor<int32, [2]>([481, 1])];
902
+ tensor<bool, [2]> var_765_end_mask_0 = const()[name = tensor<string, []>("op_765_end_mask_0"), val = tensor<bool, [2]>([true, false])];
903
+ tensor<bool, [2]> var_765_squeeze_mask_0 = const()[name = tensor<string, []>("op_765_squeeze_mask_0"), val = tensor<bool, [2]>([false, true])];
904
+ tensor<fp32, [481]> var_765 = slice_by_index(begin = var_765_begin_0, end = var_765_end_0, end_mask = var_765_end_mask_0, squeeze_mask = var_765_squeeze_mask_0, x = reshape_4)[name = tensor<string, []>("op_765")];
905
+ tensor<fp32, [481]> re = mul(x = var_765, y = w)[name = tensor<string, []>("re")];
906
+ tensor<int32, [2]> var_768_begin_0 = const()[name = tensor<string, []>("op_768_begin_0"), val = tensor<int32, [2]>([0, 1])];
907
+ tensor<int32, [2]> var_768_end_0 = const()[name = tensor<string, []>("op_768_end_0"), val = tensor<int32, [2]>([481, 2])];
908
+ tensor<bool, [2]> var_768_end_mask_0 = const()[name = tensor<string, []>("op_768_end_mask_0"), val = tensor<bool, [2]>([true, false])];
909
+ tensor<bool, [2]> var_768_squeeze_mask_0 = const()[name = tensor<string, []>("op_768_squeeze_mask_0"), val = tensor<bool, [2]>([false, true])];
910
+ tensor<fp32, [481]> var_768 = slice_by_index(begin = var_768_begin_0, end = var_768_end_0, end_mask = var_768_end_mask_0, squeeze_mask = var_768_squeeze_mask_0, x = reshape_4)[name = tensor<string, []>("op_768")];
911
+ tensor<fp32, [481]> im = mul(x = var_768, y = w)[name = tensor<string, []>("im")];
912
+ tensor<bool, []> var_771_transpose_x_1 = const()[name = tensor<string, []>("op_771_transpose_x_1"), val = tensor<bool, []>(false)];
913
+ tensor<bool, []> var_771_transpose_y_1 = const()[name = tensor<string, []>("op_771_transpose_y_1"), val = tensor<bool, []>(true)];
914
+ tensor<fp32, [960]> var_771 = matmul(transpose_x = var_771_transpose_x_1, transpose_y = var_771_transpose_y_1, x = re, y = gx_dft_cos)[name = tensor<string, []>("op_771")];
915
+ tensor<bool, []> var_773_transpose_x_1 = const()[name = tensor<string, []>("op_773_transpose_x_1"), val = tensor<bool, []>(false)];
916
+ tensor<bool, []> var_773_transpose_y_1 = const()[name = tensor<string, []>("op_773_transpose_y_1"), val = tensor<bool, []>(true)];
917
+ tensor<fp32, [960]> var_773 = matmul(transpose_x = var_773_transpose_x_1, transpose_y = var_773_transpose_y_1, x = im, y = gx_dft_sin)[name = tensor<string, []>("op_773")];
918
+ tensor<fp32, [960]> var_774 = sub(x = var_771, y = var_773)[name = tensor<string, []>("op_774")];
919
+ tensor<fp32, []> var_775 = const()[name = tensor<string, []>("op_775"), val = tensor<fp32, []>(0x1.ep+9)];
920
+ tensor<fp32, [960]> var_776 = mul(x = var_774, y = var_775)[name = tensor<string, []>("op_776")];
921
+ tensor<fp32, [960]> var_777 = mul(x = var_776, y = m_window)[name = tensor<string, []>("op_777")];
922
+ tensor<int32, [2]> var_778 = const()[name = tensor<string, []>("op_778"), val = tensor<int32, [2]>([480, 480])];
923
+ tensor<int32, []> var_779_axis_0 = const()[name = tensor<string, []>("op_779_axis_0"), val = tensor<int32, []>(0)];
924
+ tensor<fp32, [480]> var_779_0, tensor<fp32, [480]> new_synthesis_mem = split(axis = var_779_axis_0, split_sizes = var_778, x = var_777)[name = tensor<string, []>("op_779")];
925
+ tensor<fp32, [480]> enhanced_audio_frame = add(x = var_779_0, y = synthesis_mem)[name = tensor<string, []>("op_782")];
926
+ } -> (enhanced_audio_frame, new_erb_norm_state, new_band_unit_norm_state, new_synthesis_mem, new_rolling_erb_buf, new_rolling_feat_spec_buf, new_rolling_c0_buf, new_rolling_spec_buf_x, new_rolling_spec_buf_y, new_enc_hidden, new_erb_dec_hidden, new_df_dec_hidden);
927
+ }