Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_resource_partitioning.cc76 if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>( in PartitionResourceReadsWrites() local
78 use_spmd = use_spmd_attr.getValue(); in PartitionResourceReadsWrites()
Dtpu_sharding_identification_pass.cc316 if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>( in IdentifyXlaShardingForTPUComputation() local
318 use_spmd = use_spmd_attr.getValue(); in IdentifyXlaShardingForTPUComputation()
Dtpu_rewrite_pass.cc317 auto use_spmd_attr = op->getAttrOfType<BoolAttr>(kUseXlaSpmdAttr); in SetMetadataProtoFromClusterFuncOp() local
318 if (!use_spmd_attr) in SetMetadataProtoFromClusterFuncOp()
320 metadata->set_use_spmd_for_xla_partitioning(use_spmd_attr.getValue()); in SetMetadataProtoFromClusterFuncOp()