docstr: Returns the currently used backend instance
  
  Returns
  -------
  backend : tensorly.backend.Backend
      Backend instance currently in use
docstr_tok: ["Returns","the","currently","used","backend","instance","Returns","--","--","--","-","backend",":","tensorly.backend.Backend","Backend","instance","currently","in","use"]
code: def current_backend(cls):
      """Returns the currently used backend instance
  
      Returns
      -------
      backend : tensorly.backend.Backend
          Backend instance currently in use
      """
      return cls._THREAD_LOCAL_DATA.__dict__.get(
          "backend", cls._backend
      )
  
imports: import warnings
  from .core import Backend, backend_array
  import importlib
  import os
  import threading
  from contextlib import contextmanager
  import inspect
  import types
  import sys
label_desc: Use image node_id 3 for calling the BackendManager obj's underlying member method code with example usage: obj.current_backend(cls) and returns: cls