- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for cluster_func (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
cluster_func->getParentOfType<tf_device::ParallelExecuteOp>(); if (old_parallel_execute && cluster_func->getParentOp() != old_parallel_execute) { cluster_func->emitError() << "The ParallelExecute ancestor of a " "ClusterFunc must be its direct parent."; return failure(); } if (!old_parallel_execute) old_parallel_execute = TF::BuildParallelExecuteOp(cluster_func, builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
} // Extracts input/output sharding configuration of `cluster_func` by parsing // XlaSharding ops inside the `cluster_func`. LogicalResult IdentifyXlaShardingForTPUComputation( Builder* builder, mlir::tf_device::ClusterFuncOp cluster_func) { // Look up function definition from module. mlir::func::FuncOp func = cluster_func->getParentOfType<ModuleOp>()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
mlir::tf_device::ClusterFuncOp cluster_func, mlir::SmallVector<xla::OpSharding, 4>* output_sharding_list) { output_sharding_list->reserve(cluster_func.getNumResults()); const auto output_sharding_attrs = cluster_func.getOperation()->getAttrOfType<mlir::ArrayAttr>( kOutputShardingAttr); if (!output_sharding_attrs) return cluster_func.emitError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
BuildSpaceToDepth(cluster_func, input, block_size, input_shape); cluster_func.setOperand(index, space_to_depth); return space_to_depth; } // Performs transformation for replicated inputs. Returns true if this is a // supported case (thus transform happened). bool HandleHostReplicatedInputs(int64_t index, tf_device::ClusterFuncOp cluster_func,
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/tf2xla/internal/passes/clustering_passes.td
Bubbles up sharding configuration from `cluster_func` regions into the attributes of `cluster_func`. This is done by parsing the `XlaSharding` / `TPUPartitionedOutput` / `TPUPartitionedInput` ops inside `cluster_func`. For example, given the following `cluster_func` wrapping `func`: ```mlir func @test(%arg0: tensor<*xi32>) { "tf_device.cluster_func"(%arg0) { func = @func,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 19.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc.inc" >(); addInterfaces<TFInlinerInterface>(); } //===----------------------------------------------------------------------===// // tf_device.cluster_func //===----------------------------------------------------------------------===// LogicalResult ClusterFuncOp::verifySymbolUses( mlir::SymbolTableCollection& symbolTable) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
Operation* parent, MetadataMap& metadata_map) { std::string cluster_succ = ""; if (op->hasAttr(TF::kTpuReplicateAttr)) { cluster_succ = op->getAttrOfType<StringAttr>(TF::kTpuReplicateAttr).str(); } if (cluster_succ.empty()) { // TODO (b/269195256#comment16): Change to error after resolving issue
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0)