Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cpu #1019

Merged
merged 356 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
356 commits
Select commit Hold shift + click to select a range
95b2cb0
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Aug 16, 2023
e5c71c0
add layernorm
xhuohai Aug 16, 2023
33ea7ac
Apply code-format changes
xhuohai Aug 16, 2023
23385f5
pass reduce
zhen8838 Aug 16, 2023
e83ae8f
Apply code-format changes
zhen8838 Aug 16, 2023
4c85b18
add comment
zhen8838 Aug 16, 2023
300f833
add layer norm test
zhen8838 Aug 17, 2023
6c10f33
Apply code-format changes
zhen8838 Aug 17, 2023
09c5084
fix layernorm
xhuohai Aug 17, 2023
897ce6d
Apply code-format changes
xhuohai Aug 17, 2023
fd464c0
fix layernorm
xhuohai Aug 17, 2023
bf6cab7
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Aug 17, 2023
652b76e
add demo2
zhen8838 Aug 17, 2023
b9b2917
fix build / add view
zhen8838 Aug 17, 2023
97ab716
Apply code-format changes
xhuohai Aug 17, 2023
96698aa
update layernorm
xhuohai Aug 18, 2023
a8edb2c
Apply code-format changes
xhuohai Aug 18, 2023
684c907
Merge branch 'master' into feature/cpu
xhuohai Aug 18, 2023
ab64adc
support layernorm of llama
xhuohai Aug 18, 2023
ea4ceb1
fix build
zhen8838 Aug 18, 2023
e6611ca
add demo2
zhen8838 Aug 18, 2023
dc5714c
pass ym
zhen8838 Aug 18, 2023
f208204
Apply code-format changes
zhen8838 Aug 18, 2023
16ec3b9
pass demo2
zhen8838 Aug 21, 2023
b3bea7b
fix onnx external data importer
xhuohai Aug 21, 2023
ab5e467
fuse MHA of llama
xhuohai Aug 22, 2023
1d2ae1b
add more cpu kernels
xhuohai Aug 23, 2023
b08a96e
update MHA fusion
xhuohai Aug 23, 2023
09a2666
reorder MHA weights
xhuohai Aug 24, 2023
1c2a937
add demo3
zhen8838 Aug 24, 2023
64158a5
add demo3 compute statge 1
zhen8838 Aug 25, 2023
f081f32
fix build
xhuohai Aug 25, 2023
f7370e2
fix __tdma_all_sync_apply
xhuohai Aug 25, 2023
afdd14f
add to v35
zhen8838 Aug 25, 2023
740a036
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Aug 25, 2023
812b795
dump const
xhuohai Aug 25, 2023
6bb9f71
update demo3 golden
xhuohai Aug 25, 2023
cdacd6b
compiled
zhen8838 Aug 28, 2023
3f9805c
support multiple output compare
xhuohai Aug 28, 2023
fc8b663
fix MHA kernel
xhuohai Aug 28, 2023
a1f21c5
resplit v2
zhen8838 Aug 28, 2023
99b2875
fix MHA kernel
xhuohai Aug 28, 2023
8483dcd
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Aug 28, 2023
0b81dba
to v26
zhen8838 Aug 28, 2023
6684eb3
push
zhen8838 Aug 29, 2023
89f238e
fix double free
zhen8838 Aug 29, 2023
6ab10dd
fix mha kernel
xhuohai Aug 29, 2023
83a1f04
fix V35
zhen8838 Aug 29, 2023
a9e1f65
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
zhen8838 Aug 29, 2023
3687677
fix all
zhen8838 Aug 29, 2023
78379bb
support rmsnrom
xhuohai Aug 29, 2023
123161a
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Aug 29, 2023
66f08f7
fix v22
zhen8838 Aug 29, 2023
bf10fe5
fix v22 v10
zhen8838 Aug 29, 2023
6b19bc2
pass v28
zhen8838 Aug 29, 2023
44f637d
pass v43
zhen8838 Aug 29, 2023
3c35888
remove dump
zhen8838 Aug 30, 2023
a040a91
add other part
zhen8838 Aug 30, 2023
7f8d964
pass all llama65b decoder layers
xhuohai Aug 31, 2023
4becac1
pass gather
xhuohai Sep 5, 2023
88b13bf
open 32 threads for demo4
xhuohai Sep 5, 2023
4e6be01
update binary/unary with external op
xhuohai Sep 5, 2023
7d121bd
fix codes using stdlib
xhuohai Sep 5, 2023
4c9aaad
update kernel inputs
xhuohai Sep 5, 2023
40604a4
Fix gather
lerenhua Sep 6, 2023
353ca07
refactor cpu cmodel
xhuohai Sep 6, 2023
f04a62e
update demo head
xhuohai Sep 6, 2023
bf724aa
pass graph to tir
zhen8838 Sep 6, 2023
9a20a33
fix head main
xhuohai Sep 6, 2023
70a539d
pass norm case
xhuohai Sep 6, 2023
a54866c
update demo names
xhuohai Sep 6, 2023
6aae26e
add xpu source gen
zhen8838 Sep 7, 2023
eddaa9c
Fix head kernel segment fault
lerenhua Sep 7, 2023
00b684c
Merge branch 'feature/cpu_loader' of https://github.com/kendryte/nnca…
lerenhua Sep 7, 2023
6561916
fix cost evaluator
zhen8838 Sep 7, 2023
e060179
Fix head kernel cos similarity
lerenhua Sep 7, 2023
a6b0b83
decoder layer pass input layernorm
xhuohai Sep 7, 2023
7ea7252
Add uanry demo
lerenhua Sep 7, 2023
ae84dbf
Merge branch 'feature/cpu_loader' of https://github.com/kendryte/nnca…
lerenhua Sep 7, 2023
7df34a7
pass v30 of decoder layer
xhuohai Sep 7, 2023
14b101e
Merge branch 'feature/cpu_loader' of github.com:kendryte/nncase into …
xhuohai Sep 7, 2023
4807161
fix softmax
xhuohai Sep 8, 2023
bff3572
Enable ImmOutput
lerenhua Sep 8, 2023
7f634d7
Merge branch 'feature/cpu_loader' of https://github.com/kendryte/nnca…
lerenhua Sep 8, 2023
856fdf0
fix malloc
xhuohai Sep 8, 2023
7d5fd07
Merge branch 'feature/cpu_loader' of https://github.com/kendryte/nnca…
lerenhua Sep 8, 2023
0cb4895
remove debug macro
xhuohai Sep 8, 2023
42a2946
Add ImmOut
lerenhua Sep 8, 2023
7c3c353
Merge branch 'feature/cpu_loader' of https://github.com/kendryte/nnca…
lerenhua Sep 8, 2023
424176d
fix tdma store
zhen8838 Sep 8, 2023
7196293
Merge branch 'feature/cpu_loader' into feature/cpu
xhuohai Sep 8, 2023
daa22a7
refactor cpu runtime
xhuohai Sep 13, 2023
8a9b033
refactor method table
xhuohai Sep 13, 2023
842119b
fix cpu test
xhuohai Sep 14, 2023
40f6ad8
refactor auto distributed
zhen8838 Sep 14, 2023
5a0ea7f
update cpu test
xhuohai Sep 14, 2023
b83da36
fix rdata
zhen8838 Sep 14, 2023
6fd0687
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Sep 14, 2023
58403fe
update cpu test with rdata
xhuohai Sep 14, 2023
e4e3c14
fix typeinfer
zhen8838 Sep 15, 2023
503a896
add XPU Op layernorm
xhuohai Sep 15, 2023
f9b2510
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Sep 15, 2023
4fc1e35
update layernorm cost
xhuohai Sep 15, 2023
c2b6a99
fix cost evaluator
zhen8838 Sep 15, 2023
5fb1982
fix layernorm
xhuohai Sep 15, 2023
038fdd4
add partial resplit
zhen8838 Sep 18, 2023
5f6b59b
add rvv matmul
xhuohai Sep 18, 2023
0db199a
add codegen of cpu gather
xhuohai Sep 18, 2023
6144034
add concat/slice codegen
zhen8838 Sep 18, 2023
8b6a17e
merge
zhen8838 Sep 18, 2023
3eac14b
add codegen of cpu softmax
xhuohai Sep 18, 2023
974d923
update slice cpu case
xhuohai Sep 18, 2023
db9a14a
fix slice
zhen8838 Sep 19, 2023
67644ec
fix cpu concat
xhuohai Sep 19, 2023
6d4a24a
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Sep 19, 2023
77d4152
fix cpu concat
xhuohai Sep 19, 2023
c286381
Merge branch 'master' into feature/cpu
zhen8838 Sep 19, 2023
62bdc84
Apply code-format changes
zhen8838 Sep 19, 2023
b3a3b31
fix build
zhen8838 Sep 19, 2023
4a806d7
Apply code-format changes
zhen8838 Sep 19, 2023
43e00ae
add codegen of transpose
xhuohai Sep 19, 2023
2581225
add reshape
zhen8838 Sep 19, 2023
c81a287
pass reshape2
xhuohai Sep 20, 2023
c7df643
update stackvm
xhuohai Sep 20, 2023
dd377e6
merge
zhen8838 Sep 20, 2023
350357e
fix build
zhen8838 Sep 21, 2023
4677e83
update compile
zhen8838 Sep 21, 2023
a94136a
fix to slicing
zhen8838 Sep 22, 2023
87df2c1
fix negative axis
xhuohai Sep 22, 2023
e7fa124
fix matmul evaluator
zhen8838 Sep 22, 2023
73b1536
add NormAxis
zhen8838 Sep 22, 2023
0112356
fix ToSlice
xhuohai Sep 22, 2023
229e6aa
fix matmul
zhen8838 Sep 22, 2023
5052671
add GatherReduceScatter
xhuohai Sep 22, 2023
5a793d7
fix ToSlice
xhuohai Sep 25, 2023
75d7229
refactor auto dist
zhen8838 Sep 25, 2023
ef13d5c
fix boxing partial to slice codegen
zhen8838 Sep 25, 2023
caf74d5
softmax support split on axis
xhuohai Sep 26, 2023
4cf4017
add conv2d cpu kernel
xhuohai Sep 26, 2023
57fd409
disable outter split on inner splited axis
zhen8838 Sep 26, 2023
71c8e77
fix binary distributedtype infer
zhen8838 Sep 27, 2023
6bc9038
fixGetPartialCandidateNDSBPs
zhen8838 Sep 27, 2023
5b158e0
pass cpu conv2d
xhuohai Sep 27, 2023
da74c6f
support dilated conv2d
xhuohai Sep 27, 2023
56b3a13
add mha pattern
zhen8838 Oct 9, 2023
030c5ed
add combine reshape transpose
zhen8838 Oct 9, 2023
496002a
Merge branch 'feature/combineReshapeTranspose' into feature/cpu
zhen8838 Oct 9, 2023
1cf7cf7
fix mha fusion/ add rules
zhen8838 Oct 11, 2023
96e22a7
fix rdata map dispose
zhen8838 Oct 11, 2023
c801ad8
add xpu reduce arg
zhen8838 Oct 11, 2023
a9160d0
Apply code-format changes
zhen8838 Oct 11, 2023
1b8b365
add VAE fusion
xhuohai Oct 11, 2023
e663bdd
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Oct 11, 2023
332d778
fuse VAE
xhuohai Oct 11, 2023
191da3a
support xpu instance norm
xhuohai Oct 12, 2023
58861a4
Apply code-format changes
xhuohai Oct 12, 2023
53505d6
add reduce arg
zhen8838 Oct 12, 2023
ebe606d
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
zhen8838 Oct 12, 2023
38257af
Apply code-format changes
zhen8838 Oct 12, 2023
962162f
fix to tir keep vars order
zhen8838 Oct 13, 2023
a4fdff2
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
zhen8838 Oct 13, 2023
03e3ae0
Apply code-format changes
zhen8838 Oct 13, 2023
8a2116c
add XPU resize
xhuohai Oct 13, 2023
98f759f
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Oct 13, 2023
0335afd
Apply code-format changes
xhuohai Oct 13, 2023
dda0595
fix resize cpu kernel op
zhen8838 Oct 13, 2023
5a46c83
fix Resize
xhuohai Oct 13, 2023
54bca94
Update layernom op for test
liuzm6217-jianan Oct 13, 2023
69d27ed
Apply code-format changes
liuzm6217-jianan Oct 13, 2023
8c3a09b
fix conv2d kernel
xhuohai Oct 16, 2023
d75c2e6
fix boxing with reshape
xhuohai Oct 16, 2023
2758e8e
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Oct 16, 2023
effa32e
fix build
xhuohai Oct 16, 2023
1d000dd
fix pytest compare
xhuohai Oct 16, 2023
eda8f68
add gelu kernels
xhuohai Oct 16, 2023
41afedf
add xpu cast
xhuohai Oct 16, 2023
e0c4504
fix swish type infer
xhuohai Oct 17, 2023
b3f76d6
support xpu expand
xhuohai Oct 17, 2023
e4f4342
Update layernorm rvv codes
liuzm6217-jianan Oct 17, 2023
7daebdb
fix binary broadcast with distributed broadcast
zhen8838 Oct 18, 2023
5f634c3
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
zhen8838 Oct 18, 2023
42a835b
support multi outputs
zhen8838 Oct 18, 2023
4c99d15
fix single output
zhen8838 Oct 18, 2023
1044a52
fix new linked section
xhuohai Oct 18, 2023
db1db39
fuse Unet
xhuohai Oct 18, 2023
02219e3
add cos dump
zhen8838 Oct 18, 2023
5027cc4
fix build
xhuohai Oct 18, 2023
3ef9470
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Oct 18, 2023
a15e7f6
speed up onnx external data load
xhuohai Oct 18, 2023
8292ad0
add typeinfer case for binary/matmul
xhuohai Oct 19, 2023
8208c71
move matmul rvv to kernels
xhuohai Oct 19, 2023
b4fbc0c
fix conv2d kernel
xhuohai Oct 19, 2023
40c9e7f
fix Unet Fusion
xhuohai Oct 19, 2023
ee3d00f
optimize dynamic onnx
xhuohai Oct 19, 2023
68a8193
change fusion counter
xhuohai Oct 20, 2023
91604cd
fix conv2d if split is partial
xhuohai Oct 20, 2023
33b3ebd
split conv to conv+bias+clamp, and add xpu clamp
xhuohai Oct 23, 2023
aafa155
update fusion merger
xhuohai Oct 23, 2023
035aa97
fix slice with negative axis
xhuohai Oct 23, 2023
6ab3a95
llama-4-decoder pass (x86/rv64)
lerenhua Oct 23, 2023
623cfe9
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
lerenhua Oct 23, 2023
16b2c66
text encoder/vae decoder pass (x86/rv64)
lerenhua Oct 23, 2023
15716b7
fix conan config
lerenhua Oct 23, 2023
d5cae53
Fix cpu/test compile
lerenhua Oct 23, 2023
cd191ee
fix cmake config
lerenhua Oct 23, 2023
856794d
fix synax err
lerenhua Oct 23, 2023
38d96ea
fix synax err
lerenhua Oct 23, 2023
75215a1
normallize axes of slice
xhuohai Oct 24, 2023
fa43840
disable module cpu on windows
lerenhua Oct 24, 2023
3ef9a9d
donot split softmax on axis
xhuohai Oct 24, 2023
d6b44ee
add softmax kernel test
xhuohai Oct 25, 2023
83ede7c
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Oct 25, 2023
80b1076
add rvv instance norm
xhuohai Oct 25, 2023
1226cfa
clean modules dir
lerenhua Oct 25, 2023
40a5950
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
lerenhua Oct 25, 2023
edade39
add rvv clamp
xhuohai Oct 25, 2023
f52626d
Merge branch 'feature/cpu' of https://github.com/kendryte/nncase into…
lerenhua Oct 26, 2023
7789d1f
Clean modules dir
lerenhua Oct 26, 2023
1ad655e
Merge branch 'master' into feature/cpu
zhen8838 Oct 26, 2023
9978e2c
fix match result
zhen8838 Oct 26, 2023
3f93af4
Apply code-format changes
zhen8838 Oct 26, 2023
fd4941a
Clean Tests
lerenhua Oct 26, 2023
69701ba
fix csproj
zhen8838 Oct 26, 2023
fe7ee07
fix buffer schedule
zhen8838 Oct 26, 2023
10aa876
Add unet pytest
lerenhua Oct 30, 2023
3324ff8
add target's commands
zhen8838 Oct 30, 2023
f39d825
fix buffer and memspan hashcode and equals
zhen8838 Oct 30, 2023
1f0ac82
fix unitest
lerenhua Oct 31, 2023
b01e159
fix unittest
lerenhua Nov 1, 2023
b974d53
fix test_cli output dump
xhuohai Nov 1, 2023
95d71da
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Nov 1, 2023
77d485d
fix command line
zhen8838 Oct 31, 2023
df1eecd
fix type infer
zhen8838 Nov 1, 2023
754093f
Merge branch 'feature/cpu' of github.com:kendryte/nncase into feature…
xhuohai Nov 1, 2023
ff8a1c5
Merge branch 'master' into feature/cpu
zhen8838 Nov 2, 2023
d8ec172
fix format
zhen8838 Nov 2, 2023
6451b1c
fix all test
zhen8838 Nov 2, 2023
c1fa17c
Apply code-format changes
zhen8838 Nov 2, 2023
6dbd9be
fix merge
zhen8838 Nov 3, 2023
8177a98
Apply code-format changes
zhen8838 Nov 3, 2023
415e8c2
fix merge
zhen8838 Nov 3, 2023
2ff5aa4
fix runtime build
zhen8838 Nov 3, 2023
18425b6
fix kernel test build
zhen8838 Nov 3, 2023
3acb579
Apply code-format changes
zhen8838 Nov 3, 2023
f7b424d
fix use mean
zhen8838 Nov 3, 2023
c15ea57
Apply code-format changes
zhen8838 Nov 3, 2023
a7e0661
Merge branch 'master' into feature/cpu
zhen8838 Nov 3, 2023
bf64183
optimize dot dump
zhen8838 Nov 3, 2023
17dbcc4
fix merge
zhen8838 Nov 6, 2023
4411d9e
fix output when test cli
zhen8838 Nov 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ artifacts/
*.pidb
*.svclog
*.scc

