Struct tensorflow::eager::raw_ops::ParseExample
source · pub struct ParseExample { /* private fields */ }
Expand description
ParseExample
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ParseExample
Implementations§
source§impl ParseExample
impl ParseExample
sourcepub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the sparse_types
attribute.
sourcepub fn dense_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn dense_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the dense_shapes
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
serialized: &T0,
names: &T1,
sparse_keys: &[&T2],
dense_keys: &[&T3],
dense_defaults: &T4
) -> Result<[TensorHandle<'a>; 4]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>( &self, ctx: &'a Context, serialized: &T0, names: &T1, sparse_keys: &[&T2], dense_keys: &[&T3], dense_defaults: &T4 ) -> Result<[TensorHandle<'a>; 4]>
Execute parse_example.
Trait Implementations§
source§impl Clone for ParseExample
impl Clone for ParseExample
source§fn clone(&self) -> ParseExample
fn clone(&self) -> ParseExample
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 ParseExample
impl Debug for ParseExample
Auto Trait Implementations§
impl RefUnwindSafe for ParseExample
impl Send for ParseExample
impl Sync for ParseExample
impl Unpin for ParseExample
impl UnwindSafe for ParseExample
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