[][src]Struct tensorflow_serving_client::config::GraphOptions

pub struct GraphOptions {
    pub enable_recv_scheduling: bool,
    pub optimizer_options: SingularPtrField<OptimizerOptions>,
    pub build_cost_model: i64,
    pub build_cost_model_after: i64,
    pub infer_shapes: bool,
    pub place_pruned_graph: bool,
    pub enable_bfloat16_sendrecv: bool,
    pub timeline_step: i32,
    pub rewrite_options: SingularPtrField<RewriterConfig>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

enable_recv_scheduling: booloptimizer_options: SingularPtrField<OptimizerOptions>build_cost_model: i64build_cost_model_after: i64infer_shapes: boolplace_pruned_graph: boolenable_bfloat16_sendrecv: booltimeline_step: i32rewrite_options: SingularPtrField<RewriterConfig>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GraphOptions[src]

pub fn new() -> GraphOptions[src]

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

pub fn clear_enable_recv_scheduling(&mut self)[src]

pub fn set_enable_recv_scheduling(&mut self, v: bool)[src]

pub fn get_optimizer_options(&self) -> &OptimizerOptions[src]

pub fn clear_optimizer_options(&mut self)[src]

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

pub fn set_optimizer_options(&mut self, v: OptimizerOptions)[src]

pub fn mut_optimizer_options(&mut self) -> &mut OptimizerOptions[src]

pub fn take_optimizer_options(&mut self) -> OptimizerOptions[src]

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

pub fn clear_build_cost_model(&mut self)[src]

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

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

pub fn clear_build_cost_model_after(&mut self)[src]

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

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

pub fn clear_infer_shapes(&mut self)[src]

pub fn set_infer_shapes(&mut self, v: bool)[src]

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

pub fn clear_place_pruned_graph(&mut self)[src]

pub fn set_place_pruned_graph(&mut self, v: bool)[src]

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

pub fn clear_enable_bfloat16_sendrecv(&mut self)[src]

pub fn set_enable_bfloat16_sendrecv(&mut self, v: bool)[src]

pub fn get_timeline_step(&self) -> i32[src]

pub fn clear_timeline_step(&mut self)[src]

pub fn set_timeline_step(&mut self, v: i32)[src]

pub fn get_rewrite_options(&self) -> &RewriterConfig[src]

pub fn clear_rewrite_options(&mut self)[src]

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

pub fn set_rewrite_options(&mut self, v: RewriterConfig)[src]

pub fn mut_rewrite_options(&mut self) -> &mut RewriterConfig[src]

pub fn take_rewrite_options(&mut self) -> RewriterConfig[src]

Trait Implementations

impl Clear for GraphOptions[src]

impl Clone for GraphOptions[src]

impl Debug for GraphOptions[src]

impl Default for GraphOptions[src]

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

impl Message for GraphOptions[src]

impl PartialEq<GraphOptions> for GraphOptions[src]

impl ProtobufValue for GraphOptions[src]

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