*.bin
# Chutzpah Test files
_Chutzpah*

Expand Down Expand Up @@ -306,4 +306,4 @@ cmake-build-*
*gmodel_dump_dir*
*.ipynb_checkpoints*
# Auto generated files
# generated/
# generated/
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ endif()

if(NOT DEFINED NNCASE_VERSION_SUFFIX)
find_package (Git)

execute_process(
COMMAND ${GIT_EXECUTABLE} describe --always --dirty --tag
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
Expand Down Expand Up @@ -274,5 +273,5 @@ if(BUILD_TESTING)
endif()

# Modules
#add_subdirectory(modules/k210)

#add_subdirectory(modules/vulkan)
5 changes: 3 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@
<PackageVersion Include="OrtKISharp" Version="0.0.2" />
<PackageVersion Include="RazorLight" Version="2.3.0" />
<PackageVersion Include="Singulink.Collections.Weak" Version="1.0.2" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" />
<PackageVersion Include="System.CommandLine.Hosting" Version="0.3.0-alpha.21216.1" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.435" />
<PackageVersion Include="System.CommandLine.Hosting" Version="0.4.0-alpha.22272.1" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
<PackageVersion Include="System.Reactive" Version="5.0.0" />
<PackageVersion Include="Tomlyn.Extensions.Configuration" Version="1.0.5" />
Expand Down
295 changes: 0 additions & 295 deletions modules/Nncase.Modules.CPU/packages.lock.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.
/* This file is generated by tools/stackvm_gen/IsaGen at 2023/9/18 下午5:04:31 +08:00. */
/* This file is generated by tools/stackvm_gen/IsaGen at 9/20/2023 10:17:08 AM +00:00. */

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -59,7 +59,7 @@
Emitter.T.L2Normalization();
break;
case IR.NN.LayerNorm top:
Emitter.T.LayerNorm(top.Axis, top.Epsilon);
Emitter.T.LayerNorm(top.Axis, top.Epsilon, top.UseMean);

Check warning on line 62 in modules/Nncase.Modules.StackVM/CodeGen/StackVM/CodeGenVisitor.g.cs

View check run for this annotation

Codecov / codecov/patch

modules/Nncase.Modules.StackVM/CodeGen/StackVM/CodeGenVisitor.g.cs#L62

Added line #L62 was not covered by tests
break;
case IR.NN.LeakyRelu top:
Emitter.T.LeakyRelu();
Expand Down Expand Up @@ -176,7 +176,7 @@
Emitter.T.Cast(top.NewType, top.CastMode);
break;
case IR.Tensors.Concat top:
Emitter.T.Concat();
Emitter.T.Concat(top.Axis);
break;
case IR.Tensors.ConstantOfShape top:
Emitter.T.ConstantOfShape();
Expand All @@ -191,7 +191,7 @@
Emitter.T.Flatten();
break;
case IR.Tensors.Gather top:
Emitter.T.Gather();
Emitter.T.Gather(top.Axis);
break;
case IR.Tensors.GatherElements top:
Emitter.T.GatherElements();
Expand All @@ -205,9 +205,6 @@
case IR.Tensors.IndexOf top:
Emitter.T.IndexOf();
break;
case IR.Tensors.LSTM top:
Emitter.T.LSTM(top.Direction, top.Layout, top.Activations);
break;
case IR.Tensors.Prod top:
Emitter.T.Prod();
break;
Expand Down Expand Up @@ -289,6 +286,9 @@
case IR.ShapeExpr.UnsqueezeShape top:
Emitter.T.UnsqueezeShape();
break;
case IR.RNN.LSTM top:
Emitter.T.LSTM(top.Direction, top.Layout, top.Activations);
break;
case IR.Random.Normal top:
Emitter.T.Normal(top.Type);
break;
Expand Down
Loading
Loading