ONE - On-device Neural Engine
|
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Go to the source code of this file.
Functions | |
void | bind_nnfw_train_enums (py::module_ &m) |
void | bind_nnfw_loss_info (py::module_ &m) |
void | bind_nnfw_train_info (py::module_ &m) |
void bind_nnfw_loss_info | ( | py::module_ & | m | ) |
Definition at line 54 of file nnfw_traininfo_bindings.cc.
References nnfw_loss_info::loss, m, and nnfw_loss_info::reduction_type.
Referenced by PYBIND11_MODULE().
void bind_nnfw_train_enums | ( | py::module_ & | m | ) |
Definition at line 26 of file nnfw_traininfo_bindings.cc.
References m, NNFW_TRAIN_LOSS_CATEGORICAL_CROSSENTROPY, NNFW_TRAIN_LOSS_MEAN_SQUARED_ERROR, NNFW_TRAIN_LOSS_REDUCTION_SUM, NNFW_TRAIN_LOSS_REDUCTION_SUM_OVER_BATCH_SIZE, NNFW_TRAIN_LOSS_REDUCTION_UNDEFINED, NNFW_TRAIN_LOSS_UNDEFINED, NNFW_TRAIN_OPTIMIZER_ADAM, NNFW_TRAIN_OPTIMIZER_SGD, NNFW_TRAIN_OPTIMIZER_UNDEFINED, NNFW_TRAIN_TRAINABLE_ALL, NNFW_TRAIN_TRAINABLE_INCORRECT_STATE, and NNFW_TRAIN_TRAINABLE_NONE.
Referenced by PYBIND11_MODULE().
void bind_nnfw_train_info | ( | py::module_ & | m | ) |
Definition at line 63 of file nnfw_traininfo_bindings.cc.
References nnfw_train_info::batch_size, nnfw_train_info::learning_rate, nnfw_train_info::loss_info, m, nnfw_train_info::num_of_trainable_ops, and nnfw_train_info::opt.
Referenced by PYBIND11_MODULE().