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.
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 Freeze for StridedSlice
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