Skip to main content

TensorBackend

Trait TensorBackend 

Source
pub trait TensorBackend:
    BackendRuntimeCache
    + BackendSession
    + TensorBackendOps
    + BackendCachedDot
    + TensorDeviceTransfer
    + BackendSessionHost { }
Expand description

Standard runtime backend over dynamic Tensor values.

§Examples

use tenferro_tensor::TensorBackend;

fn accepts_backend<B: TensorBackend>(_backend: &mut B) {}

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§