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