tff.framework.RemoteExecutorStub
Stay organized with collections
Save and categorize content based on your preferences.
Represents the interface of stubs call to an remote executor instance.
Attributes |
is_ready
|
Tells if the connection to remote is established.
|
Methods
compute
View source
@abc.abstractmethod
compute(
request: executor_pb2.ComputeRequest
) -> executor_pb2.ComputeResponse
Invokes Compute in a remote TFF runtime.
Args |
request
|
ComputeRequest.
|
create_call
View source
@abc.abstractmethod
create_call(
request: executor_pb2.CreateCallRequest
) -> executor_pb2.CreateCallResponse
Invokes CreateCall in a remote TFF runtime.
Args |
request
|
CreateCallRequest.
|
Returns |
CreateCallResponse.
|
create_selection
View source
@abc.abstractmethod
create_selection(
request: executor_pb2.CreateSelectionRequest
) -> executor_pb2.CreateSelectionResponse
Invokes CreateSelection in a remote TFF runtime.
Args |
request
|
CreateSelectionRequest.
|
Returns |
CreateSelectionResponse.
|
create_struct
View source
@abc.abstractmethod
create_struct(
request: executor_pb2.CreateStructRequest
) -> executor_pb2.CreateStructResponse
Invokes CreateStruct in a remote TFF runtime.
Args |
request
|
CreateStructRequest.
|
Returns |
CreateStructResponse.
|
create_value
View source
@abc.abstractmethod
create_value(
request: executor_pb2.CreateValueRequest
) -> executor_pb2.CreateValueResponse
Invokes CreateValue remotely.
Args |
request
|
CreateValueRequest.
|
Returns |
CreateValueResponse.
|
dispose
View source
@abc.abstractmethod
dispose(
request: executor_pb2.DisposeRequest
) -> executor_pb2.DisposeResponse
Invokes Dispose in a remote TFF runtime.
Args |
request
|
DisposeRequest.
|
dispose_executor
View source
@abc.abstractmethod
dispose_executor(
request: executor_pb2.DisposeExecutorRequest
) -> executor_pb2.DisposeExecutorResponse
Invokes DisposeExecutor
in a remote TFF runtime.
get_executor
View source
@abc.abstractmethod
get_executor(
request: executor_pb2.GetExecutorRequest
) -> executor_pb2.GetExecutorResponse
Invokes GetExecutor remotely.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-20 UTC."],[],[],null,[]]