def __init__(
        self,
        params: Dict[str, np.ndarray],
        inputs: Dict[str, TensorType],
        outputs: List[str],
        nodes: Optional[List["InternalTorchIRNode"]] = None,
        buffers: Optional[Dict[str, torch.Tensor]] = None,
        input_name_to_source_buffer_name: Optional[Dict[str, str]] = None,
        output_name_to_target_buffer_name: Optional[Dict[str, str]] = None,
    ):
        """
        Arguments:
            params: dict mapping parameter names to their numpy value.
            inputs: OrderedDict mapping input names to their input types.
            outputs: list[str], list of outputs from the graph.
            nodes: list of InternalTorchIRNode in the graph.
            buffers: Dict mapping torch model buffers to their names.
            input_name_to_source_buffer_name: Dict[str, str] (EXIR only)
                dictionary mapping input variable names to underlying mutable buffer names,
                i.e. these input variables are "read" from mutable buffer
            output_name_to_target_buffer_name: Dict[str, str] (EXIR only)
                dictionary mapping output variable names to underlying mutable buffer names,
                i.e. these output variables are "written" to mutable buffer
        """
        self.nodes = nodes
        self.params = params
        self.inputs = inputs
        self.outputs = outputs
        self.buffers = buffers
        self.input_name_to_source_buffer_name = input_name_to_source_buffer_name
        self.output_name_to_target_buffer_name = output_name_to_target_buffer_name

        self.params_scope = {}

        Arguments:
            params: dict mapping parameter names to their numpy value.
            inputs: OrderedDict mapping input names to their input types.
            outputs: list[str], list of outputs from the graph.
            nodes: list of InternalTorchIRNode in the graph.
            buffers: Dict mapping torch model buffers to their names.
            input_name_to_source_buffer_name: Dict[str, str] (EXIR only)
                dictionary mapping input variable names to underlying mutable buffer names,
                i.e. these input variables are "read" from mutable buffer
            output_name_to_target_buffer_name: Dict[str, str] (EXIR only)
                dictionary mapping output variable names to underlying mutable buffer names,
                i.e. these output variables are "written" to mutable buffer
        
coremltools/converters/mil/frontend/torch/internal_graph.py