Struct tensorflow::eager::raw_ops::StridedSliceAssign
source · pub struct StridedSliceAssign { /* private fields */ }
Expand description
StridedSliceAssign
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/StridedSliceAssign
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 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,
ref_: &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, ref_: &T0, begin: &T1, end: &T2, strides: &T3, value: &T4 ) -> Result<TensorHandle<'a>>
Execute strided_slice_assign.
Trait Implementations§
source§impl Clone for StridedSliceAssign
impl Clone for StridedSliceAssign
source§fn clone(&self) -> StridedSliceAssign
fn clone(&self) -> StridedSliceAssign
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 StridedSliceAssign
impl Debug for StridedSliceAssign
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