[][src]Struct tfrecord::protos::SummaryMetadata

pub struct SummaryMetadata {
    pub plugin_data: Option<PluginData>,
    pub display_name: String,
    pub summary_description: String,
    pub data_class: i32,
}

A SummaryMetadata encapsulates information on which plugins are able to make use of a certain summary value.

Fields

plugin_data: Option<PluginData>

Data that associates a summary with a certain plugin.

display_name: String

Display name for viewing in TensorBoard.

summary_description: String

Longform readable description of the summary sequence. Markdown supported.

data_class: i32

Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (DataProvider, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See DataClass docs for details.

Implementations

impl SummaryMetadata[src]

pub fn data_class(&self) -> DataClass[src]

Returns the enum value of data_class, or the default if the field is set to an invalid enum value.

pub fn set_data_class(&mut self, value: DataClass)[src]

Sets data_class to the provided enum value.

Trait Implementations

impl Clone for SummaryMetadata[src]

impl Debug for SummaryMetadata[src]

impl Default for SummaryMetadata[src]

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

impl Message for SummaryMetadata[src]

impl PartialEq<SummaryMetadata> for SummaryMetadata[src]

impl Serialize for SummaryMetadata[src]

impl StructuralPartialEq for SummaryMetadata[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.