提交 11e773df authored 作者: Brandon T. Willard's avatar Brandon T. Willard

Apply isort to tests.scalar sub-package modules

上级 e97cae43
...@@ -8,68 +8,64 @@ If you do want to rewrite these tests, bear in mind: ...@@ -8,68 +8,64 @@ If you do want to rewrite these tests, bear in mind:
* You don't need to use Composite. * You don't need to use Composite.
* FunctionGraph and DualLinker are old, use compile.function instead. * FunctionGraph and DualLinker are old, use compile.function instead.
""" """
import pytest
import numpy as np import numpy as np
import pytest
import theano
import tests.unittest_tools as utt import tests.unittest_tools as utt
import theano
from theano import gof from theano import gof
from theano.gof import FunctionGraph from theano.gof import FunctionGraph
from theano.scalar.basic import ( from theano.scalar.basic import (
floats,
float16,
float32,
float64,
ints,
int8,
int32,
complex64,
uint8,
ComplexError, ComplexError,
Composite,
InRange,
IntDiv, IntDiv,
Scalar,
TrueDiv, TrueDiv,
Composite,
add, add,
div_proxy,
and_, and_,
eq, arccos,
neq, arccosh,
invert, arcsin,
mul, arcsinh,
Scalar, arctan,
InRange, arctan2,
arctanh,
cast, cast,
complex64,
constant, constant,
switch, cos,
true_div, cosh,
deg2rad,
div_proxy,
eq,
exp,
exp2,
expm1,
float16,
float32,
float64,
floats,
int8,
int32,
ints,
inv, inv,
invert,
log, log,
log1p,
log2, log2,
log10, log10,
log1p, mul,
exp, neq,
exp2,
expm1,
sqrt,
deg2rad,
rad2deg, rad2deg,
cos,
arccos,
sin, sin,
arcsin,
tan,
arctan,
arctan2,
cosh,
arccosh,
sinh, sinh,
arcsinh, sqrt,
switch,
tan,
tanh, tanh,
arctanh, true_div,
uint8,
) )
......
...@@ -2,6 +2,7 @@ import pytest ...@@ -2,6 +2,7 @@ import pytest
import theano import theano
sympy = pytest.importorskip("sympy") sympy = pytest.importorskip("sympy")
from theano.scalar.basic import floats from theano.scalar.basic import floats
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论