Trait tfrecord::markers::TensorProtoElement[][src]

pub trait TensorProtoElement where
    Self: Copy
{ const DATA_TYPE: DataType; fn to_bytes(&self) -> Vec<u8>; }

The marker trait that can be converted to elements of TensorProto.

Associated Constants

Loading content...

Required methods

fn to_bytes(&self) -> Vec<u8>[src]

Loading content...

Implementations on Foreign Types

impl TensorProtoElement for u8[src]

impl TensorProtoElement for u16[src]

impl TensorProtoElement for u32[src]

impl TensorProtoElement for u64[src]

impl TensorProtoElement for i8[src]

impl TensorProtoElement for i16[src]

impl TensorProtoElement for i32[src]

impl TensorProtoElement for i64[src]

impl TensorProtoElement for f32[src]

impl TensorProtoElement for f64[src]

Loading content...

Implementors

Loading content...