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 d42dd87 commit 4ed70d6Copy full SHA for 4ed70d6
tests/simple/arith.py
@@ -15,8 +15,8 @@ def simple_arith(verbose = False):
15
display_func = _util.display_func(verbose)
16
print_func = _util.print_func(verbose)
17
18
- a = af.randu(3,3,dtype=af.Dtype.u32)
19
- b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
+ a = af.randu(3,3)
+ b = af.constant(4, 3, 3)
20
display_func(a)
21
display_func(b)
22
@@ -99,6 +99,9 @@ def simple_arith(verbose = False):
99
display_func(a == 0.5)
100
display_func(0.5 == a)
101
102
+ a = af.randu(3,3,dtype=af.Dtype.u32)
103
+ b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
104
+
105
display_func(a & b)
106
display_func(a & 2)
107
c = a
0 commit comments