Struct tensorflow::eager::raw_ops::CTCBeamSearchDecoder
source · pub struct CTCBeamSearchDecoder { /* private fields */ }
Expand description
CTCBeamSearchDecoder
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/CTCBeamSearchDecoder
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 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>>(
&self,
ctx: &'a Context,
inputs: &T0,
sequence_length: &T1
) -> Result<[TensorHandle<'a>; 4]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, inputs: &T0, sequence_length: &T1 ) -> Result<[TensorHandle<'a>; 4]>
Execute ctcbeam_search_decoder.
Trait Implementations§
source§impl Clone for CTCBeamSearchDecoder
impl Clone for CTCBeamSearchDecoder
source§fn clone(&self) -> CTCBeamSearchDecoder
fn clone(&self) -> CTCBeamSearchDecoder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CTCBeamSearchDecoder
impl Debug for CTCBeamSearchDecoder
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