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