Home
last modified time | relevance | path

Searched refs:use_spmd (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_sharding_identification_pass.cc120 StringRef logical_core_0_sharding, bool use_spmd, in IdentifyXlaShardingForComputationInputs() argument
158 if (use_spmd) { in IdentifyXlaShardingForComputationInputs()
247 StringRef logical_core_0_sharding, bool use_spmd, in IdentifyXlaShardingForComputationOutputs() argument
276 if (use_spmd) { in IdentifyXlaShardingForComputationOutputs()
315 bool use_spmd = false; in IdentifyXlaShardingForTPUComputation() local
318 use_spmd = use_spmd_attr.getValue(); in IdentifyXlaShardingForTPUComputation()
320 IdentifyXlaShardingForComputationInputs(logical_core_0_sharding, use_spmd, in IdentifyXlaShardingForTPUComputation()
323 IdentifyXlaShardingForComputationOutputs(logical_core_0_sharding, use_spmd, in IdentifyXlaShardingForTPUComputation()
Dtpu_resource_partitioning.cc75 bool use_spmd = false; in PartitionResourceReadsWrites() local
78 use_spmd = use_spmd_attr.getValue(); in PartitionResourceReadsWrites()
80 if (!use_spmd) return; in PartitionResourceReadsWrites()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc1974 const bool use_spmd = (UseSpmdForXlaPartitioning(replicate_node) || in AssignArgsAndRetvalsToCores() local
2040 if (use_spmd && in AssignArgsAndRetvalsToCores()
2166 if (use_spmd) { in AssignArgsAndRetvalsToCores()
2211 if (use_spmd && in AssignArgsAndRetvalsToCores()
2327 const bool use_spmd = in BuildCompileNode() local
2336 proto.set_use_spmd_for_xla_partitioning(use_spmd); in BuildCompileNode()