code: def check_mlp(model, frozen):
      assert isinstance(model.input_layer, QLinear)
      assert isinstance(model.mid_layer, QLinear)
      assert isinstance(model.output_layer, QLinear)
      if frozen:
          assert isinstance(model.input_layer.weight, QTensor)
          assert isinstance(model.mid_layer.weight, QTensor)
          assert isinstance(model.output_layer.weight, QTensor)
  
file_path: quanto/test/model/test_quantize_mlp.py
imports: import pytest
  import torch
  from helpers import assert_similar, random_qtensor
  from quanto import Calibration, QLinear, QTensor, freeze, quantize
label_desc: Use image node_id 1 for calling a global function with example usage: check_mlp(model, frozen) without return types