tf_1.8_xla_doc
|
#include <xla_op_registry.h>
Static Public Member Functions | |
static void | RegisterCompilationKernels () |
Class that manages registrations of operators and devices for the XLA JIT. Not thread-safe.
|
static |
Google Docs:
Registers all JIT kernels on JIT devices, if not already registered. Does nothing otherwise.
REGISTER_XLA_OP
(Lots of operator registered under compiler/tf2xla/kernels
)op_def
from OpRegistry
, and record the attributes with type
field being type
or list(type)
XLA_CPU_JIT
)KernelDef
instance. Use the intersection ofXLA_CPU_JIT
OpKernelRegistrar
, this step is quite similar to usual kernel registration