Struct tensorflow::ops::TensorSummary
source · pub struct TensorSummary { /* private fields */ }
Expand description
Builder for the TensorSummary
operation.
Implementations§
source§impl TensorSummary
impl TensorSummary
sourcepub fn description<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn description<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the description
attribute.
sourcepub fn labels<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn labels<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the labels
attribute.
sourcepub fn display_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn display_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the display_name
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
tensor: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, tensor: O0, scope: &mut Scope ) -> Result<Operation>
Builds the TensorSummary
operation.
sourcepub fn build_instance(
&self,
tensor: Output,
scope: &mut Scope
) -> Result<TensorSummaryInst>
pub fn build_instance( &self, tensor: Output, scope: &mut Scope ) -> Result<TensorSummaryInst>
Builds a new instance of ‘TensorSummary’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for TensorSummary
impl Debug for TensorSummary
source§impl Default for TensorSummary
impl Default for TensorSummary
source§fn default() -> TensorSummary
fn default() -> TensorSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TensorSummary
impl Send for TensorSummary
impl Sync for TensorSummary
impl Unpin for TensorSummary
impl UnwindSafe for TensorSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more