code: def __init__(self, traversal_order: TraversalOrder):
      self.traversal_order: TraversalOrder = traversal_order
      self.current_epoch: int = 0
  
imports: from typing import Any, Callable, List, Mapping, Optional, Sequence, Type, Union
  import warnings
  from ffcv.fields.base import Field
  import torch
  from torch.utils.data.sampler import BatchSampler, Sampler
  from ffcv.loader.loader import Loader, OrderOption, ORDER_TYPE, DEFAULT_OS_CACHE
  from ffcv.traversal_order.base import TraversalOrder
  from ffcv.pipeline.operation import Operation
  from ffcv.pipeline import Compiler
  from avalanche.benchmarks.utils.ffcv_support.ffcv_epoch_iterator import _CustomEpochIterator
label_desc: Use image node_id 1 to create a new _TraversalOrderAsSampler object from inherited base classes: Sampler with example: obj = _TraversalOrderAsSampler(traversal_order)