tf_1.8_xla_doc
|
#include <service.h>
Public Member Functions | |
tensorflow::Status | Computation (const ComputationRequest *arg, ComputationResponse *result) override |
Populates computation_ with a valid object. Used before any given operation is enqueued. More... | |
tensorflow::Status | Op (const OpRequest *arg, OpResponse *result) override |
Enqueue an Op on the computation. More... | |
Google Docs:
The XLA service object, which is the same across all platforms. It maintains the service state of computations and allocations, and delegates target-specific requests to the target-specific infrastructure (target-specific compiler, StreamExecutor).
|
override |
Populates computation_
with a valid object. Used before any given operation is enqueued.
computation_tracker_
's method NewComputation()
to create a new computation and store the ComputationHandle
in the given ComputationResponse
object result
.
|
override |
Enqueue an Op
on the computation.
UserComputation
object.UserComputation
object.result
and add some common setting (metadata, sharding) in computation.