Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_test.cc224 HloSharding default_sharding = HloSharding::Replicate(); in TEST_F() local
227 default_sharding); in TEST_F()
235 default_sharding); in TEST_F()
244 default_sharding); in TEST_F()
248 default_sharding); in TEST_F()
258 default_sharding); in TEST_F()
262 default_sharding); in TEST_F()
Dbatchnorm_expander.cc276 HloSharding default_sharding = in HandleBatchNormTraining() local
284 inst->set_sharding(default_sharding); in HandleBatchNormTraining()
363 HloSharding default_sharding = in HandleBatchNormInference() local
371 inst->set_sharding(default_sharding); in HandleBatchNormInference()
540 HloSharding default_sharding = in HandleBatchNormGrad() local
548 inst->set_sharding(default_sharding); in HandleBatchNormGrad()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dhost_training_loop_optimization_util.cc501 NodeDef default_sharding; in AddReshardOp() local
502 default_sharding.set_op("Const"); in AddReshardOp()
503 default_sharding.set_name(graph->NewName(strings::StrCat( in AddReshardOp()
505 AddNodeAttr("dtype", DT_STRING, &default_sharding); in AddReshardOp()
512 (*default_sharding.mutable_attr())["value"].mutable_tensor()); in AddReshardOp()
514 Node* default_sharding_node = graph->AddNode(default_sharding, &status); in AddReshardOp()