tensorly.set_backend

set_backend(backend, local_threadsafe=False)

Changes the backend to the specified one

Parameters:
backendtensorly.Backend or str

name of the backend to load or Backend Class

local_threadsafebool, optional, default is False

If False, set the backend as default for all threads