def test_convert_buffer_model_without_state_type(self, float32_buffer_model):
        """
        If the users don't specify StateType for buffer states,
        they will be treated as const tensors.
        We should modify this unittest after we fix this radar:
        rdar://116489054 ([Infra] Have a more sophisticated handling for torch buffer state when not declared as StateType)
        """
        prog = ct.convert(
            float32_buffer_model,
            inputs=[
                ct.TensorType(shape=(3,)),
            ],
            minimum_deployment_target=ct.target.iOS17,
            convert_to="milinternal",
        )
        assert get_op_types_in_program(prog) == [
            "add",
            "mul",
        ]

        If the users don't specify StateType for buffer states,
        they will be treated as const tensors.
        We should modify this unittest after we fix this radar:
        rdar://116489054 ([Infra] Have a more sophisticated handling for torch buffer state when not declared as StateType)
        
coremltools/converters/mil/frontend/torch/test/test_torch_stateful_model.py