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 4c02133 commit b3a6911Copy full SHA for b3a6911
tests/tensor/test_type.py
@@ -31,6 +31,10 @@ def test_in_same_class():
31
assert test_type.in_same_class(test_type)
32
assert not test_type.in_same_class(test_type2)
33
34
+ test_type = TensorType(config.floatX, shape=())
35
+ test_type2 = TensorType(config.floatX, shape=(None,))
36
+ assert not test_type.in_same_class(test_type2)
37
+
38
39
def test_is_super():
40
test_type = TensorType(config.floatX, shape=(None, None))
0 commit comments