code: def test_build_model(self, model_configs):
      model = MADE(model_configs)
      assert all(
          [
              model.input_dim == np.prod(model_configs.input_dim),
              model.output_dim == np.prod(model_configs.output_dim),
              model.hidden_sizes == model_configs.hidden_sizes,
          ]
      )
  
file_path: benchmark_VAE/tests/test_MADE.py
imports: import os
  import numpy
  import pytest
  import torch
  from pythae.models import AutoModel
  from pythae.models.base.base_utils import ModelOutput
  from pythae.models.normalizing_flows import MADE, MADEConfig
label_desc: Use image node_id 1 for calling the Test_Model_Building obj's underlying member method code with example usage: obj.test_build_model(model_configs) without return types