code: def assert_gpu_available():
      """Verifies a GPU accelerator is available."""
      physical_devices = tf.config.list_physical_devices("GPU")
      num_gpus = len(physical_devices)
      assert num_gpus >= 1, "execution requires one GPU"
  
file_path: graphics/tensorflow_graphics/projects/pointnet/helpers.py
imports: from __future__ import print_function
  import argparse
  import os
  import tempfile
  import time
  import tensorflow
  import termcolor
label_desc: Use image node_id 1 for calling a global function with example usage: assert_gpu_available() without return types