You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytorch-image-models/timm/bits/__init__.py

27 lines
1.2 KiB

from .avg_scalar import AvgMinMaxScalar
from .avg_tensor import AvgTensor
from .checkpoint_manager import CheckpointManager
from .device_env import DeviceEnv, DeviceEnvType, get_global_device, set_global_device, is_global_device
from .device_env_cuda import DeviceEnvCuda
from .device_env_factory import initialize_device
from .device_env_xla import DeviceEnvXla
from .distributed import distribute_bn, all_gather_recursive, all_reduce_recursive, broadcast_recursive,\
all_reduce_sequence, all_gather_sequence
# from .evaluate import evaluate, eval_step
from .monitor import Monitor
from .metric import Metric, MetricValueT
from .metric_accuracy import AccuracyTopK
from .tracker import Tracker
# from .task_metrics import TaskMetrics, TaskMetricsClassify
from .train_cfg import TrainCfg
from .train_services import TrainServices
from .train_setup import setup_model_and_optimizer
from .train_state import TrainState
# from .task import TaskClassify
from .updater import Updater
from .updater_cuda import UpdaterCudaWithScaler
from .updater_deepspeed import UpdaterDeepSpeed
from .updater_factory import create_updater
from .updater_xla import UpdaterXla, UpdaterXlaWithScaler
# from .train import train_one_epoch, Experiment