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

Apply isort to tests.scan_module sub-package modules

上级 11e773df
...@@ -2,27 +2,21 @@ import os ...@@ -2,27 +2,21 @@ import os
import shutil import shutil
import sys import sys
import time import time
from collections import OrderedDict
from tempfile import mkdtemp
import numpy as np
import pytest import pytest
import six.moves.cPickle as pickle import six.moves.cPickle as pickle
import numpy as np
import theano import theano
import theano.sandbox.rng_mrg import theano.sandbox.rng_mrg
import theano.scalar.sharedvar import theano.scalar.sharedvar
from tests import unittest_tools as utt
from tempfile import mkdtemp
from collections import OrderedDict
from theano import tensor from theano import tensor
from theano.compile.pfunc import rebuild_collect_shared from theano.compile.pfunc import rebuild_collect_shared
from theano.scan_module.scan_op import Scan from theano.scan_module.scan_op import Scan
from tests import unittest_tools as utt
""" """
Questions and notes about scan that should be answered : Questions and notes about scan that should be answered :
......
...@@ -2,8 +2,9 @@ import numpy as np ...@@ -2,8 +2,9 @@ import numpy as np
import pytest import pytest
import theano import theano
import theano.tensor as tt
import theano.gpuarray import theano.gpuarray
import theano.tensor as tt
try: try:
from pygpu.gpuarray import GpuArrayException from pygpu.gpuarray import GpuArrayException
......
...@@ -2,11 +2,10 @@ import numpy as np ...@@ -2,11 +2,10 @@ import numpy as np
import theano import theano
import theano.tensor as tt import theano.tensor as tt
from tests import unittest_tools as utt
from theano import config from theano import config
from theano.scan_module.scan_op import Scan from theano.scan_module.scan_op import Scan
from tests import unittest_tools as utt
mode = theano.compile.mode.get_mode(config.mode) mode = theano.compile.mode.get_mode(config.mode)
......
import itertools import itertools
import pytest
import numpy as np import numpy as np
import pytest
import theano import theano
from theano import tensor from theano import tensor
from theano.scan_module.scan_utils import map_variables from theano.scan_module.scan_utils import map_variables
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论