Home | History | Annotate | Download | only in ragged

Lines Matching refs:max_depth

174   scalar_depth, max_depth = _find_scalar_and_max_depth(pylist)
176 if max_depth > scalar_depth:
185 (scalar_depth is None and expected_depth < max_depth)):
193 ((max_depth < 2) or
194 (inner_shape is not None and max_depth - len(inner_shape) < 2)))):
207 ragged_rank = max(1, max_depth - 1)
237 A tuple `(scalar_depth, max_depth)`. `scalar_depth` is the nesting
239 scalars. `max_depth` is the maximum depth of `pylist` (including
247 max_depth = 1
254 max_depth = max(max_depth, child_max_depth + 1)
255 return (scalar_depth, max_depth)