Turi Create
4.0
|
#include <ml/neural_net/combine_base.hpp>
Public Member Functions | |
Demand (int max) | |
int | max () const |
Demand & | Add (Demand other) |
Demand & | Decrement () |
Simple type expressing how many values a Subscriber is ready to receive from its Publisher.
Definition at line 54 of file combine_base.hpp.
|
inlineexplicit |
Any negative value is interpreted as "unlimited".
Definition at line 60 of file combine_base.hpp.
Additively combines another Demand value into this one.
Definition at line 69 of file combine_base.hpp.
|
inline |
Decrease this demand by one if the current max is positive and finite.
Definition at line 79 of file combine_base.hpp.
|
inline |
Returns a negative number to indicate "unlimited."
Definition at line 66 of file combine_base.hpp.