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

◆ extract_batch() [1/2]

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
std::vector< OutputType > MayaFlux::Yantra::Extractor< InputType, OutputType >::extract_batch ( const std::vector< input_type > & inputs)
inline

Batch extraction for multiple inputs.

Parameters
inputsVector of input data
Returns
Vector of extracted results

Definition at line 169 of file Extractor.hpp.

170 {
172 results.reserve(inputs.size());
173
174 for (const auto& input : inputs) {
175 results.push_back(extract_data(input));
176 }
177
178 return results;
179 }
OutputType extract_data(const input_type &data)
Template-flexible extractor base with instance-defined I/O types.
Definition Extractor.hpp:98

Referenced by MayaFlux::Yantra::Extractor< std::vector< Kakshya::DataVariant >, OutputType >::extract_batch().

Here is the caller graph for this function: