Struct tensorflow::ops::CTCLoss
source · 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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
inputs: O0,
labels_indices: O1,
labels_values: O2,
sequence_length: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, inputs: O0, labels_indices: O1, labels_values: O2, sequence_length: O3, scope: &mut Scope ) -> Result<Operation>
Builds the CTCLoss
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
labels_indices: Output,
labels_values: Output,
sequence_length: Output,
scope: &mut Scope
) -> Result<CTCLossInst>
pub fn build_instance( &self, inputs: Output, labels_indices: Output, labels_values: Output, sequence_length: Output, scope: &mut Scope ) -> Result<CTCLossInst>
Builds a new instance of ‘CTCLoss’ Operation with it’s Outputs and Inputs exposed as methods.
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