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