#include <metric.h>
mxnet::cpp::EvalMetric::EvalMetric |
( |
const std::string & |
name, |
|
|
int |
num = 0 |
|
) |
| |
|
inlineexplicit |
static void mxnet::cpp::EvalMetric::CheckLabelShapes |
( |
NDArray |
labels, |
|
|
NDArray |
preds, |
|
|
bool |
strict = false |
|
) |
| |
|
inlinestaticprotected |
float mxnet::cpp::EvalMetric::Get |
( |
| ) |
|
|
inline |
void mxnet::cpp::EvalMetric::GetNameValue |
( |
| ) |
|
void mxnet::cpp::EvalMetric::Reset |
( |
| ) |
|
|
inline |
virtual void mxnet::cpp::EvalMetric::Update |
( |
NDArray |
labels, |
|
|
NDArray |
preds |
|
) |
| |
|
pure virtual |
std::string mxnet::cpp::EvalMetric::name |
|
protected |
int mxnet::cpp::EvalMetric::num |
|
protected |
int mxnet::cpp::EvalMetric::num_inst = 0 |
|
protected |
float mxnet::cpp::EvalMetric::sum_metric = 0.0f |
|
protected |
The documentation for this class was generated from the following file: