Struct tensorflow::ops::Einsum
source · pub struct Einsum { /* private fields */ }
Expand description
Builder for the Einsum
operation.
Implementations§
source§impl Einsum
impl Einsum
sourcepub fn equation<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn equation<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the equation
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>>(
&self,
inputs: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, inputs: O0, scope: &mut Scope ) -> Result<Operation>
Builds the Einsum
operation.
sourcepub fn build_instance(
&self,
inputs: Vec<Output>,
scope: &mut Scope
) -> Result<EinsumInst>
pub fn build_instance( &self, inputs: Vec<Output>, scope: &mut Scope ) -> Result<EinsumInst>
Builds a new instance of ‘Einsum’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Einsum
impl Send for Einsum
impl Sync for Einsum
impl Unpin for Einsum
impl UnwindSafe for Einsum
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