Home
last modified time | relevance | path

Searched refs:GetLeafCount (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc205 return ShapeUtil::IsEmptyTuple(shape) ? 1 : ShapeUtil::GetLeafCount(shape); in RequiredLeaves()
454 ShapeUtil::GetLeafCount(ShapeUtil::GetSubshape(*sub_shape, {i})); in GetSubSharding()
461 begin_it, begin_it + ShapeUtil::GetLeafCount(*sub_shape)); in GetSubSharding()
Dhlo_sharding_metadata.cc238 ShapeUtil::GetLeafCount(instruction->shape()) == in ApplyShardingFromUsers()
Dhlo_instructions.h872 CHECK_EQ(ShapeUtil::GetLeafCount(shape()), in set_parameter_replicated_at_leaf_buffers()
Dhlo_parser.cc1726 int leaf_count = ShapeUtil::GetLeafCount(instruction->shape()); in ParseInstructionRhs()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc822 /* static */ int64 ShapeUtil::GetLeafCount(const Shape& shape) { in GetLeafCount() function in xla::ShapeUtil
828 count += GetLeafCount(subshape); in GetLeafCount()
Dshape_util.h502 static int64 GetLeafCount(const Shape& shape);