提交 40d372f4 authored 作者: Alexander Matyasko's avatar Alexander Matyasko

Fix pygpu import error

上级 4dc500ed
from __future__ import absolute_import, print_function, division
import os.path
import pygpu
from theano import Apply
from theano.tensor.basic import as_tensor_variable
from .basic_ops import CGpuKernelBase, infer_context_name, as_gpuarray_variable
try:
import pygpu
except ImportError as e:
# To make sure theano is importable
pass
class GpuPool(CGpuKernelBase):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论