提交 022b93f8 authored 作者: Tanjay94's avatar Tanjay94

Fixed syntax error.

上级 40d54e13
......@@ -574,7 +574,7 @@ class _tensor_py_operators:
class TensorVariable(_tensor_py_operators, Variable):
"""Subclass to add the tensor operators to the basic `Variable` class."""
def __init__(self, type)
def __init__(self, type):
if (config.warn_float64 and type = float64):
print '''Warning, you are instanciating parts of your graph
with the float64 type (possibly by accident).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论