Searched refs:dense_shape_size (Results 1 – 1 of 1) sorted by relevance
721 int64 dense_shape_size = 1; in ValidateShapeSize() local723 return dense_shape_size; in ValidateShapeSize()729 dense_shape_size = MultiplyWithoutOverflow(dense_shape_size, dim); in ValidateShapeSize()730 if (dense_shape_size < 0) { in ValidateShapeSize()731 return dense_shape_size; in ValidateShapeSize()734 dense_shape_size = MultiplyWithoutOverflow( in ValidateShapeSize()735 dense_shape_size, ByteSizeOfPrimitiveType(shape.element_type())); in ValidateShapeSize()736 return dense_shape_size; in ValidateShapeSize()