[−][src]Struct tensorflow_serving_client::cost_graph::CostGraphDef_Node
Fields
name: String
device: String
id: i32
input_info: RepeatedField<CostGraphDef_Node_InputInfo>
output_info: RepeatedField<CostGraphDef_Node_OutputInfo>
temporary_memory_size: i64
persistent_memory_size: i64
host_temp_memory_size: i64
device_temp_memory_size: i64
device_persistent_memory_size: i64
compute_cost: i64
compute_time: i64
memory_time: i64
is_final: bool
control_input: Vec<i32>
inaccurate: bool
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl CostGraphDef_Node
[src]
pub fn new() -> CostGraphDef_Node
[src]
pub fn get_name(&self) -> &str
[src]
pub fn clear_name(&mut self)
[src]
pub fn set_name(&mut self, v: String)
[src]
pub fn mut_name(&mut self) -> &mut String
[src]
pub fn take_name(&mut self) -> String
[src]
pub fn get_device(&self) -> &str
[src]
pub fn clear_device(&mut self)
[src]
pub fn set_device(&mut self, v: String)
[src]
pub fn mut_device(&mut self) -> &mut String
[src]
pub fn take_device(&mut self) -> String
[src]
pub fn get_id(&self) -> i32
[src]
pub fn clear_id(&mut self)
[src]
pub fn set_id(&mut self, v: i32)
[src]
pub fn get_input_info(&self) -> &[CostGraphDef_Node_InputInfo]
[src]
pub fn clear_input_info(&mut self)
[src]
pub fn set_input_info(&mut self, v: RepeatedField<CostGraphDef_Node_InputInfo>)
[src]
pub fn mut_input_info(
&mut self
) -> &mut RepeatedField<CostGraphDef_Node_InputInfo>
[src]
&mut self
) -> &mut RepeatedField<CostGraphDef_Node_InputInfo>
pub fn take_input_info(&mut self) -> RepeatedField<CostGraphDef_Node_InputInfo>
[src]
pub fn get_output_info(&self) -> &[CostGraphDef_Node_OutputInfo]
[src]
pub fn clear_output_info(&mut self)
[src]
pub fn set_output_info(
&mut self,
v: RepeatedField<CostGraphDef_Node_OutputInfo>
)
[src]
&mut self,
v: RepeatedField<CostGraphDef_Node_OutputInfo>
)
pub fn mut_output_info(
&mut self
) -> &mut RepeatedField<CostGraphDef_Node_OutputInfo>
[src]
&mut self
) -> &mut RepeatedField<CostGraphDef_Node_OutputInfo>
pub fn take_output_info(
&mut self
) -> RepeatedField<CostGraphDef_Node_OutputInfo>
[src]
&mut self
) -> RepeatedField<CostGraphDef_Node_OutputInfo>
pub fn get_temporary_memory_size(&self) -> i64
[src]
pub fn clear_temporary_memory_size(&mut self)
[src]
pub fn set_temporary_memory_size(&mut self, v: i64)
[src]
pub fn get_persistent_memory_size(&self) -> i64
[src]
pub fn clear_persistent_memory_size(&mut self)
[src]
pub fn set_persistent_memory_size(&mut self, v: i64)
[src]
pub fn get_host_temp_memory_size(&self) -> i64
[src]
pub fn clear_host_temp_memory_size(&mut self)
[src]
pub fn set_host_temp_memory_size(&mut self, v: i64)
[src]
pub fn get_device_temp_memory_size(&self) -> i64
[src]
pub fn clear_device_temp_memory_size(&mut self)
[src]
pub fn set_device_temp_memory_size(&mut self, v: i64)
[src]
pub fn get_device_persistent_memory_size(&self) -> i64
[src]
pub fn clear_device_persistent_memory_size(&mut self)
[src]
pub fn set_device_persistent_memory_size(&mut self, v: i64)
[src]
pub fn get_compute_cost(&self) -> i64
[src]
pub fn clear_compute_cost(&mut self)
[src]
pub fn set_compute_cost(&mut self, v: i64)
[src]
pub fn get_compute_time(&self) -> i64
[src]
pub fn clear_compute_time(&mut self)
[src]
pub fn set_compute_time(&mut self, v: i64)
[src]
pub fn get_memory_time(&self) -> i64
[src]
pub fn clear_memory_time(&mut self)
[src]
pub fn set_memory_time(&mut self, v: i64)
[src]
pub fn get_is_final(&self) -> bool
[src]
pub fn clear_is_final(&mut self)
[src]
pub fn set_is_final(&mut self, v: bool)
[src]
pub fn get_control_input(&self) -> &[i32]
[src]
pub fn clear_control_input(&mut self)
[src]
pub fn set_control_input(&mut self, v: Vec<i32>)
[src]
pub fn mut_control_input(&mut self) -> &mut Vec<i32>
[src]
pub fn take_control_input(&mut self) -> Vec<i32>
[src]
pub fn get_inaccurate(&self) -> bool
[src]
pub fn clear_inaccurate(&mut self)
[src]
pub fn set_inaccurate(&mut self, v: bool)
[src]
Trait Implementations
impl Clear for CostGraphDef_Node
[src]
impl Clone for CostGraphDef_Node
[src]
fn clone(&self) -> CostGraphDef_Node
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CostGraphDef_Node
[src]
impl Default for CostGraphDef_Node
[src]
fn default() -> CostGraphDef_Node
[src]
impl<'a> Default for &'a CostGraphDef_Node
[src]
fn default() -> &'a CostGraphDef_Node
[src]
impl Message for CostGraphDef_Node
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> CostGraphDef_Node
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static CostGraphDef_Node
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl PartialEq<CostGraphDef_Node> for CostGraphDef_Node
[src]
fn eq(&self, other: &CostGraphDef_Node) -> bool
[src]
fn ne(&self, other: &CostGraphDef_Node) -> bool
[src]
impl ProtobufValue for CostGraphDef_Node
[src]
fn as_ref(&self) -> ReflectValueRef
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for CostGraphDef_Node
[src]
Auto Trait Implementations
impl RefUnwindSafe for CostGraphDef_Node
impl Send for CostGraphDef_Node
impl Sync for CostGraphDef_Node
impl Unpin for CostGraphDef_Node
impl UnwindSafe for CostGraphDef_Node
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
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.
fn to_owned(&self) -> T
[src]
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.
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>,