code: def _get_num_tensor_elts(shape):
      size = 1
      for dim in shape:
          size = size * dim
      return size
  
imports: import contextlib
  import json
  import os
  import re
  import shutil
  import tarfile
  import textwrap
  from datetime import datetime
  import numpy
  import tvm
  from tvm.contrib import utils
label_desc: Use image node_id 9 for calling a global function with example usage: _get_num_tensor_elts(shape) and returns: size