code: def get_shape(self, tensor_name: str):
      return self._get_slice(tensor_name).get_shape()
  
imports: import os
  from pathlib import Path
  from typing import List, Dict, Optional, Tuple
  from safetensors import safe_open, SafetensorError
  import torch
  from loguru import logger
  from huggingface_hub import hf_hub_download
  import json
  from text_generation_server.utils.log import log_once
label_desc: Use image node_id 5 for calling the Weights obj's underlying member method code with example usage: obj.get_shape(tensor_name) and returns: self