Searched refs:py_ret (Results 1 – 2 of 2) sorted by relevance
41 py::object py_ret = py_sampler_instance.attr("_get_indices")(); in GetNextSample() local42 py::array np_sample_ids = py_ret.cast<py::array>(); in GetNextSample()
590 py::object py_ret = prim_py->RunInferValue(py_vals); in RunPyInferValue() local591 if (py::isinstance<py::none>(py_ret)) { in RunPyInferValue()597 bool converted = parse::ConvertData(py_ret, &converted_ret, false, dtype); in RunPyInferValue()