tf_1.8_xla_doc
Namespaces | Functions
tensorflow::tfcompile Namespace Reference

Namespace of tfcompile. More...

Namespaces

Functions

Status CompileGraph (const GraphDef &graph_def, const tf2xla::Config &config, const MainFlags &flags, CompileResult *compile_result)
 Converts the graph into an XLA computation, and compiles the computation. Called by tensorflow::tfcompile::Main. Convert graph definition to object file that include graph's function. More...
 
Status Main (const MainFlags &flags)
 

Detailed Description

Namespace of tfcompile.

Function Documentation

◆ CompileGraph()

Status tensorflow::tfcompile::CompileGraph ( const GraphDef &  graph_def,
const tf2xla::Config &  config,
const MainFlags &  flags,
CompileResult *  compile_result 
)

Converts the graph into an XLA computation, and compiles the computation. Called by tensorflow::tfcompile::Main. Convert graph definition to object file that include graph's function.

  1. [TODO] Fiddling about client
  2. Call ConvertGraphDefToXla
  3. CompileXLA
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Main()

Status tensorflow::tfcompile::Main ( const MainFlags &  flags)

Called by main

  1. Process config(generate config & graph_def)
  2. Call tensorflow::tfcompile::CompileGraph
    Todo:
Here is the call graph for this function:
Here is the caller graph for this function: