Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDeviceAliasForLogicalCore (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc

      if (!devices) return;
      if (!devices.value().get(tensorflow::GetDeviceAliasForLogicalCore(0))) return;
    
      const auto composite_resource_users =
          GetResourceOpsUsingCompositeArgsInReplicate(replicate_op);
      for (auto resource_user : composite_resource_users) {
        WrapOpInLaunch(builder, resource_user->getLoc(), resource_user,
                       tensorflow::GetDeviceAliasForLogicalCore(0));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 17:41:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

      builder.setInsertionPointAfter(tpu_copy_with_dynamic_shape_op);
    
      // Set the copy op's device to the first TPU.
      std::string device_str;
      if (replicated) {
        device_str = tensorflow::GetDeviceAliasForLogicalCore(0);
      } else if (failed(tensorflow::GetNonReplicatedTPU0(
                     tpu_copy_with_dynamic_shape_op, &device_str))) {
        return failure();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top