definition of optimizer
More...
#include <map>
#include <vector>
#include <string>
#include <memory>
#include <functional>
#include "mxnet-cpp/base.h"
#include "dmlc/logging.h"
#include "mxnet-cpp/ndarray.h"
#include "mxnet-cpp/op_map.h"
#include "mxnet-cpp/lr_scheduler.h"
Go to the source code of this file.
definition of optimizer
- Author
- Chuntao Hong, Zhang Chen
#define MXNETCPP_REGISTER_OPTIMIZER |
( |
|
Name, |
|
|
|
OptimizerType |
|
) |
| |
Value:static int __make_ ## OptimizerType ## _ ## Name ## __ = \
OptimizerRegistry::__REGISTER__(#Name, [](){return new OptimizerType();})