示例#1
0
文件: __init__.py 项目: muizzk/delira
from delira import get_backends as _get_backends

if "SKLEARN" in _get_backends():
    from delira.training.backends.sklearn.trainer import \
        SklearnEstimatorTrainer
    from delira.training.backends.sklearn.experiment import SklearnExperiment
    from delira.training.backends.sklearn.utils import create_optims_default \
        as create_sklearn_optims_default
示例#2
0
文件: __init__.py 项目: muizzk/delira
from delira import get_backends as _get_backends

if "TF" in _get_backends():
    from delira.models.backends.tf_graph.abstract_network import \
        AbstractTfGraphNetwork
示例#3
0
from delira import get_backends as _get_backends

if "CHAINER" in _get_backends():
    from delira.training.backends.chainer import *

if "SKLEARN" in _get_backends():
    from delira.training.backends.sklearn import *

if "TF" in _get_backends():
    from delira.training.backends.tf_graph import *
    from delira.training.backends.tf_eager import *

if "TORCH" in _get_backends():
    from delira.training.backends.torch import *
    from delira.training.backends.torchscript import *
示例#4
0
文件: __init__.py 项目: muizzk/delira
from delira import get_backends as _get_backends

if "TORCH" in _get_backends():
    from delira.training.backends.torch.trainer import PyTorchNetworkTrainer
    from delira.training.backends.torch.experiment import PyTorchExperiment
    from delira.training.backends.torch.utils import create_optims_default \
        as create_pytorch_optims_default
    from delira.training.backends.torch.utils import convert_to_numpy \
        as convert_torch_to_numpy
示例#5
0
文件: __init__.py 项目: muizzk/delira
from delira import get_backends as _get_backends

if "CHAINER" in _get_backends():
    from delira.training.backends.chainer.trainer import ChainerNetworkTrainer
    from delira.training.backends.chainer.experiment import ChainerExperiment
    from delira.training.backends.chainer.utils import convert_to_numpy \
        as convert_chainer_to_numpy
    from delira.training.backends.chainer.utils import create_optims_default \
        as create_chainer_optims_default