class_docstr: Common API for digit dataset access
  
  Args:
      data_path (string): root directory of dataset
      transform_kind (string): types of image transforms
class_docstr_tok: ["Common","API","for","digit","dataset","access","Args",":","data_path","(","string",")",":","root","directory","of","dataset","transform_kind","(","string",")",":","types","of","image","transforms"]
code: def __init__(self, data_path, transform_kind):
      super().__init__(n_classes=10)
      self._data_path = data_path
      self._transform = get_transform(transform_kind)
  
imports: import glob
  import logging
  import os
  from enum import Enum
  import numpy
  import pydicom
  import torch
  from torchvision import datasets, transforms
  from kale.loaddata.dataset_access import DatasetAccess
  from kale.loaddata.mnistm import MNISTM
  from kale.loaddata.multi_domain import MultiDomainAccess, MultiDomainImageFolder
  from kale.loaddata.usps import USPS
  from kale.prepdata.image_transform import get_transform
  from kale.utils.download import download_file_by_url
label_desc: Use image node_id 1 to create a new DigitDatasetAccess object from inherited base classes: DatasetAccess with example: obj = DigitDatasetAccess(data_path, transform_kind)