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