allow the input of `concat` to be tuple`

This commit is contained in:
CHEN Xinsheng 2025-02-18 20:56:57 +08:00
parent e4be9b1f78
commit cc3b402913
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class ConcatACL(jt.Function):
super(ConcatACL, self).__init__()
def __call__(self, *args):
assert isinstance(args[0], list)
assert isinstance(args[0], (list, tuple))
assert isinstance(args[1], int)
if jt.flags.no_grad:
return self.execute(*args)