Struct orkhon::reqrep::TFResponse[][src]

pub struct TFResponse {
    pub output: SmallVec<[Arc<Tensor>; 4]>,
}

Tensorflow response

Fields

output: SmallVec<[Arc<Tensor>; 4]>

Implementations

impl TFResponse[src]

pub fn new() -> Self[src]

Creates a new tensorflow inference response

pub fn with_output(mut self: Self, output: SmallVec<[Arc<Tensor>; 4]>) -> Self[src]

Give output coming out from tensorflow

Trait Implementations

impl Debug for TFResponse[src]

impl Default for TFResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.