Struct tensorflow::ops::CTCBeamSearchDecoder
source · pub struct CTCBeamSearchDecoder { /* private fields */ }
Expand description
Builder for the CTCBeamSearchDecoder
operation.
Implementations§
source§impl CTCBeamSearchDecoder
impl CTCBeamSearchDecoder
sourcepub fn beam_width<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn beam_width<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the beam_width
attribute.
sourcepub fn top_paths<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn top_paths<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the top_paths
attribute.
sourcepub fn merge_repeated<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn merge_repeated<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the merge_repeated
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>>(
&self,
inputs: O0,
sequence_length: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, inputs: O0, sequence_length: O1, scope: &mut Scope ) -> Result<Operation>
Builds the CTCBeamSearchDecoder
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
sequence_length: Output,
scope: &mut Scope
) -> Result<CTCBeamSearchDecoderInst>
pub fn build_instance( &self, inputs: Output, sequence_length: Output, scope: &mut Scope ) -> Result<CTCBeamSearchDecoderInst>
Builds a new instance of ‘CTCBeamSearchDecoder’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for CTCBeamSearchDecoder
impl Debug for CTCBeamSearchDecoder
source§impl Default for CTCBeamSearchDecoder
impl Default for CTCBeamSearchDecoder
source§fn default() -> CTCBeamSearchDecoder
fn default() -> CTCBeamSearchDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CTCBeamSearchDecoder
impl Send for CTCBeamSearchDecoder
impl Sync for CTCBeamSearchDecoder
impl Unpin for CTCBeamSearchDecoder
impl UnwindSafe for CTCBeamSearchDecoder
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