pub struct AddN { /* private fields */ }
Expand description
Implementations§
Source§impl AddN
impl AddN
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>>(
&self,
ctx: &'a Context,
inputs: &[&T0],
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, inputs: &[&T0], ) -> Result<TensorHandle<'a>>
Execute add_n.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddN
impl RefUnwindSafe for AddN
impl Send for AddN
impl Sync for AddN
impl Unpin for AddN
impl UnwindSafe for AddN
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