Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
okuta committed Aug 24, 2017
1 parent f6543af commit 5eea9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chainer/functions/array/flatten.py
@@ -1,4 +1,4 @@
from chainer.functions.array import reshape
import chainer


def flatten(x):
Expand Down Expand Up @@ -37,4 +37,4 @@ def flatten(x):
array([0, 1, 2, 3, 4, 5, 6, 7])
"""
return reshape.reshape(x, (x.size,))
return chainer.functions.reshape(x, (x.size,))

0 comments on commit 5eea9d7

Please sign in to comment.