parameters: (self, truncate_first)
return_statement: return result
docstring: Returns the lengths of the inner shape (if rank known), or [...].
docstring_summary: Returns the lengths of the inner shape (if rank known), or [...].
docstring_tokens: Returns the lengths of the inner shape ( if rank known ) or [ ... ] .
function: def _static_inner_shape_as_list(self, truncate_first):
      """Returns the lengths of the inner shape (if rank known), or [...]."""
      if self._static_inner_shape.rank is None:
        return [...]
      result = self._static_inner_shape.as_list()
      if truncate_first:
        return result[1:]
      return result
function_tokens: def _static_inner_shape_as_list ( self , truncate_first ) : if self . _static_inner_shape . rank is None : return [ ... ] result = self . _static_inner_shape . as_list ( ) if truncate_first : return result [ 1 : ] return result