Skip to content

Commit

Permalink
Update cgraph api 2 (#129)
Browse files Browse the repository at this point in the history
* update compute graph APIs

* fix

* Update CGraph API v2
  • Loading branch information
jim19930609 committed Nov 22, 2023
1 parent 54290d7 commit 2eaaa0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 7_comet/assets/comet.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def get_save_dir(name, arch):
sym_arr = ti.graph.Arg(ti.graph.ArgKind.NDARRAY,
'arr',
ti.f32,
ndim=2,
element_shape=())
ndim=2)
@ti.kernel
def img_to_ndarray(arr: ti.types.ndarray()):
for I in grouped(img):
Expand Down

0 comments on commit 2eaaa0f

Please sign in to comment.