Struct tensorflow::eager::raw_ops::EncodeProto
source · pub struct EncodeProto { /* private fields */ }
Expand description
EncodeProto
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EncodeProto
Implementations§
source§impl EncodeProto
impl EncodeProto
sourcepub fn field_names<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn field_names<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the field_names
attribute.
sourcepub fn message_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn message_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the message_type
attribute.
sourcepub fn descriptor_source<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn descriptor_source<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the descriptor_source
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
sizes: &T0,
values: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, sizes: &T0, values: &T1 ) -> Result<TensorHandle<'a>>
Execute encode_proto.
Trait Implementations§
source§impl Clone for EncodeProto
impl Clone for EncodeProto
source§fn clone(&self) -> EncodeProto
fn clone(&self) -> EncodeProto
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncodeProto
impl Debug for EncodeProto
Auto Trait Implementations§
impl RefUnwindSafe for EncodeProto
impl Send for EncodeProto
impl Sync for EncodeProto
impl Unpin for EncodeProto
impl UnwindSafe for EncodeProto
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more