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