Home
last modified time | relevance | path

Searched refs:CallbackParam (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/callback/
Dcallback_manager.h54 Status Begin(const CallbackParam &);
58 Status EpochBegin(const CallbackParam &);
62 Status StepBegin(const CallbackParam &);
66 Status End(const CallbackParam &);
70 Status EpochEnd(const CallbackParam &);
74 Status StepEnd(const CallbackParam &);
Dds_callback.h42 virtual Status DSBegin(const CallbackParam &cb_param) = 0;
47 virtual Status DSEpochBegin(const CallbackParam &cb_param) = 0;
52 virtual Status DSNStepBegin(const CallbackParam &cb_param) = 0;
57 virtual Status DSEnd(const CallbackParam &cb_param) = 0;
62 virtual Status DSEpochEnd(const CallbackParam &cb_param) = 0;
67 virtual Status DSNStepEnd(const CallbackParam &cb_param) = 0;
Dpy_ds_callback.h57 Status DSBegin(const CallbackParam &cb_param) override;
62 Status DSEpochBegin(const CallbackParam &cb_param) override;
67 Status DSNStepBegin(const CallbackParam &cb_param) override;
72 Status DSEnd(const CallbackParam &cb_param) override;
77 Status DSEpochEnd(const CallbackParam &cb_param) override;
82 Status DSNStepEnd(const CallbackParam &cb_param) override;
112 static Status ExecutePyfunc(py::function f, const CallbackParam &cb_param);
Dpy_ds_callback.cc24 Status PyDSCallback::DSBegin(const CallbackParam &cb_param) { in DSBegin()
27 Status PyDSCallback::DSEpochBegin(const CallbackParam &cb_param) { in DSEpochBegin()
30 Status PyDSCallback::DSNStepBegin(const CallbackParam &cb_param) { in DSNStepBegin()
33 Status PyDSCallback::DSEnd(const CallbackParam &cb_param) { return PyDSCallback::ExecutePyfunc(end_… in DSEnd()
35 Status PyDSCallback::DSEpochEnd(const CallbackParam &cb_param) { in DSEpochEnd()
38 Status PyDSCallback::DSNStepEnd(const CallbackParam &cb_param) { in DSNStepEnd()
49 Status PyDSCallback::ExecutePyfunc(py::function f, const CallbackParam &cb_param) { in ExecutePyfunc()
Dcallback_manager.cc43 Status CallbackManager::Begin(const CallbackParam &cb_param) { in Begin()
63 Status CallbackManager::EpochBegin(const CallbackParam &cb_param) { in EpochBegin()
83 Status CallbackManager::StepBegin(const CallbackParam &cb_param) { in StepBegin()
104 Status CallbackManager::End(const CallbackParam &cb_param) { in End()
124 Status CallbackManager::EpochEnd(const CallbackParam &cb_param) { in EpochEnd()
144 Status CallbackManager::StepEnd(const CallbackParam &cb_param) { in StepEnd()
Dcallback_param.h27 class CallbackParam {
29 CallbackParam(int64_t epoch_num, int64_t cur_epoch_step, int64_t total_step_num) in CallbackParam() function
32 ~CallbackParam() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/callback/
Dbindings.cc37 PYBIND_REGISTER(CallbackParam, 0, ([](const py::module *m) { in __anoneece734f0202()
38 … (void)py::class_<CallbackParam, std::shared_ptr<CallbackParam>>(*m, "CallbackParam") in __anoneece734f0202()
40 .def_readonly("cur_epoch_num", &CallbackParam::cur_epoch_num_) in __anoneece734f0202()
41 .def_readonly("cur_step_num_in_epoch", &CallbackParam::cur_epoch_step_num_) in __anoneece734f0202()
42 .def_readonly("cur_step_num", &CallbackParam::cur_step_num_); in __anoneece734f0202()
/third_party/mindspore/tests/ut/cpp/dataset/
Dir_callback_test.cc54 Status DSBegin(const CallbackParam &cb_param) override { in DSBegin()
60 Status DSEpochBegin(const CallbackParam &cb_param) override { in DSEpochBegin()
66 Status DSNStepBegin(const CallbackParam &cb_param) override { in DSNStepBegin()
72 Status DSEnd(const CallbackParam &cb_param) override { in DSEnd()
78 Status DSEpochEnd(const CallbackParam &cb_param) override { in DSEpochEnd()
84 Status DSNStepEnd(const CallbackParam &cb_param) override { in DSNStepEnd()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/
Dmap_op.cc139 RETURN_IF_NOT_OK(callback_manager_.Begin(CallbackParam(0, ep_step, total_step))); in operator ()()
147 …RETURN_IF_NOT_OK(callback_manager_.EpochBegin(CallbackParam(op_current_epochs_ + 1, ep_step, total… in operator ()()
154 …RETURN_IF_NOT_OK(callback_manager_.StepBegin(CallbackParam(op_current_epochs_ + 1, ep_step, total_… in operator ()()
164 …RETURN_IF_NOT_OK(callback_manager_.StepEnd(CallbackParam(op_current_epochs_ + 1, ep_step, total_st… in operator ()()
171 …RETURN_IF_NOT_OK(callback_manager_.EpochEnd(CallbackParam(op_current_epochs_ + 1, ep_step, total_s… in operator ()()
/third_party/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1248 …typedef BOOL (WINAPI *MINIDUMP_CALLBACK_ROUTINE)(PVOID CallbackParam,CONST PMINIDUMP_CALLBACK_INPU…
1252 PVOID CallbackParam; member
1257 …NIDUMP_USER_STREAM_INFORMATION UserStreamParam,CONST PMINIDUMP_CALLBACK_INFORMATION CallbackParam);