- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for kTFDeviceAttr (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" namespace mlir { namespace TF { namespace { constexpr const char *kDeviceAttr = "device"; constexpr const char *kTFDeviceAttr = "tf.device"; #define GEN_PASS_DEF_TENSORDEVICECOPYCONVERSIONPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" struct TensorDeviceCopyConversionPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
// function. for (int i : llvm::seq<int>(0, metadata.input_devices.size())) { func_op.setArgAttr(i, kTFDeviceAttr, StringAttr::get(context, metadata.input_devices[i])); } for (int i : llvm::seq<int>(0, metadata.result_devices.size())) { func_op.setResultAttr( i, kTFDeviceAttr, StringAttr::get(context, metadata.result_devices[i])); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0)