Struct tensorflow::eager::raw_ops::CrossReplicaSum
source · pub struct CrossReplicaSum { /* private fields */ }
Expand description
CrossReplicaSum
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/CrossReplicaSum
Implementations§
source§impl CrossReplicaSum
impl CrossReplicaSum
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,
input: &T0,
group_assignment: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, group_assignment: &T1 ) -> Result<TensorHandle<'a>>
Execute cross_replica_sum.
Trait Implementations§
source§impl Clone for CrossReplicaSum
impl Clone for CrossReplicaSum
source§fn clone(&self) -> CrossReplicaSum
fn clone(&self) -> CrossReplicaSum
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 CrossReplicaSum
impl Debug for CrossReplicaSum
Auto Trait Implementations§
impl RefUnwindSafe for CrossReplicaSum
impl Send for CrossReplicaSum
impl Sync for CrossReplicaSum
impl Unpin for CrossReplicaSum
impl UnwindSafe for CrossReplicaSum
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