code: def get_text_embeds(self, prompt):
      return self.text_encoder(prompt)
  
imports: import logging
  import os
  import tempfile
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  from omegaconf import OmegaConf
  from polygraphy import cuda
  from transformers import CLIPTokenizer
  from nemo.collections.multimodal.models.text_to_image.stable_diffusion.ldm.ddpm import LatentDiffusion
  from nemo.collections.multimodal.modules.nerf.guidance.txt2img_guidance_base import Txt2ImgGuidanceBase
  from nemo.collections.multimodal.modules.nerf.utils.trt_engine import Engine, device_view
  from nemo.collections.multimodal.modules.stable_diffusion.diffusionmodules.util import extract_into_tensor, make_beta_schedule
  from nemo.collections.multimodal.parts.stable_diffusion.utils import default
  from nemo.collections.multimodal.parts.utils import randn_like
  from nemo.collections.nlp.parts.nlp_overrides import NLPSaveRestoreConnector
label_desc: Use image node_id 2 for calling the StableDiffusion obj's underlying member method code with example usage: obj.get_text_embeds(prompt) and returns: self