提交 21de50e6 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Pep8

上级 2ac39b3e
import theano
import numpy
import scipy.sparse
from theano import gof, tensor, scalar, sparse
from theano.tensor import blas
from theano import gof, tensor
from theano.sparse.basic import (
as_sparse_variable, SparseType, add_s_s, neg,
......@@ -41,6 +39,7 @@ from theano.sparse.opt import (
local_mul_s_d, local_mul_s_v,
local_structured_add_s_v, local_sampling_dot_csr)
# Alias to maintain compatibility
EliminateZeros = Remove0
eliminate_zeros = remove0
......
import time
import unittest
from nose.plugins.skip import SkipTest
import numpy
try:
import scipy.sparse as sp
import scipy.sparse
except ImportError:
pass # The variable enable_sparse will be used to disable the test file.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论