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