Struct tensorflow::ops::CTCLossV2
source · pub struct CTCLossV2 { /* private fields */ }
Expand description
Builder for the CTCLossV2
operation.
Implementations§
source§impl CTCLossV2
impl CTCLossV2
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 CTCLossV2
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
labels_indices: Output,
labels_values: Output,
sequence_length: Output,
scope: &mut Scope
) -> Result<CTCLossV2Inst>
pub fn build_instance( &self, inputs: Output, labels_indices: Output, labels_values: Output, sequence_length: Output, scope: &mut Scope ) -> Result<CTCLossV2Inst>
Builds a new instance of ‘CTCLossV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CTCLossV2
impl Send for CTCLossV2
impl Sync for CTCLossV2
impl Unpin for CTCLossV2
impl UnwindSafe for CTCLossV2
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