Struct tensorflow::eager::raw_ops::TensorStridedSliceUpdate
source · pub struct TensorStridedSliceUpdate { /* private fields */ }
Expand description
TensorStridedSliceUpdate
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorStridedSliceUpdate
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0,
begin: &T1,
end: &T2,
strides: &T3,
value: &T4
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, begin: &T1, end: &T2, strides: &T3, value: &T4 ) -> Result<TensorHandle<'a>>
Execute tensor_strided_slice_update.
Trait Implementations§
source§impl Clone for TensorStridedSliceUpdate
impl Clone for TensorStridedSliceUpdate
source§fn clone(&self) -> TensorStridedSliceUpdate
fn clone(&self) -> TensorStridedSliceUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TensorStridedSliceUpdate
impl Debug for TensorStridedSliceUpdate
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