Struct tensorflow::eager::raw_ops::CropAndResizeGradBoxes
source · pub struct CropAndResizeGradBoxes { /* private fields */ }
Expand description
CropAndResizeGradBoxes
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/CropAndResizeGradBoxes
Implementations§
source§impl CropAndResizeGradBoxes
impl CropAndResizeGradBoxes
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
grads: &T0,
image: &T1,
boxes: &T2,
box_ind: &T3
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, grads: &T0, image: &T1, boxes: &T2, box_ind: &T3 ) -> Result<TensorHandle<'a>>
Execute crop_and_resize_grad_boxes.
Trait Implementations§
source§impl Clone for CropAndResizeGradBoxes
impl Clone for CropAndResizeGradBoxes
source§fn clone(&self) -> CropAndResizeGradBoxes
fn clone(&self) -> CropAndResizeGradBoxes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CropAndResizeGradBoxes
impl Debug for CropAndResizeGradBoxes
Auto Trait Implementations§
impl RefUnwindSafe for CropAndResizeGradBoxes
impl Send for CropAndResizeGradBoxes
impl Sync for CropAndResizeGradBoxes
impl Unpin for CropAndResizeGradBoxes
impl UnwindSafe for CropAndResizeGradBoxes
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