get_backend: Main function to detect and return backend

View source: R/compiler-backends.R

get_backendR Documentation

Main function to detect and return backend

Description

Main function to detect and return backend

Usage

get_backend(tensor)

Arguments

tensor

any supported tensor-like object

Value

An instance of a EinopsBackend() class. Every returned object is a singleton, so the same object will be returned for the same tensor type.


einops documentation built on Sept. 9, 2025, 5:29 p.m.