Struct tensorflow::ops::WriteImageSummary
source · pub struct WriteImageSummary { /* private fields */ }
Expand description
Builder for the WriteImageSummary
operation.
Implementations§
source§impl WriteImageSummary
impl WriteImageSummary
sourcepub fn max_images<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_images<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_images
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>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
&self,
writer: O0,
step: O1,
tag: O2,
tensor: O3,
bad_color: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, writer: O0, step: O1, tag: O2, tensor: O3, bad_color: O4, scope: &mut Scope ) -> Result<Operation>
Builds the WriteImageSummary
operation.
sourcepub fn build_instance(
&self,
writer: Output,
step: Output,
tag: Output,
tensor: Output,
bad_color: Output,
scope: &mut Scope
) -> Result<WriteImageSummaryInst>
pub fn build_instance( &self, writer: Output, step: Output, tag: Output, tensor: Output, bad_color: Output, scope: &mut Scope ) -> Result<WriteImageSummaryInst>
Builds a new instance of ‘WriteImageSummary’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for WriteImageSummary
impl Debug for WriteImageSummary
source§impl Default for WriteImageSummary
impl Default for WriteImageSummary
source§fn default() -> WriteImageSummary
fn default() -> WriteImageSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WriteImageSummary
impl Send for WriteImageSummary
impl Sync for WriteImageSummary
impl Unpin for WriteImageSummary
impl UnwindSafe for WriteImageSummary
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