code: def randBlob(name, type, *dims, **kwargs):
      offset = kwargs["offset"] if "offset" in kwargs else 0.0
      workspace.FeedBlob(
          name, np.random.rand(*dims).astype(type) + offset
      )
  
imports: import numpy
  from caffe2.python import core, workspace
  import os
  import pathlib
  import shutil
  import tempfile
  import unittest
  from typing import Any, Callable, Tuple, Type
  from types import TracebackType
label_desc: Use image node_id 2 for calling a global function with example usage: randBlob(name, type) without return types