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.
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 Freeze for TensorSummary
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