提交 0a24d376 authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Brandon T. Willard

Use new theano.config.change_flags in theano.tensor.random.op

上级 5cc5290d
......@@ -269,7 +269,7 @@ class RandomVariable(Op):
return shape
@theano.change_flags(compute_test_value="off")
@theano.config.change_flags(compute_test_value="off")
def compute_bcast(self, dist_params, size):
"""Compute the broadcast array for this distribution's `TensorType`.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论