code: def backend_to_einsum_backends(backend):
      backends = [
          BACKEND_TO_EINSUM_BACKEND[get_backend()],
          BACKEND_TO_LOGSUMEXP_BACKEND[get_backend()],
      ]
      return backends[:1]
  
file_path: funsor/test/test_memoize.py
imports: import numpy
  import pytest
  import funsor.ops
  from funsor.cnf import BACKEND_TO_EINSUM_BACKEND, BACKEND_TO_LOGSUMEXP_BACKEND
  from funsor.einsum import einsum, naive_plated_einsum
  from funsor.interpretations import memoize
  from funsor.interpreter import reinterpret
  from funsor.tensor import numeric_array
  from funsor.terms import reflect
  from funsor.testing import excludes_backend, make_einsum_example, xfail_param
  from funsor.util import get_backend
label_desc: Use image node_id 1 for calling a global function with example usage: backend_to_einsum_backends(backend) and returns: backends