- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DEVICE_TPU (0.17 sec)
-
tensorflow/compiler/jit/xla_compile_util_test.cc
EXPECT_FALSE(UsePjRtForSingleDeviceCompilation(DeviceType(DEVICE_CPU))); } TEST(XlaCompileUtilTest, PjRtDeviceCompilerResourceName) { EXPECT_EQ(GetPjRtDeviceCompilerResourceName(DeviceType(DEVICE_TPU)), "pjrt_device_compiler_TPU"); EXPECT_EQ(GetPjRtDeviceCompilerResourceName(DeviceType(DEVICE_TPU_NODE)), "pjrt_device_compiler_TPU");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 21:48:05 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.cc
// for CPU/GPU. This is to make sure the DeviceCompiler's lifecycle is // maintained appropriately. ResourceMgr* rm = nullptr; if (device_type == DEVICE_TPU) { rm = tfrt_global::GetTFGlobalResourceMgr(); } else { rm = ctx.resource_manager(); } if (!rm) { return absl::InternalError("No resource manager found."); } return rm; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc
std::vector<xla::XlaOp> returns(1); return BuildHloFromGraph(graph, builder, mlir_context, xla_params, returns, use_output_shapes, /*args=*/{}, /*control_rets=*/{}, DEVICE_TPU, FunctionLibraryDefinition(OpRegistry::Global()), /*debug_info=*/{}, /*custom_legalization_passes=*/{}); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 19:54:38 UTC 2024 - 9.7K bytes - Viewed (0)