Home
last modified time | relevance | path

Searched refs:mVar (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp113 RandomVariable::RandomVariable(int value) : mVar(new RandomVariableBase(value)) { in RandomVariable()
114 NN_FUZZER_LOG << "New RandomVariable " << toString(mVar); in RandomVariable()
115 RandomVariableNetwork::get()->add(mVar); in RandomVariable()
117 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable()
118 NN_FUZZER_LOG << "New RandomVariable " << toString(mVar); in RandomVariable()
119 RandomVariableNetwork::get()->add(mVar); in RandomVariable()
122 : mVar(new RandomVariableBase(choices)) { in RandomVariable()
123 NN_FUZZER_LOG << "New RandomVariable " << toString(mVar); in RandomVariable()
124 RandomVariableNetwork::get()->add(mVar); in RandomVariable()
127 : mVar(new RandomVariableBase(1, defaultValue)) { in RandomVariable()
[all …]
DRandomVariable.h139 RandomVariable() : mVar(nullptr) {} in RandomVariable()
159 int getValue() const { return mVar->getValue(); } in getValue()
162 RandomVariableNode get() const { return mVar; }; in get()
164 bool operator==(nullptr_t) const { return mVar == nullptr; }
165 bool operator!=(nullptr_t) const { return mVar != nullptr; }
191 RandomVariableNode mVar; variable