Trait orkhon::prelude::ops::binary::BinMiniOp [−][src]
Required methods
pub fn name(&self) -> &'static str
[src]
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
Provided methods
pub fn validation(&self) -> Validation
[src]
pub fn eval_broadcast_and_typecast(
&self,
inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
[src]
&self,
inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
pub fn eval_broadcast(
&self,
inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
[src]
&self,
inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
pub fn declutter_bin(
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
[src]
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
pub fn declutter_unary(
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>,
a: &Arc<Tensor>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
[src]
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>,
a: &Arc<Tensor>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
pub fn cost_per_element(&self, dt: DatumType) -> SmallVec<[(Cost, usize); 4]>
[src]
Implementations
impl dyn BinMiniOp + 'static
[src]
pub fn is<__T>(&self) -> bool where
__T: BinMiniOp,
[src]
__T: BinMiniOp,
Returns true if the trait object wraps an object of type __T
.
pub fn downcast<__T>(
self: Box<dyn BinMiniOp + 'static, Global>
) -> Result<Box<__T, Global>, Box<dyn BinMiniOp + 'static, Global>> where
__T: BinMiniOp,
[src]
self: Box<dyn BinMiniOp + 'static, Global>
) -> Result<Box<__T, Global>, Box<dyn BinMiniOp + 'static, Global>> where
__T: BinMiniOp,
Returns a boxed object from a boxed trait object if the underlying object is of type
__T
. Returns the original boxed trait if it isn't.
pub fn downcast_rc<__T>(
self: Rc<dyn BinMiniOp + 'static>
) -> Result<Rc<__T>, Rc<dyn BinMiniOp + 'static>> where
__T: BinMiniOp,
[src]
self: Rc<dyn BinMiniOp + 'static>
) -> Result<Rc<__T>, Rc<dyn BinMiniOp + 'static>> where
__T: BinMiniOp,
Returns an Rc
-ed object from an Rc
-ed trait object if the underlying object is of
type __T
. Returns the original Rc
-ed trait if it isn't.
pub fn downcast_ref<__T>(&self) -> Option<&__T> where
__T: BinMiniOp,
[src]
__T: BinMiniOp,
Returns a reference to the object within the trait object if it is of type __T
, or
None
if it isn't.
pub fn downcast_mut<__T>(&mut self) -> Option<&mut __T> where
__T: BinMiniOp,
[src]
__T: BinMiniOp,
Returns a mutable reference to the object within the trait object if it is of type
__T
, or None
if it isn't.
Implementors
impl BinMiniOp for And
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Equals
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Greater
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for GreaterEqual
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for Lesser
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for LesserEqual
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for NotEquals
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
_a: DatumType,
_b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Or
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Xor
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Add
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
pub fn validation(&self) -> Validation
[src]
impl BinMiniOp for Div
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
pub fn declutter_bin(
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
[src]
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
pub fn cost_per_element(&self, dt: DatumType) -> SmallVec<[(Cost, usize); 4]>
[src]
impl BinMiniOp for FlippedPow
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for FlippedShiftLeft
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for FlippedShiftRight
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for Max
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Min
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
impl BinMiniOp for Mul
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn unary_with_b_const(&self, b: &Arc<Tensor>) -> Option<UnaryOp>
[src]
pub fn declutter_unary(
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>,
a: &Arc<Tensor>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
[src]
&self,
model: &Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
node: &Node<TypedFact, Box<dyn TypedOp + 'static, Global>>,
a: &Arc<Tensor>
) -> Result<Option<ModelPatch<TypedFact, Box<dyn TypedOp + 'static, Global>>>, Error>
pub fn cost_per_element(&self, dt: DatumType) -> SmallVec<[(Cost, usize); 4]>
[src]
impl BinMiniOp for Pow
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for Rem
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for ShiftLeft
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for ShiftRight
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
impl BinMiniOp for Sub
[src]
pub fn name(&self) -> &'static str
[src]
pub fn eval_in_place(&self, a: &Tensor, b: &mut Tensor) -> Result<(), Error>
[src]
pub fn eval_out_of_place(
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
[src]
&self,
c: &mut Tensor,
a: &Tensor,
b: &Tensor
) -> Result<(), Error>
pub fn operating_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
pub fn result_datum_type(
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>
[src]
&self,
a: DatumType,
b: DatumType
) -> Result<DatumType, Error>