[][src]Struct tfrecord::protos::attr_value::ListValue

pub struct ListValue {
    pub s: Vec<Vec<u8>>,
    pub i: Vec<i64>,
    pub f: Vec<f32>,
    pub b: Vec<bool>,
    pub type: Vec<i32>,
    pub shape: Vec<TensorShapeProto>,
    pub tensor: Vec<TensorProto>,
    pub func: Vec<NameAttrList>,
}

LINT.IfChange

Fields

s: Vec<Vec<u8>>

"list(string)"

i: Vec<i64>

"list(int)"

f: Vec<f32>

"list(float)"

b: Vec<bool>

"list(bool)"

type: Vec<i32>

"list(type)"

shape: Vec<TensorShapeProto>

"list(shape)"

tensor: Vec<TensorProto>

"list(tensor)"

func: Vec<NameAttrList>

"list(attr)"

Implementations

impl ListValue[src]

pub fn type(
    &self
) -> FilterMap<Cloned<Iter<i32>>, fn(_: i32) -> Option<DataType>>
[src]

Returns an iterator which yields the valid enum values contained in type.

pub fn push_type(&mut self, value: DataType)[src]

Appends the provided enum value to type.

Trait Implementations

impl Clone for ListValue[src]

impl Debug for ListValue[src]

impl Default for ListValue[src]

impl<'de> Deserialize<'de> for ListValue[src]

impl Message for ListValue[src]

impl PartialEq<ListValue> for ListValue[src]

impl Serialize for ListValue[src]

impl StructuralPartialEq for ListValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.