Skip to content

Commit

Permalink
remove op=False
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Aug 5, 2022
1 parent 1247e5a commit dbcb683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kernex/src/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __multi_call__(self, array, *args, **kwargs):
return result.reshape(*self.output_shape, *func_shape)


@pytc.treeclass(op=False)
@pytc.treeclass
class kernelMap(baseKernelMap):
def __init__(self, func_dict, shape, kernel_size, strides, padding, relative):

Expand All @@ -64,7 +64,7 @@ def __call__(self, array, *args, **kwargs):
return self.__call__(array, *args, **kwargs)


@pytc.treeclass(op=False)
@pytc.treeclass
class offsetKernelMap(kernelMap):
def __init__(self, func_dict, shape, kernel_size, strides, offset, relative):

Expand Down
4 changes: 2 additions & 2 deletions kernex/src/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def scan_body(padded_array, view):
)


@pytc.treeclass(op=False)
@pytc.treeclass
class kernelScan(baseKernelScan):
def __init__(self, func_dict, shape, kernel_size, strides, padding, relative):

Expand All @@ -72,7 +72,7 @@ def __call__(self, array, *args, **kwargs):
return self.__call__(array, *args, **kwargs)


@pytc.treeclass(op=False)
@pytc.treeclass
class offsetKernelScan(kernelScan):
def __init__(self, func_dict, shape, kernel_size, strides, offset, relative):

Expand Down

0 comments on commit dbcb683

Please sign in to comment.