提交 d9174295 authored 作者: James Bergstra's avatar James Bergstra

added numpy import to tensor.opt

上级 f6911c94
......@@ -14,7 +14,8 @@ from elemwise import Elemwise, DimShuffle
from theano import scalar
import basic as T
import inplace as I
import numpy as N
import numpy
import numpy as N #guys... please don't do this in the library :(
import operator
import itertools
import sys, os
......@@ -62,7 +63,6 @@ def get_constant_value(v):
return get_constant_value(v.owner.inputs[0])
raise TypeError(v)
@gof.optimizer
def insert_inplace_optimizer(env):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论