code: def transform(self, model, node):
      io_type = node.model.config.get_config_value("IOType")
  
      for out_name, var in node.variables.items():
          if io_type == "io_stream":
              if isinstance(var, InplaceTensorVariable):
                  new_var = self.inplace_stream_var_converter.convert(
                      var
                  )
              else:
                  new_var = self.stream_var_converter.convert(var)
          elif io_type == "io_parallel":
              if out_name in node.model.inputs:
                  new_var = self.struct_var_converter.convert(
                      var, pragma="hls_register", struct_name="inputs"
                  )
              elif out_name in node.model.outputs:
                  new_var = self.struct_var_converter.convert(
                      var, pragma="hls_register", struct_name="outputs"
                  )
              elif isinstance(var, InplaceTensorVariable):
                  new_var = self.inplace_array_var_converter.convert(
                      var, pragma=""
                  )
              else:
                  new_var = self.array_var_converter.convert(
                      var, pragma="hls_register"
                  )
          else:
              raise Exception(
                  f"Unknown IOType {io_type} in {node.name} ({node.class_name})"
              )
  
          node.set_attr(out_name, new_var)
  
      for w_name, weight in node.weights.items():
          new_weight = self.weight_var_converter.convert(weight)
          node.set_attr(w_name, new_weight)
  
      for t_name, type in node.types.items():
          new_type = self.type_converter.convert(type)
          node.set_attr(t_name, new_type)
  
imports: from hls4ml.backends.fpga.fpga_types import ACTypeConverter, HLSTypeConverter, QuartusArrayVariableConverter, QuartusInplaceArrayVariableConverter, QuartusInplaceStreamVariableConverter, QuartusStreamVariableConverter, QuartusStructMemberVariableConverter, StaticWeightVariableConverter
  from hls4ml.model.optimizer import GlobalOptimizerPass
  from hls4ml.model.types import InplaceTensorVariable
label_desc: Use image node_id 2 for calling the TransformTypes obj's underlying member method code with example usage: obj.transform(model, node) without return types