提交 8917fa7d authored 作者: Pascal Lamblin's avatar Pascal Lamblin

grmbl typo

上级 3059d6f1
...@@ -88,7 +88,7 @@ def get_constant_value(v): ...@@ -88,7 +88,7 @@ def get_constant_value(v):
if isinstance(v.owner.op, T.DimShuffle): if isinstance(v.owner.op, T.DimShuffle):
return get_constant_value(v.owner.inputs[0]) return get_constant_value(v.owner.inputs[0])
if isinstance(v.owner.op, T.Rebroadcast): if isinstance(v.owner.op, T.Rebroadcast):
return get_constant_value(v.owner.inputs[0])) return get_constant_value(v.owner.inputs[0])
if v.owner.op == T.fill: if v.owner.op == T.fill:
shape, val = v.owner.inputs shape, val = v.owner.inputs
# fill(a,b) fills the shape of 'a' filled with 'b' # fill(a,b) fills the shape of 'a' filled with 'b'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论