code: def _get_embeddings_attr(self, attr):
      embedding_attr1 = attr
      if hasattr(self, attr + "_embeddings_out_dim"):
          embedding_attr1 = attr + "_embeddings_out_dim"
      else:
          embedding_attr1 = attr + "_feature_embeddings_out_dim"
  
      return embedding_attr1
  
imports: import copy
  import omegaconf
  import torch
  from mmf.common.registry import registry
  from mmf.models.base_model import BaseModel
  from mmf.modules.embeddings import ImageFeatureEmbedding, MultiHeadImageFeatureEmbedding, PreExtractedEmbedding, TextEmbedding
  from mmf.modules.layers import ClassifierLayer, ModalCombineLayer
  from mmf.utils.build import build_image_encoder
  from torch import nn
label_desc: Use image node_id 10 for calling the Pythia obj's underlying member method code with example usage: obj._get_embeddings_attr(attr) and returns: embedding_attr1