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