parameters: (list_of_lists)
docstring: Returns the inferred dense dimensions of a list of lists.
docstring_summary: Returns the inferred dense dimensions of a list of lists.
docstring_tokens: Returns the inferred dense dimensions of a list of lists .
function: def _GetDenseDimensions(list_of_lists):
    """Returns the inferred dense dimensions of a list of lists."""
    if not isinstance(list_of_lists, (list, tuple)):
      return []
    elif not list_of_lists:
      return [0]
    else:
      return [len(list_of_lists)] + _GetDenseDimensions(list_of_lists[0])
function_tokens: def _GetDenseDimensions ( list_of_lists ) : if not isinstance ( list_of_lists , ( list , tuple ) ) : return [ ] elif not list_of_lists : return [ 0 ] else : return [ len ( list_of_lists ) ] + _GetDenseDimensions ( list_of_lists [ 0 ] )