tf_1.8_xla_doc
|
#include <compile_only_service.h>
Classes | |
struct | AotComputationInstance |
A description of a computation to compile using CompileAheadOfTime. More... | |
Public Member Functions | |
StatusOr< std::vector< std::unique_ptr< AotCompilationResult > > > | CompileAheadOfTime (const tensorflow::gtl::ArraySlice< AotComputationInstance > computations, const AotCompilationOptions &Options) |
![]() | |
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... | |
Static Public Member Functions | |
static StatusOr< std::unique_ptr< CompileOnlyService > > | NewService (const ServiceOptions &options) |
Google Docs:
An XLA Service specialization for ahead-of-time compilation. This only instantiates a Compiler object for the relevant platform; it does not instantiate or require an execution backend.
StatusOr< std::vector< std::unique_ptr< AotCompilationResult > > > xla::CompileOnlyService::CompileAheadOfTime | ( | const tensorflow::gtl::ArraySlice< AotComputationInstance > | computations, |
const AotCompilationOptions & | options | ||
) |
Google Docs:
Compiles a list of computations for ahead-of-time execution. This is intended for use in static compilation.
xla::cpu::CpuCompiler::CompileAheadOfTime
(Overridden, not shown in call graph)
|
static |