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

◆ embedding_tensor()

std::shared_ptr< Kakshya::TensorContainer > MayaFlux::Yantra::PhonemeAnalysis::embedding_tensor ( std::string name) const
inlinenodiscard

The states as a frames by hidden_width float32 tensor.

Returns
The container, or nullptr when the states were not kept.

Definition at line 118 of file PhonemeAnalyzer.hpp.

119 {
120 return as_tensor(embeddings, HubertPhonemeModel::hidden_width, std::move(name));
121 }
static constexpr uint32_t hidden_width
Width of the state before the final layer.
static std::shared_ptr< Kakshya::TensorContainer > as_tensor(const std::vector< float > &values, uint64_t width, std::string name)
std::vector< float > embeddings
State of every frame before the final layer, HubertPhonemeModel::hidden_width values each.

References as_tensor(), embeddings, and MayaFlux::Yantra::HubertPhonemeModel::hidden_width.

Here is the call graph for this function: