code: def custom_decoder(model_configs):
      return Decoder_AE_Conv(model_configs)
  
imports: import os
  from copy import deepcopy
  import numpy
  import pytest
  import torch
  from pythae.customexception import BadInheritanceError
  from pythae.models import VAEGAN, AutoModel, VAEGANConfig
  from pythae.models.base.base_utils import ModelOutput
  from pythae.pipelines import GenerationPipeline, TrainingPipeline
  from pythae.samplers import GaussianMixtureSamplerConfig, IAFSamplerConfig, MAFSamplerConfig, NormalSamplerConfig, TwoStageVAESamplerConfig
  from pythae.trainers import BaseTrainerConfig, CoupledOptimizerAdversarialTrainer, CoupledOptimizerAdversarialTrainerConfig
  from tests.data.custom_architectures import Decoder_AE_Conv, Discriminator_MLP_Custom, Encoder_VAE_Conv, NetBadInheritance
label_desc: Use image node_id 4 for calling a global function with example usage: custom_decoder(model_configs) and returns: Decoder_AE_Conv