Struct tensorflow::QInt16
source · pub struct QInt16(_);
Expand description
Quantized type for i16.
Trait Implementations§
source§impl Ord for QInt16
impl Ord for QInt16
source§impl PartialEq<QInt16> for QInt16
impl PartialEq<QInt16> for QInt16
source§impl PartialOrd<QInt16> for QInt16
impl PartialOrd<QInt16> for QInt16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TensorType for QInt16
impl TensorType for QInt16
impl Copy for QInt16
impl Eq for QInt16
impl StructuralEq for QInt16
impl StructuralPartialEq for QInt16
Auto Trait Implementations§
impl RefUnwindSafe for QInt16
impl Send for QInt16
impl Sync for QInt16
impl Unpin for QInt16
impl UnwindSafe for QInt16
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
source§impl<T> ExprImpl<T> for Twhere
T: TensorType,
impl<T> ExprImpl<T> for Twhere T: TensorType,
source§fn children(&self) -> Vec<Box<dyn AnyExpr + 'static, Global>, Global>
fn children(&self) -> Vec<Box<dyn AnyExpr + 'static, Global>, Global>
Returns the child expressions. Read more
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.