[][src]Struct tensorflow_proto::tensorflow::tensorrt::TrtEngineInstance

pub struct TrtEngineInstance {
    pub input_shapes: Vec<TensorShapeProto>,
    pub serialized_engine: Vec<u8>,
}

Containing information for a serialized TensorRT engine.

Fields

input_shapes: Vec<TensorShapeProto>

The input shapes of the TRT engine.

serialized_engine: Vec<u8>

The serialized TRT engine.

TODO(laigd): consider using a more efficient in-memory representation instead of string which is the default here.

Trait Implementations

impl Clone for TrtEngineInstance[src]

impl Debug for TrtEngineInstance[src]

impl Default for TrtEngineInstance[src]

impl Message for TrtEngineInstance[src]

impl PartialEq<TrtEngineInstance> for TrtEngineInstance[src]

impl StructuralPartialEq for TrtEngineInstance[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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.