提交 9612b7d9 authored 作者: Frederic Bastien's avatar Frederic Bastien

add missing import

上级 72fee859
...@@ -9,17 +9,18 @@ __docformat__ = "restructuredtext en" ...@@ -9,17 +9,18 @@ __docformat__ = "restructuredtext en"
import __builtin__ import __builtin__
import logging import logging
_logger = logging.getLogger('theano.tensor.tensor_grad') import warnings
import numpy #for numeric_grad import numpy #for numeric_grad
import theano import theano
from theano.tensor import TensorType, TensorVariable, ones_like, \ from theano.tensor import TensorType, TensorVariable, ones_like, \
zeros_like, as_tensor_variable zeros_like, as_tensor_variable, cast
from theano import gradient from theano import gradient
from theano import gof, shared from theano import gof, shared
from theano import compile from theano import compile
_logger = logging.getLogger('theano.tensor.tensor_grad')
######################## ########################
# R Operator # R Operator
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论