Struct tract_tensorflow::ops::control_flow::NextIteration   [−][src]
Implementations
impl NextIteration[src]
pub fn new(name: String, role: NextIterationRole) -> Self[src]
Constructs a new NextIteration.
Trait Implementations
impl Clone for NextIteration[src]
fn clone(&self) -> NextIteration[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for NextIteration[src]
impl DynHash for NextIteration[src]
impl EvalOp for NextIteration[src]
fn is_stateless(&self) -> bool[src]
fn state(
    &self, 
    _state: &mut SessionState, 
    _id: usize
) -> TractResult<Option<Box<dyn OpState>>>[src]
&self,
_state: &mut SessionState,
_id: usize
) -> TractResult<Option<Box<dyn OpState>>>
pub fn eval(
    &self, 
    inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
&self,
inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>
impl Hash for NextIteration[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
impl InferenceRulesOp for NextIteration[src]
fn rules<'r, 'p: 'r, 's: 'r>(
    &'s self, 
    _s: &mut Solver<'r>, 
    inputs: &'p [TensorProxy], 
    outputs: &'p [TensorProxy]
) -> InferenceResult[src]
&'s self,
_s: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy]
) -> InferenceResult
fn as_op(&self) -> &dyn Op[src]
fn as_op_mut(&mut self) -> &mut dyn Op[src]
pub fn to_typed(
    &self, 
    source: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    target: &mut Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>, 
    mapping: &HashMap<OutletId, OutletId, RandomState>
) -> Result<SmallVec<[OutletId; 4]>, Error>[src]
&self,
source: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
target: &mut Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
mapping: &HashMap<OutletId, OutletId, RandomState>
) -> Result<SmallVec<[OutletId; 4]>, Error>
pub fn nboutputs(&self) -> Result<usize, Error>[src]
pub fn incorporate(
    &self, 
    model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Option<ModelPatch<InferenceFact, Box<dyn InferenceOp + 'static, Global>>>, Error>[src]
&self,
model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Option<ModelPatch<InferenceFact, Box<dyn InferenceOp + 'static, Global>>>, Error>
impl Op for NextIteration[src]
Auto Trait Implementations
impl RefUnwindSafe for NextIteration
impl Send for NextIteration
impl Sync for NextIteration
impl Unpin for NextIteration
impl UnwindSafe for NextIteration
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
impl<T> Downcast for T where
    T: Any, 
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
    R: Read + ?Sized, impl<W> Write for Box<W, Global> where
    W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator,     type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static,     type Output = <F as Future>::Output;
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
    R: Read + ?Sized, impl<W> Write for Box<W, Global> where
    W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator,     type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static,     type Output = <F as Future>::Output;pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
    T: Any + Send + Sync, 
T: Any + Send + Sync,
impl<T> DynClone for T where
    T: Clone, [src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()[src]
impl<T> From<T> for T[src]
impl<O> InferenceOp for O where
    O: InferenceRulesOp + Op, [src]
O: InferenceRulesOp + Op,
pub fn infer_facts(
    &mut self, 
    inputs: SmallVec<[&InferenceFact; 4]>, 
    outputs: SmallVec<[&InferenceFact; 4]>, 
    observed: SmallVec<[&InferenceFact; 4]>
) -> Result<(SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>), Error>[src]
&mut self,
inputs: SmallVec<[&InferenceFact; 4]>,
outputs: SmallVec<[&InferenceFact; 4]>,
observed: SmallVec<[&InferenceFact; 4]>
) -> Result<(SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>), Error>
pub fn nboutputs(&self) -> Result<usize, Error>[src]
pub fn observe_outlets(
    &self, 
    _model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    _node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Vec<OutletId, Global>, Error>[src]
&self,
_model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
_node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Vec<OutletId, Global>, Error>
pub fn as_op(&self) -> &(dyn Op + 'static)[src]
pub fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)[src]
pub fn to_typed(
    &self, 
    source: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    target: &mut Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>, 
    mapping: &HashMap<OutletId, OutletId, RandomState>
) -> Result<SmallVec<[OutletId; 4]>, Error>[src]
&self,
source: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
target: &mut Graph<TypedFact, Box<dyn TypedOp + 'static, Global>>,
mapping: &HashMap<OutletId, OutletId, RandomState>
) -> Result<SmallVec<[OutletId; 4]>, Error>
pub fn incorporate(
    &self, 
    model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>, 
    node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Option<ModelPatch<InferenceFact, Box<dyn InferenceOp + 'static, Global>>>, Error>[src]
&self,
model: &Graph<InferenceFact, Box<dyn InferenceOp + 'static, Global>>,
node: &Node<InferenceFact, Box<dyn InferenceOp + 'static, Global>>
) -> Result<Option<ModelPatch<InferenceFact, Box<dyn InferenceOp + 'static, Global>>>, Error>
pub fn infer(
    &mut self, 
    inputs: SmallVec<[&InferenceFact; 4]>, 
    outputs: SmallVec<[&InferenceFact; 4]>, 
    observed: SmallVec<[&InferenceFact; 4]>
) -> Result<(SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>), Error>[src]
&mut self,
inputs: SmallVec<[&InferenceFact; 4]>,
outputs: SmallVec<[&InferenceFact; 4]>,
observed: SmallVec<[&InferenceFact; 4]>
) -> Result<(SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>, SmallVec<[InferenceFact; 4]>), Error>
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,