-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
43 lines (39 loc) · 1.43 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# =============================================================================
# 从step23.py到step32.py使用simple_core
is_simple_core = False # True
# =============================================================================
if is_simple_core:
from dezero.core_simple import Variable
from dezero.core_simple import Function
from dezero.core_simple import using_config
from dezero.core_simple import no_grad
from dezero.core_simple import as_array
from dezero.core_simple import as_variable
from dezero.core_simple import setup_variable
else:
from dezero.core import Variable
from dezero.core import Parameter
from dezero.core import Function
from dezero.core import using_config
from dezero.core import no_grad
from dezero.core import test_mode
from dezero.core import as_array
from dezero.core import as_variable
from dezero.core import setup_variable
from dezero.core import Config
from dezero.layers import Layer
from dezero.models import Model
from dezero.datasets import Dataset
from dezero.dataloaders import DataLoader
from dezero.dataloaders import SeqDataLoader
import dezero.datasets
import dezero.dataloaders
import dezero.optimizers
import dezero.functions
import dezero.functions_conv
import dezero.layers
import dezero.utils
import dezero.cuda
import dezero.transforms
setup_variable()
__version__ = '0.0.13'