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 9370714 commit 01b107eCopy full SHA for 01b107e
test/legacy_test/test_activation_op.py
@@ -168,6 +168,11 @@ def init_shape(self):
168
self.shape = []
169
170
171
+class TestExpPrim_ZeroSize(TestExpFp32_Prim):
172
+ def init_shape(self):
173
+ self.shape = [0, 2]
174
+
175
176
class TestExp_Complex64(OpTest):
177
def setUp(self):
178
self.op_type = "exp"
@@ -314,6 +319,11 @@ def init_shape(self):
314
319
315
320
316
321
322
+class TestExpm1_ZeroSize(TestExpm1):
323
324
325
326
317
327
class TestExpm1API(unittest.TestCase):
318
328
def init_dtype(self):
329
self.dtype = 'float64'
0 commit comments