Struct tensorflow::expr::Expr
source · pub struct Expr<T: TensorType> { /* private fields */ }
Expand description
A operation in an expression tree, which is a thin wrapper around an ExprImpl.
This is separate from ExprImpl because we want expressions to be wrapped in an Rc, and we can’t directly implement std::ops::Add, etc., for Rc<E: ExprImpl<Tgt;>.
Implementations§
Trait Implementations§
source§impl<T: TensorType> Add<T> for Expr<T>
impl<T: TensorType> Add<T> for Expr<T>
source§impl<T: TensorType> AnyExpr for Expr<T>
impl<T: TensorType> AnyExpr for Expr<T>
source§impl<T: TensorType> Deref for Expr<T>
impl<T: TensorType> Deref for Expr<T>
source§impl<T: TensorType> Display for Expr<T>
impl<T: TensorType> Display for Expr<T>
source§impl<T: TensorType> Div<T> for Expr<T>
impl<T: TensorType> Div<T> for Expr<T>
source§impl<T: TensorType> From<T> for Expr<T>
impl<T: TensorType> From<T> for Expr<T>
source§impl<T: TensorType> Mul<T> for Expr<T>
impl<T: TensorType> Mul<T> for Expr<T>
source§impl<T: TensorType> Neg for Expr<T>
impl<T: TensorType> Neg for Expr<T>
source§impl<T: TensorType> Rem<T> for Expr<T>
impl<T: TensorType> Rem<T> for Expr<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Expr<T>
impl<T> !Send for Expr<T>
impl<T> !Sync for Expr<T>
impl<T> Unpin for Expr<T>
impl<T> !UnwindSafe for Expr<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