Struct tensorflow::ops::Spence
source · [−]pub struct Spence { /* private fields */ }
Expand description
Builder for the Spence
operation.
Implementations
sourceimpl Spence
impl Spence
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>>(
&self,
x: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
x: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the Spence
operation.
sourcepub fn build_instance(&self, x: Output, scope: &mut Scope) -> Result<SpenceInst>
pub fn build_instance(&self, x: Output, scope: &mut Scope) -> Result<SpenceInst>
Builds a new instance of ‘Spence’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Spence
impl Send for Spence
impl Sync for Spence
impl Unpin for Spence
impl UnwindSafe for Spence
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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