Struct tensorflow::ops::UnbatchGrad
source · [−]pub struct UnbatchGrad { /* private fields */ }
Expand description
Builder for the UnbatchGrad
operation.
Implementations
sourceimpl 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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
original_input: O0,
batch_index: O1,
grad: O2,
id: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
original_input: O0,
batch_index: O1,
grad: O2,
id: O3,
scope: &mut Scope
) -> Result<Operation>
Builds the UnbatchGrad
operation.
sourcepub fn build_instance(
&self,
original_input: Output,
batch_index: Output,
grad: Output,
id: Output,
scope: &mut Scope
) -> Result<UnbatchGradInst>
pub fn build_instance(
&self,
original_input: Output,
batch_index: Output,
grad: Output,
id: Output,
scope: &mut Scope
) -> Result<UnbatchGradInst>
Builds a new instance of ‘UnbatchGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for UnbatchGrad
impl Debug for UnbatchGrad
sourceimpl Default for UnbatchGrad
impl Default for UnbatchGrad
sourcefn default() -> UnbatchGrad
fn default() -> UnbatchGrad
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more