Struct tensorflow::eager::raw_ops::CTCLoss
source · pub struct CTCLoss { /* private fields */ }
Expand description
Implementations§
source§impl CTCLoss
impl CTCLoss
sourcepub fn preprocess_collapse_repeated<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn preprocess_collapse_repeated<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the preprocess_collapse_repeated
attribute.
sourcepub fn ctc_merge_repeated<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn ctc_merge_repeated<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the ctc_merge_repeated
attribute.
sourcepub fn ignore_longer_outputs_than_inputs<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn ignore_longer_outputs_than_inputs<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the ignore_longer_outputs_than_inputs
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>>(
&self,
ctx: &'a Context,
inputs: &T0,
labels_indices: &T1,
labels_values: &T2,
sequence_length: &T3
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, inputs: &T0, labels_indices: &T1, labels_values: &T2, sequence_length: &T3 ) -> Result<[TensorHandle<'a>; 2]>
Execute ctcloss.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CTCLoss
impl Send for CTCLoss
impl Sync for CTCLoss
impl Unpin for CTCLoss
impl UnwindSafe for CTCLoss
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