MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ share_recording()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::MatrixXd>
void MayaFlux::Yantra::PhonemeAnalyzer< InputType, OutputType >::share_recording ( std::shared_ptr< GpuDispatchRecorder > recording)
inline

Append to a recording the caller shares with other work.

Call it before the first analysis. The recording must be compute isolated.

Exceptions
std::logic_errorwhen the network has already been created.

Definition at line 304 of file PhonemeAnalyzer.hpp.

305 {
306 if (m_model) {
308 std::source_location::current(), "The recording can only be shared before the network starts");
309 }
311 }
std::unique_ptr< HubertPhonemeModel > m_model
std::shared_ptr< GpuDispatchRecorder > m_recording
Which phoneme is spoken near each frame of a mono 16 kHz utterance, from a learned network.