Searched refs:GetAsShapeTree (Results 1 – 5 of 5) sorted by relevance
73 sharding.GetAsShapeTree(ShapeUtil::MakeShape(U32, {4})); in TEST_F()143 tuple_sharding.GetAsShapeTree(nested_tuple_shape); in TEST_F()
168 ShapeTree<HloSharding> GetAsShapeTree(const Shape& shape) const { in GetAsShapeTree() function
307 sharding.GetAsShapeTree(batch_norm->shape()).element({0}); in HandleBatchNormTraining()589 sharding.GetAsShapeTree(batch_norm->shape()).element({0}); in HandleBatchNormGrad()
280 ShapeTree<HloSharding> shape_tree = GetAsShapeTree(shape); in ValidateTuple()
1217 set_sharding(HloSharding::Tuple(sharding.GetAsShapeTree(shape()))); in set_single_sharding()