[][src]Struct tensorflow_proto::toco::RnnState

pub struct RnnState {
    pub state_array: Option<String>,
    pub back_edge_source_array: Option<String>,
    pub discardable: Option<bool>,
    pub size: Option<i32>,
    pub num_dims: Option<i32>,
}

Fields

state_array: Option<String>back_edge_source_array: Option<String>discardable: Option<bool>size: Option<i32>

size allows to specify a 1-D shape for the RNN state array. Will be expanded with 1's to fit the model. TODO(benoitjacob): should allow a generic, explicit shape.

num_dims: Option<i32>

Implementations

impl RnnState[src]

pub fn state_array(&self) -> &str[src]

Returns the value of state_array, or the default value if state_array is unset.

pub fn back_edge_source_array(&self) -> &str[src]

Returns the value of back_edge_source_array, or the default value if back_edge_source_array is unset.

pub fn size(&self) -> i32[src]

Returns the value of size, or the default value if size is unset.

pub fn num_dims(&self) -> i32[src]

Returns the value of num_dims, or the default value if num_dims is unset.

pub fn discardable(&self) -> bool[src]

Returns the value of discardable, or the default value if discardable is unset.

Trait Implementations

impl Clone for RnnState[src]

impl Debug for RnnState[src]

impl Default for RnnState[src]

impl Message for RnnState[src]

impl PartialEq<RnnState> for RnnState[src]

impl StructuralPartialEq for RnnState[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> From<T> for T[src]

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

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.