- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for get_XlaShardingAttr (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
builder.getI64ArrayAttr(partition_dims), builder.getBoolAttr(false), op.get_XlaShardingAttr()); op->replaceAllUsesWith(pi); } else { auto po = builder.create<TF::TPUPartitionedOutputV2Op>( op.getLoc(), op.getResultTypes(), op.getOperand(), builder.getI64ArrayAttr(partition_dims), op.get_XlaShardingAttr()); op->replaceAllUsesWith(po); } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
// Assume all the replicas have the same structure. mlir::TF::TPUPartitionedOutputV2Op first_op = *(ops.begin()); mlir::ArrayAttr dims = first_op.getPartitionDimsAttr(); StringAttr sharding = first_op.get_XlaShardingAttr(); Operation::result_type_range output_types = first_op.getResultTypes(); result_op = builder.create<mlir::TF::TPUPartitionedOutputV2Op>(
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/tf2xla/transforms/legalize_tf.cc
data_and_token->setAttr( kShardingAttr, rewriter.getStringAttr(sharding_proto.SerializeAsString())); } else { data_and_token->setAttr(kShardingAttr, op.get_XlaShardingAttr()); } } if (op->hasAttr("layouts")) { // Append a UnitAttr for the "token" operand of the mhlo.infeed op here to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)