Struct tensorflow::ops::StridedSliceGrad
source · pub struct StridedSliceGrad { /* private fields */ }
Expand description
Builder for the StridedSliceGrad
operation.
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 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>, O4: Into<Output>>(
&self,
shape: O0,
begin: O1,
end: O2,
strides: O3,
dy: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, shape: O0, begin: O1, end: O2, strides: O3, dy: O4, scope: &mut Scope ) -> Result<Operation>
Builds the StridedSliceGrad
operation.
sourcepub fn build_instance(
&self,
shape: Output,
begin: Output,
end: Output,
strides: Output,
dy: Output,
scope: &mut Scope
) -> Result<StridedSliceGradInst>
pub fn build_instance( &self, shape: Output, begin: Output, end: Output, strides: Output, dy: Output, scope: &mut Scope ) -> Result<StridedSliceGradInst>
Builds a new instance of ‘StridedSliceGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for StridedSliceGrad
impl Debug for StridedSliceGrad
source§impl Default for StridedSliceGrad
impl Default for StridedSliceGrad
source§fn default() -> StridedSliceGrad
fn default() -> StridedSliceGrad
Returns the “default value” for a type. Read more
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