code: def build_input_tensor(dims: Sequence[int]) -> torch.Tensor:
      """build input tensor"""
      np_array = np.random.randn(*dims).astype(np.float32)
      tensor = torch.from_numpy(np_array)
      return tensor
  
imports: from typing import Sequence, Dict
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: build_input_tensor(dims) and returns: tensor