MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetUp

Method SetUp

tensorflow/compiler/tf2xla/xla_compiler_test.cc:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59class XlaCompilerTest : public ::testing::Test {
60 protected:
61 void SetUp() override {
62 client_ = xla::ClientLibrary::LocalClientOrDie();
63
64 XlaOpRegistry::RegisterCompilationKernels();
65
66 FunctionDefLibrary flib;
67 flib_def_.reset(new FunctionLibraryDefinition(OpRegistry::Global(), flib));
68 }
69
70 XlaCompiler::Options DefaultOptions() {
71 XlaCompiler::Options options;

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected