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