Struct tensorflow::eager::raw_ops::StridedSliceGrad
source · pub struct StridedSliceGrad { /* private fields */ }
Expand description
StridedSliceGrad
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/StridedSliceGrad
Implementations§
source§impl StridedSliceGrad
impl StridedSliceGrad
sourcepub fn begin_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn begin_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the begin_mask
attribute.
sourcepub fn ellipsis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn ellipsis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the ellipsis_mask
attribute.
sourcepub fn new_axis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn new_axis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the new_axis_mask
attribute.
sourcepub fn shrink_axis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn shrink_axis_mask<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the shrink_axis_mask
attribute.
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>, T4: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
shape: &T0,
begin: &T1,
end: &T2,
strides: &T3,
dy: &T4
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>( &self, ctx: &'a Context, shape: &T0, begin: &T1, end: &T2, strides: &T3, dy: &T4 ) -> Result<TensorHandle<'a>>
Execute strided_slice_grad.
Trait Implementations§
source§impl Clone for StridedSliceGrad
impl Clone for StridedSliceGrad
source§fn clone(&self) -> StridedSliceGrad
fn clone(&self) -> StridedSliceGrad
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 StridedSliceGrad
impl Debug for StridedSliceGrad
Auto Trait Implementations§
impl RefUnwindSafe for StridedSliceGrad
impl Send for StridedSliceGrad
impl Sync for StridedSliceGrad
impl Unpin for StridedSliceGrad
impl UnwindSafe for StridedSliceGrad
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