pub struct CTCLoss { /* private fields */ }
Expand description
Builder for the CTCLoss
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CTCLoss
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