Struct tensorflow::expr::Add
source · pub struct Add<T: TensorType> { /* private fields */ }
Expand description
Expression resulting from adding two subexpressions.
Trait Implementations§
source§impl<T: TensorType> Display for Add<T>
impl<T: TensorType> Display for Add<T>
source§impl<T: TensorType> ExprImpl<T> for Add<T>
impl<T: TensorType> ExprImpl<T> for Add<T>
source§fn create_operation(
&self,
graph: &mut Graph,
children: &[Operation],
id_gen: &mut dyn FnMut() -> String
) -> Result<Operation, Status>
fn create_operation( &self, graph: &mut Graph, children: &[Operation], id_gen: &mut dyn FnMut() -> String ) -> Result<Operation, Status>
Creates an operation for the expression. Read more
source§fn derivative_by_variable(&self, var: &str) -> Result<Expr<T>, Status>
fn derivative_by_variable(&self, var: &str) -> Result<Expr<T>, Status>
Returns the derivative of the expression with respect to the given variable.
source§fn shape_hint(&self) -> ShapeHint<'_>
fn shape_hint(&self) -> ShapeHint<'_>
Returns a hint about the expression’s shape.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Add<T>
impl<T> !Send for Add<T>
impl<T> !Sync for Add<T>
impl<T> Unpin for Add<T>
impl<T> !UnwindSafe for Add<T>
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