Trait ssvm_tensorflow_interface::TensorType[][src]

pub trait TensorType: Clone {
    type InnerType;
    fn val() -> u32;
fn zero() -> Self; }
Expand description

TensorType trait. Internal only.

Associated Types

Required methods

fn val() -> u32[src]

fn zero() -> Self[src]

Implementations on Foreign Types

impl TensorType for f32[src]

type InnerType = f32

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for f64[src]

type InnerType = f64

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for i32[src]

type InnerType = i32

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for u8[src]

type InnerType = u8

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for u16[src]

type InnerType = u16

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for u32[src]

type InnerType = u32

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for u64[src]

type InnerType = u64

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for i16[src]

type InnerType = i16

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for i8[src]

type InnerType = i8

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for i64[src]

type InnerType = i64

fn val() -> u32[src]

fn zero() -> Self[src]

impl TensorType for bool[src]

type InnerType = bool

fn val() -> u32[src]

fn zero() -> Self[src]

Implementors