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

◆ CombineOperator() [2/2]

MayaFlux::Nodes::Network::CombineOperator::CombineOperator ( std::shared_ptr< Kinesis::Stochastic::Weights >  table)
explicit

Combine through a table shared with other operators.

Parameters
tableSlot-to-output weights, one row per slot. Not re-seeded. One output is published per column.
Exceptions
std::invalid_argumentwhen table is null

Definition at line 173 of file RelationOperators.cpp.

174 : m_weights(require_table(std::move(table)))
175 , m_outputs(std::max<size_t>(1, m_weights->cols()))
176 , m_values(m_weights->rows(), 0.0)
177{
178}
std::shared_ptr< Kinesis::Stochastic::Weights > m_weights

References max.