pub enum ReconstructError {
ClusterRowsMismatch {
actual: usize,
expected: usize,
},
ClusterColumnsMismatch {
actual: usize,
expected: usize,
},
StartFramesMismatch {
actual: usize,
expected: usize,
},
ActivationShapeMismatch {
diarization_frames: usize,
diarization_speakers: usize,
activation_frames: usize,
activation_speakers: usize,
},
}Available on crate feature
_backend only.Expand description
Invalid reconstruction inputs
Variants§
ClusterRowsMismatch
Cluster rows do not match the number of segmentation chunks
ClusterColumnsMismatch
Cluster columns do not match the number of local speakers
StartFramesMismatch
Start-frame count does not match the number of segmentation chunks
ActivationShapeMismatch
Frame activations do not match the reconstructed diarization shape
Trait Implementations§
Source§impl Clone for ReconstructError
impl Clone for ReconstructError
impl Copy for ReconstructError
Source§impl Debug for ReconstructError
impl Debug for ReconstructError
Source§impl Display for ReconstructError
impl Display for ReconstructError
impl Eq for ReconstructError
Source§impl Error for ReconstructError
impl Error for ReconstructError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ReconstructError> for PipelineError
impl From<ReconstructError> for PipelineError
Source§fn from(source: ReconstructError) -> Self
fn from(source: ReconstructError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReconstructError
impl PartialEq for ReconstructError
impl StructuralPartialEq for ReconstructError
Auto Trait Implementations§
impl Freeze for ReconstructError
impl RefUnwindSafe for ReconstructError
impl Send for ReconstructError
impl Sync for ReconstructError
impl Unpin for ReconstructError
impl UnsafeUnpin for ReconstructError
impl UnwindSafe for ReconstructError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.