tf_1.8_xla_doc
|
#include <compile_only_client.h>
Inherits Client.
Public Member Functions | |
StatusOr< std::vector< std::unique_ptr< AotCompilationResult > > > | CompileAheadOfTime (const tensorflow::gtl::ArraySlice< AotComputationInstance > computations, const AotCompilationOptions &options) |
Compiles a list of computations for ahead-of-time execution. This is intended for use in static compilation. The |options| parameter describes the target for which the compiler should emit code. More... | |
Google Docs:
An XLA Client specialization for doing ahead-of-time compilation. This does not require (or attempt to instantiate) an execution-capable backend for the relevant platform.
StatusOr< std::vector< std::unique_ptr< AotCompilationResult > > > xla::CompileOnlyClient::CompileAheadOfTime | ( | const tensorflow::gtl::ArraySlice< AotComputationInstance > | computations, |
const AotCompilationOptions & | options | ||
) |
Compiles a list of computations for ahead-of-time execution. This is intended for use in static compilation. The |options| parameter describes the target for which the compiler should emit code.
CompileOnlyService::AotComputationInstance
xla::CompileOnlyClient::AotComputationInstance
objects (basically represents an xla::Computation
object) into the xla::CompileOnlyService::AotComputationInstance
objects.xla::CompileOnlyService::CompileAheadOfTime