code: def get_marks(device_name):
      if (
          device_name == "gpu"
          or device_name == tf.distribute.MirroredStrategy
      ):
          return [pytest.mark.needs_gpu]
      else:
          return []
  
imports: import os
  import random
  import inspect
  import numpy
  import pytest
  import tensorflow
  from tensorflow_addons import options
  from tensorflow_addons.utils import resource_loader
  from tensorflow_addons.utils.tf_test_utils import layer_test
label_desc: Use image node_id 15 for calling a global function with example usage: get_marks(device_name) and returns: list, list