Home
last modified time | relevance | path

Searched refs:sub_shape (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc450 const Shape* sub_shape = &shape; in GetSubSharding() local
454 ShapeUtil::GetLeafCount(ShapeUtil::GetSubshape(*sub_shape, {i})); in GetSubSharding()
456 sub_shape = &ShapeUtil::GetSubshape(*sub_shape, {idx}); in GetSubSharding()
458 if (sub_shape->IsTuple()) { in GetSubSharding()
461 begin_it, begin_it + ShapeUtil::GetLeafCount(*sub_shape)); in GetSubSharding()
462 return HloSharding::Tuple(*sub_shape, sub_shardings); in GetSubSharding()
Dhlo_liveness_analysis.cc99 [&](const Shape& sub_shape, const ShapeIndex& shape_index) { in MarkLiveAtAllIndices() argument
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc836 ForEachSubshape(shape, [&](const Shape& sub_shape, const ShapeIndex& index) { in GetLeafShapes() argument
838 leaves.emplace_back(index, sub_shape); in GetLeafShapes()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc304 ShapeUtil::ForEachSubshape(s, [&](const Shape& sub_shape, in GetIndexTypeForKernel()
306 if (sub_shape.IsArray() && !IsInt32(ShapeUtil::ElementsIn(sub_shape))) { in GetIndexTypeForKernel()