- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for kDeviceAttr (0.36 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace TFDevice { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kMiniBatchSplitsAttr[] = "mini_batch_splits"; constexpr char kMiniBatchCsrAttr[] = "mini_batch_in_csr"; #define GEN_PASS_DEF_EMBEDDINGPROGRAMKEYPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/device_util.h" #include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h" namespace mlir { namespace TFDevice { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kReplicaIdAttr[] = "_xla_replica_id"; constexpr char kDeviceOrdinalAttr[] = "device_ordinal"; #define GEN_PASS_DEF_REPLICATETOISLANDPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 24 21:01:40 UTC 2023 - 16.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
#include "tensorflow/core/platform/random.h" #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h" namespace mlir { namespace TFTPU { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; constexpr char kDefaultShardingValue[] = ""; constexpr char kMirroredVariableIndicesAttr[] = "_mirrored_variable_indices";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
if (!metadata.getAllowSoftPlacement() && !op->hasAttr(TF::kXlaOutsideCompilationAttr)) return true; std::string device = ""; if (op->hasAttr(TF::kDeviceAttr)) device = op->getAttrOfType<StringAttr>(TF::kDeviceAttr).str(); else return false; if (absl::StrContains(device, TF::kTpuDevice)) return true; return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
inline constexpr llvm::StringRef kTpuDevice = "TPU"; // _xla_outside_compilation inline constexpr llvm::StringRef kXlaOutsideCompilationAttr = "_xla_outside_compilation"; // device attr inline constexpr llvm::StringRef kDeviceAttr = "device"; // Function attribute to signal that a function should be skipped from TPU // island outlining. The attribute is set in // `TpuV1BridgeExecutorIslandCoarsening` and removed in the subsequent
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
#define DEBUG_TYPE "tf-tpu-merge-variables-with-execute" namespace mlir { namespace TFTPU { namespace { constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; #define GEN_PASS_DEF_TPUMERGEVARIABLESWITHEXECUTEPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
using mlir::OpResult; using mlir::Region; using mlir::StringAttr; using mlir::success; using mlir::Type; using mlir::Value; using mlir::ValueRange; using mlir::WalkResult; constexpr llvm::StringRef kDeviceAttr = "device"; constexpr llvm::StringRef kNameAttr = "name"; constexpr llvm::StringRef kNumCoresPerReplicaAttr = "num_cores_per_replica"; constexpr llvm::StringRef kNumReplicasAttr = "num_replicas";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
#include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/util/device_name_utils.h" namespace mlir { namespace TFTPU { namespace { constexpr char kDeviceAttr[] = "device"; typedef std::pair<TF::Conv2DOp, int64_t> Conv2DWithBlockSize; struct BlockArgumentInfo { unsigned arg_num; unsigned num_users; }; #define GEN_PASS_DEF_TPUSPACETODEPTHPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
kAnyDevice}; constexpr ResourceAndDevice kUnknownResourceAndDevice{kUnknownResourceId, kAnyDevice}; constexpr char kDeviceAttr[] = "device"; #define GEN_PASS_DEF_EXECUTORCONVERTCONTROLTODATAOUTPUTSPASS #define GEN_PASS_DECL_EXECUTORCONVERTCONTROLTODATAOUTPUTSPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h" #include "tensorflow/core/framework/tensor_shape.pb.h" namespace mlir { namespace { constexpr char kDeviceAttr[] = "device"; #define GEN_PASS_DEF_RESOURCEOPLIFTINGPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc" // Lift resource operations out of device computation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0)