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

Pep8

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