Trait TensorType
ssvm_tensorflow_interface
pub trait TensorType: Clone { type InnerType; fn val() -> u32; fn zero() -> Self; }
TensorType trait. Internal only.
type InnerType
fn val() -> u32
fn zero() -> Self
impl TensorType for f32
type InnerType = f32
impl TensorType for f64
type InnerType = f64
impl TensorType for i32
type InnerType = i32
impl TensorType for u8
type InnerType = u8
impl TensorType for u16
type InnerType = u16
impl TensorType for u32
type InnerType = u32
impl TensorType for u64
type InnerType = u64
impl TensorType for i16
type InnerType = i16
impl TensorType for i8
type InnerType = i8
impl TensorType for i64
type InnerType = i64
impl TensorType for bool
type InnerType = bool