code: def __init__(self, cuda_visible_devices, gpu_card_count):
      self.__cuda_visible_devices = cuda_visible_devices
      self.__gpu_card_count = gpu_card_count
      self.__cuda_visible_devices_regex = r"^-?\d+(,-?\d+)*$"
  
imports: import re
label_desc: Use image node_id 1 to create a new GPUCardIndicesProvider object from inherited base classes: object with example: obj = GPUCardIndicesProvider(cuda_visible_devices, gpu_card_count)