Searched refs:PythonResp (Results 1 – 5 of 5) sorted by relevance
5 PythonResp::PythonResp(SerializedPyObj&& serializedPyObj) in PythonResp() function in torch::distributed::rpc::PythonResp8 c10::intrusive_ptr<Message> PythonResp::toMessageImpl() && { in toMessageImpl()17 std::unique_ptr<PythonResp> PythonResp::fromMessage(const Message& message) { in fromMessage()21 return std::make_unique<PythonResp>(std::move(serializedPyObj)); in fromMessage()24 const SerializedPyObj& PythonResp::serializedPyObj() const { in serializedPyObj()
9 class TORCH_API PythonResp final : public RpcCommandBase {11 explicit PythonResp(SerializedPyObj&& serializedPyObj);15 static std::unique_ptr<PythonResp> fromMessage(const Message& message);
190 PythonResp(serializePyObject(future.value())).toMessage()); in processPythonCall()
42 auto& resp = static_cast<PythonResp&>(*response); in toPyIValue()
156 return PythonResp::fromMessage(response); in deserializeResponse()