Enum tfrecord::protos::event::What[][src]

pub enum What {
    FileVersion(String),
    GraphDef(Vec<u8>),
    Summary(Summary),
    LogMessage(LogMessage),
    SessionLog(SessionLog),
    TaggedRunMetadata(TaggedRunMetadata),
    MetaGraphDef(Vec<u8>),
}

Variants

FileVersion(String)

An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is “brain.Event:2”. All versions start with “brain.Event:”.

GraphDef(Vec<u8>)

An encoded version of a GraphDef.

Summary(Summary)

A summary was generated.

LogMessage(LogMessage)

The user output a log message. Not all messages are logged, only ones generated via the Python tensorboard_logging module.

SessionLog(SessionLog)

The state of the session which can be used for restarting after crashes.

TaggedRunMetadata(TaggedRunMetadata)

The metadata returned by running a session.run() call.

MetaGraphDef(Vec<u8>)

An encoded version of a MetaGraphDef.

Implementations

impl What[src]

pub fn encode<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge<B>(
    field: &mut Option<What>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

Trait Implementations

impl Clone for What[src]

impl Debug for What[src]

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

impl PartialEq<What> for What[src]

impl Serialize for What[src]

impl StructuralPartialEq for What[src]

Auto Trait Implementations

impl RefUnwindSafe for What

impl Send for What

impl Sync for What

impl Unpin for What

impl UnwindSafe for What

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> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,