code: def backend_tests(request):
      """
      Fixture that returns cpu and gpu backends for 16 and 32 bit
      """
      be = gen_backend(
          backend=request.param[0],
          datatype=request.param[1],
          batch_size=128,
          device_id=request.config.getoption("--device_id"),
          rng_seed=0,
      )
  
      # add a cleanup call - will run after all tests in module are done
      def cleanup():
          be = request.getfuncargvalue("backend_tests")
          del be
  
      request.addfinalizer(cleanup)
  
      # tests using this fixture can access the backend object from
      # backend or use the NervanaObject.be global
      return be
  
imports: import itertools
  import numpy
  import pytest
  import re
  import os
  import sys
  from neon.backends import gen_backend
  from neon.backends.nervanacpu import NervanaCPU
  from neon.layers.container import DeltasTree
label_desc: Use image node_id 10 for calling a global function with example usage: backend_tests(request) and returns: be