code: def test_raises_no_input_output_dim(
      self, model_configs_no_input_output_dim
  ):
      with pytest.raises(AttributeError):
          model = IAF(model_configs_no_input_output_dim)
  
imports: import os
  from copy import deepcopy
  import numpy
  import pytest
  import torch
  from pythae.data.datasets import BaseDataset
  from pythae.models import AutoModel
  from pythae.models.base.base_utils import ModelOutput
  from pythae.models.normalizing_flows import IAF, IAFConfig, NFModel
  from pythae.pipelines import TrainingPipeline
  from pythae.trainers import BaseTrainer, BaseTrainerConfig
label_desc: Use image node_id 2 for calling the Test_Model_Building obj's underlying member method code with example usage: obj.test_raises_no_input_output_dim(model_configs_no_input_output_dim) without return types