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

Apply isort to tests.typed_list sub-package modules

上级 671b190c
import numpy as np import numpy as np
import pytest import pytest
import theano import theano
import theano.typed_list
import theano.tensor as tt import theano.tensor as tt
import theano.typed_list
from tests import unittest_tools as utt
from theano import sparse from theano import sparse
from theano.tensor.type_other import SliceType from theano.tensor.type_other import SliceType
from theano.typed_list.type import TypedListType
from theano.typed_list.basic import ( from theano.typed_list.basic import (
GetItem,
Insert,
Append, Append,
Count,
Extend, Extend,
Remove, GetItem,
Reverse,
Index, Index,
Count, Insert,
Length, Length,
Remove,
Reverse,
make_list, make_list,
) )
from tests import unittest_tools as utt from theano.typed_list.type import TypedListType
def rand_ranged_matrix(minimum, maximum, shape): def rand_ranged_matrix(minimum, maximum, shape):
......
...@@ -3,10 +3,9 @@ import numpy as np ...@@ -3,10 +3,9 @@ import numpy as np
import theano import theano
import theano.tensor as tt import theano.tensor as tt
import theano.typed_list import theano.typed_list
from theano import In from theano import In
from theano.typed_list.basic import Append, Extend, Insert, Remove, Reverse
from theano.typed_list.type import TypedListType from theano.typed_list.type import TypedListType
from theano.typed_list.basic import Insert, Append, Extend, Remove, Reverse
# took from tensors/tests/test_basic.py # took from tensors/tests/test_basic.py
......
import pytest
import numpy as np import numpy as np
import pytest
import theano import theano
import theano.typed_list
import theano.tensor as tt import theano.tensor as tt
import theano.typed_list
from theano.typed_list.type import TypedListType
from tests import unittest_tools as utt from tests import unittest_tools as utt
from theano.typed_list.type import TypedListType
# Taken from tensors/tests/test_basic.py # Taken from tensors/tests/test_basic.py
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论