code: def write_tensor_pb(filename, name, value):
      with open(filename, "wb") as f:
          t = onnx.numpy_helper.from_array(value, name)
          f.write(t.SerializeToString())
  
file_path: chainer/onnx_chainer/onnx_helper.py
imports: import onnx
label_desc: Use image node_id 4 for calling a global function with example usage: write_tensor_pb(filename, name, value) without return types