code: def up_size(N: int, size: torch.Size) -> Tuple[int, int]:
      return (*size[:-1], size[-1] * N)
  
imports: import itertools
  from typing import List, Tuple
  import torch
  import torch._prims_common
label_desc: Use image node_id 2 for calling a global function with example usage: up_size(N, size) and returns: unknown,  unknown