[][src]Struct tensorflow_serving_client::cost_graph::CostGraphDef_Node_OutputInfo

pub struct CostGraphDef_Node_OutputInfo {
    pub size: i64,
    pub alias_input_port: i64,
    pub shape: SingularPtrField<TensorShapeProto>,
    pub dtype: DataType,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

size: i64alias_input_port: i64shape: SingularPtrField<TensorShapeProto>dtype: DataTypeunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CostGraphDef_Node_OutputInfo[src]

pub fn new() -> CostGraphDef_Node_OutputInfo[src]

pub fn get_size(&self) -> i64[src]

pub fn clear_size(&mut self)[src]

pub fn set_size(&mut self, v: i64)[src]

pub fn get_alias_input_port(&self) -> i64[src]

pub fn clear_alias_input_port(&mut self)[src]

pub fn set_alias_input_port(&mut self, v: i64)[src]

pub fn get_shape(&self) -> &TensorShapeProto[src]

pub fn clear_shape(&mut self)[src]

pub fn has_shape(&self) -> bool[src]

pub fn set_shape(&mut self, v: TensorShapeProto)[src]

pub fn mut_shape(&mut self) -> &mut TensorShapeProto[src]

pub fn take_shape(&mut self) -> TensorShapeProto[src]

pub fn get_dtype(&self) -> DataType[src]

pub fn clear_dtype(&mut self)[src]

pub fn set_dtype(&mut self, v: DataType)[src]

Trait Implementations

impl Clear for CostGraphDef_Node_OutputInfo[src]

impl Clone for CostGraphDef_Node_OutputInfo[src]

impl Debug for CostGraphDef_Node_OutputInfo[src]

impl Default for CostGraphDef_Node_OutputInfo[src]

impl<'a> Default for &'a CostGraphDef_Node_OutputInfo[src]

impl Message for CostGraphDef_Node_OutputInfo[src]

impl PartialEq<CostGraphDef_Node_OutputInfo> for CostGraphDef_Node_OutputInfo[src]

impl ProtobufValue for CostGraphDef_Node_OutputInfo[src]

impl StructuralPartialEq for CostGraphDef_Node_OutputInfo[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.