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 bbb5deb commit 8043803Copy full SHA for 8043803
tests/test_flatten.py
@@ -4,7 +4,7 @@
4
from autograd import make_vjp, grad
5
6
def test_flatten():
7
- val = (npr.randn(4), [npr.randn(3,4), 2.5], (), (2.0, [1.0, npr.randn(2)]))
+ val = (npr.randn(4), [npr.randn(3,4), 2.5], (2.0, [1.0, npr.randn(2)]))
8
vect, unflatten = flatten(val)
9
val_recovered = unflatten(vect)
10
vect_2, _ = flatten(val_recovered)
0 commit comments