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