提交 47e80b32 authored 作者: Bogdan Budescu's avatar Bogdan Budescu

PEP8 fix

上级 11786780
...@@ -775,13 +775,13 @@ class MRG_RandomStreams(object): ...@@ -775,13 +775,13 @@ class MRG_RandomStreams(object):
""" """
low = as_tensor_variable(low) low = as_tensor_variable(low)
high = as_tensor_variable(high) high = as_tensor_variable(high)
if dtype is None: if dtype is None:
dtype = scal.upcast(config.floatX, low.dtype, high.dtype) dtype = scal.upcast(config.floatX, low.dtype, high.dtype)
low = cast(low, dtype=dtype) low = cast(low, dtype=dtype)
high = cast(high, dtype=dtype) high = cast(high, dtype=dtype)
low = undefined_grad(low) low = undefined_grad(low)
high = undefined_grad(high) high = undefined_grad(high)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论