Struct tensorflow::expr::Assign
source · pub struct Assign<T: TensorType> { /* private fields */ }
Expand description
Expression that assigns a value to a variable.
Implementations§
source§impl<T: TensorType> Assign<T>
impl<T: TensorType> Assign<T>
Trait Implementations§
source§impl<T: TensorType> Display for Assign<T>
impl<T: TensorType> Display for Assign<T>
source§impl<T: TensorType> ExprImpl<T> for Assign<T>
impl<T: TensorType> ExprImpl<T> for Assign<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 Assign<T>
impl<T> !Send for Assign<T>
impl<T> !Sync for Assign<T>
impl<T> Unpin for Assign<T>
impl<T> !UnwindSafe for Assign<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