- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetKernelRegistry (0.14 sec)
-
tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc
std::string data; CHECK_OK(ReadFileToString(Env::Default(), file_path, &data)); tfrt::BefBuffer bef_buffer(data.begin(), data.end()); auto bef_file = tfrt::BEFFile::Open(bef_buffer, host->GetKernelRegistry(), host->diag_handler(), host->allocator()); CHECK(bef_file); return std::make_pair(std::move(bef_buffer), std::move(bef_file)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 08 08:08:48 UTC 2023 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
tfrt::ConvertMLIRToBEF(*module, /*disable_optional_sections=*/false); CHECK(!bef_buffer_.empty()) << "Failed to convert module to BEF"; bef_file_ = BEFFile::Open(bef_buffer_, host_context_->GetKernelRegistry(), host_context_->diag_handler(), host_context_->allocator()); CHECK(bef_file_) << "Failed to open BEF"; // Run TFRT initialization function to pre-instantiate fallback kernels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0)