def convert_initializer_to_input(self, initializer_name: str):
        """Convert an initializer to an input.

        :param initializer_name: name of the initializer to convert to an input.
        """
        io = self.ios[initializer_name]
        if io.source != SpecialInput.INITIALIZER:
            raise ValueError(f"{initializer_name} is not an initializer.")

        # update the ios
        self.ios[initializer_name] = OnnxIO(
            proto=[onnx.helper.make_tensor_value_info(initializer_name, io.proto[0].data_type, io.proto[0].dims)],
            source=SpecialInput.INPUT,
            destination=io.destination,
            graph_idx=io.graph_idx,
        )
Convert an initializer to an input.

        :param initializer_name: name of the initializer to convert to an input.
        
olive/passes/onnx/onnx_dag.py