code: def _get_embeddings_attr(self, attr: str):
      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
  from typing import Any, Dict, List, Optional, Tuple
  import omegaconf
  import torch
  from mmf.common.registry import registry
  from mmf.models.base_model import BaseModel
  from mmf.modules.embeddings import PreExtractedEmbedding, TextEmbedding, TwoBranchEmbedding
  from mmf.modules.layers import BranchCombineLayer, ClassifierLayer
  from mmf.utils.build import build_image_encoder
  from mmf.utils.general import filter_grads
  from omegaconf import DictConfig
label_desc: Use image node_id 9 for calling the MoVieMcan obj's underlying member method code with example usage: obj._get_embeddings_attr(attr) and returns: embedding_attr1