[−][src]Struct tract_tensorflow::tfpb::attr_value::AttrValue_ListValue
Fields
s: RepeatedField<Vec<u8>>
i: Vec<i64>
f: Vec<f32>
b: Vec<bool>
field_type: Vec<DataType>
shape: RepeatedField<TensorShapeProto>
tensor: RepeatedField<TensorProto>
func: RepeatedField<NameAttrList>
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl AttrValue_ListValue
[src]
impl AttrValue_ListValue
pub fn new() -> AttrValue_ListValue | [src] |
pub fn clear_s(&mut self) | [src] |
pub fn set_s(&mut self, v: RepeatedField<Vec<u8>>) | [src] |
pub fn mut_s(&mut self) -> &mut RepeatedField<Vec<u8>> | [src] |
pub fn take_s(&mut self) -> RepeatedField<Vec<u8>> | [src] |
pub fn get_s(&self) -> &[Vec<u8>] | [src] |
pub fn clear_i(&mut self) | [src] |
pub fn set_i(&mut self, v: Vec<i64>) | [src] |
pub fn mut_i(&mut self) -> &mut Vec<i64> | [src] |
pub fn take_i(&mut self) -> Vec<i64> | [src] |
pub fn get_i(&self) -> &[i64] | [src] |
pub fn clear_f(&mut self) | [src] |
pub fn set_f(&mut self, v: Vec<f32>) | [src] |
pub fn mut_f(&mut self) -> &mut Vec<f32> | [src] |
pub fn take_f(&mut self) -> Vec<f32> | [src] |
pub fn get_f(&self) -> &[f32] | [src] |
pub fn clear_b(&mut self) | [src] |
pub fn set_b(&mut self, v: Vec<bool>) | [src] |
pub fn mut_b(&mut self) -> &mut Vec<bool> | [src] |
pub fn take_b(&mut self) -> Vec<bool> | [src] |
pub fn get_b(&self) -> &[bool] | [src] |
pub fn clear_field_type(&mut self) | [src] |
pub fn set_field_type(&mut self, v: Vec<DataType>) | [src] |
pub fn mut_field_type(&mut self) -> &mut Vec<DataType> | [src] |
pub fn take_field_type(&mut self) -> Vec<DataType> | [src] |
pub fn get_field_type(&self) -> &[DataType] | [src] |
pub fn clear_shape(&mut self) | [src] |
pub fn set_shape(&mut self, v: RepeatedField<TensorShapeProto>) | [src] |
pub fn mut_shape(&mut self) -> &mut RepeatedField<TensorShapeProto> | [src] |
pub fn take_shape(&mut self) -> RepeatedField<TensorShapeProto> | [src] |
pub fn get_shape(&self) -> &[TensorShapeProto] | [src] |
pub fn clear_tensor(&mut self) | [src] |
pub fn set_tensor(&mut self, v: RepeatedField<TensorProto>) | [src] |
pub fn mut_tensor(&mut self) -> &mut RepeatedField<TensorProto> | [src] |
pub fn take_tensor(&mut self) -> RepeatedField<TensorProto> | [src] |
pub fn get_tensor(&self) -> &[TensorProto] | [src] |
pub fn clear_func(&mut self) | [src] |
pub fn set_func(&mut self, v: RepeatedField<NameAttrList>) | [src] |
pub fn mut_func(&mut self) -> &mut RepeatedField<NameAttrList> | [src] |
pub fn take_func(&mut self) -> RepeatedField<NameAttrList> | [src] |
pub fn get_func(&self) -> &[NameAttrList] | [src] |
Trait Implementations
impl Default for AttrValue_ListValue
[src]
impl Default for AttrValue_ListValue
fn default() -> AttrValue_ListValue | [src] |
impl PartialEq<AttrValue_ListValue> for AttrValue_ListValue
[src]
impl PartialEq<AttrValue_ListValue> for AttrValue_ListValue
fn eq(&self, other: &AttrValue_ListValue) -> bool | [src] |
fn ne(&self, other: &AttrValue_ListValue) -> bool | [src] |
impl Clone for AttrValue_ListValue
[src]
impl Clone for AttrValue_ListValue
fn clone(&self) -> AttrValue_ListValue | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for AttrValue_ListValue
[src]
impl Debug for AttrValue_ListValue
impl Message for AttrValue_ListValue
[src]
impl Message for AttrValue_ListValue
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( | [src] |
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() -> AttrValue_ListValue | [src] |
fn descriptor_static() -> &'static MessageDescriptor | [src] |
fn default_instance() -> &'static AttrValue_ListValue | [src] |
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError> | [src] |
Write the message to the stream. Read more
fn write_length_delimited_to( | [src] |
Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec( | [src] |
Write the message to the vec, prepend the message with message length encoded as varint. Read more
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError> | [src] |
Update this message object with fields read from given stream.
fn check_initialized(&self) -> Result<(), ProtobufError> | [src] |
Check if all required fields of this object are initialized.
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError> | [src] |
Write the message to the writer.
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError> | [src] |
Write the message to bytes vec.
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError> | [src] |
Write the message to bytes vec.
fn write_length_delimited_to_writer( | [src] |
Write the message to the writer, prepend the message with message length encoded as varint. Read more
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError> | [src] |
Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
fn type_id(&self) -> TypeId | [src] |
Get type id for downcasting.
impl Clear for AttrValue_ListValue
[src]
impl Clear for AttrValue_ListValue
impl ProtobufValue for AttrValue_ListValue
[src]
impl ProtobufValue for AttrValue_ListValue
fn as_ref(&self) -> ProtobufValueRef | [src] |
fn as_any(&self) -> &(dyn Any + 'static) | [src] |
fn is_non_zero(&self) -> bool | [src] |
fn as_ref_copy(&self) -> ProtobufValueRef<'static> | [src] |
Auto Trait Implementations
impl Send for AttrValue_ListValue
impl Send for AttrValue_ListValue
impl Sync for AttrValue_ListValue
impl Sync for AttrValue_ListValue
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<PB, Tract> ToTract for PB where
Tract: Tractify<PB>,
[src]
impl<PB, Tract> ToTract for PB where
Tract: Tractify<PB>,
fn tractify(&self) -> Result<Tract, TractError> | [src] |
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static> |
fn as_any(&self) -> &(dyn Any + 'static) |
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static) |
impl<T> Clone for T where
T: Clone,
[src]
impl<T> Clone for T where
T: Clone,