提交 8f3f254b authored 作者: AndroidCloud's avatar AndroidCloud

fixing flake8 errors

上级 ea52c340
......@@ -4709,7 +4709,6 @@ def vertical_stack(*args):
return concatenate(args, axis=0)
class Reshape(Op):
"""Perform a reshape operation of the input x to the new shape shp.
The number of dimensions to which to reshape to (ndim) must be
......@@ -4732,7 +4731,6 @@ class Reshape(Op):
def __str__(self):
return '%s{%s}' % (self.__class__.__name__, self.ndim)
def make_node(self, x, shp):
x = as_tensor_variable(x)
shp_orig = shp
......@@ -4920,8 +4918,6 @@ def reshape(x, newshape, ndim=None):
return rval
class Flatten(Op):
"""
Flatten a tensor.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论