Home
last modified time | relevance | path

Searched refs:py_ret (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/
Dpython_sampler.cc41 py::object py_ret = py_sampler_instance.attr("_get_indices")(); in GetNextSample() local
42 py::array np_sample_ids = py_ret.cast<py::array>(); in GetNextSample()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc590 py::object py_ret = prim_py->RunInferValue(py_vals); in RunPyInferValue() local
591 if (py::isinstance<py::none>(py_ret)) { in RunPyInferValue()
597 bool converted = parse::ConvertData(py_ret, &converted_ret, false, dtype); in RunPyInferValue()