code: def init_field_types(
      self,
      label_type="float32",
      weight_type="float32",
      dtype="float32",
      default_type="float32",
      match_id_type="index",
      sample_id_type="index",
  ):
      self._type_mapping[self._schema.sample_id_name] = "index"
  
      if self._schema.match_id_name:
          self._type_mapping[self._schema.match_id_name] = "index"
  
      if self._schema.label_name:
          self._type_mapping[self._schema.label_name] = label_type
  
      if self._schema.weight_name:
          self._type_mapping[self._schema.weight_name] = weight_type
  
      if isinstance(dtype, str):
          for column in self._schema.columns:
              self._type_mapping[column] = dtype
      elif isinstance(dtype, dict):
          for column in self._schema.columns:
              self._type_mapping[column] = dtype.get(
                  column, default_type
              )
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 15 for calling the SchemaManager obj's underlying member method code with example usage: obj.init_field_types(label_type, weight_type, dtype, default_type, match_id_type, sample_id_type) without return types