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