We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7f3e1 commit ce70501Copy full SHA for ce70501
pytensor/tensor/basic.py
@@ -13,6 +13,7 @@
13
from typing import TYPE_CHECKING, Union
14
from typing import cast as type_cast
15
16
+import numba as nb
17
import numpy as np
18
from numpy.exceptions import AxisError
19
@@ -972,6 +973,7 @@ def make_node(self, a):
972
973
output = [TensorType(dtype="int64", shape=(None,))() for i in range(a.ndim)]
974
return Apply(self, [a], output)
975
976
+ @nb.njit
977
def perform(self, node, inp, out_):
978
a = inp[0]
979
0 commit comments