- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetDeviceCoordinates (0.75 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h
std::optional<xla::DeviceAssignmentProto> xla_device_assignment; }; // Extracts device coordinates from a device assignment attribute on an op. absl::StatusOr<llvm::SmallVector<int64_t, 8>> GetDeviceCoordinates( mlir::ArrayAttr device_assignment_attr); // Finds the TPU compilation device and execution devices from `devices` for a // TPU computation subgraph. Compilation device is determined from looking up
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
tensorflow::kDeviceAssignmentAttr) .str()); auto status_or_device_coodinates = tensorflow::GetDeviceCoordinates(device_assignment_attr); if (!status_or_device_coodinates.ok()) return cluster.emitError() << "error in fetching tpu device coordinates: " << status_or_device_coodinates.status().message();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
mlir::MLIRContext context; mlir::Builder builder(&context); auto device_assignment_attr = builder.getI64ArrayAttr({1, 2, 3}); auto status_or_device_coodinates = GetDeviceCoordinates(device_assignment_attr); ASSERT_TRUE(status_or_device_coodinates.ok()); auto device_coordinates = status_or_device_coodinates.value(); EXPECT_EQ(device_coordinates[0], 1); EXPECT_EQ(device_coordinates[1], 2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0)