Skip to content

Commit e64d6d3

Browse files
committed
Added numba backend for Nonzero
1 parent a2fe553 commit e64d6d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pytensor/tensor/basic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from typing import TYPE_CHECKING, Union
1414
from typing import cast as type_cast
1515

16-
import numba as nb
1716
import numpy as np
1817
from numpy.exceptions import AxisError
1918

@@ -973,7 +972,6 @@ def make_node(self, a):
973972
output = [TensorType(dtype="int64", shape=(None,))() for i in range(a.ndim)]
974973
return Apply(self, [a], output)
975974

976-
@nb.njit
977975
def perform(self, node, inp, out_):
978976
a = inp[0]
979977

0 commit comments

Comments
 (0)