TchElement

Trait TchElement 

Source
pub trait TchElement: Element + Element { }
Expand description

The element type for the tch backend.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TchElement for bool

Source§

impl TchElement for f32

Source§

impl TchElement for f64

Source§

impl TchElement for i8

Source§

impl TchElement for i16

Source§

impl TchElement for i32

Source§

impl TchElement for i64

Source§

impl TchElement for u8

Source§

impl TchElement for bf16

Source§

impl TchElement for f16

Implementors§