Struct tensorflow::eager::raw_ops::RiscReduce
source · pub struct RiscReduce { /* private fields */ }
Expand description
RiscReduce
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RiscReduce
Implementations§
source§impl RiscReduce
impl RiscReduce
sourcepub fn reduce_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reduce_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reduce_type
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>>(
&self,
ctx: &'a Context,
tensor: &T0,
axis: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, tensor: &T0, axis: &T1 ) -> Result<TensorHandle<'a>>
Execute risc_reduce.
Trait Implementations§
source§impl Clone for RiscReduce
impl Clone for RiscReduce
source§fn clone(&self) -> RiscReduce
fn clone(&self) -> RiscReduce
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 RiscReduce
impl Debug for RiscReduce
Auto Trait Implementations§
impl RefUnwindSafe for RiscReduce
impl Send for RiscReduce
impl Sync for RiscReduce
impl Unpin for RiscReduce
impl UnwindSafe for RiscReduce
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