parameters: (x: ragged_tensor.RaggedTensor,
                       out_type=dtypes.int32)
return_statement: return ragged_shape.RaggedShape.from_tensor(x, dtype=out_type)
docstring: Returns a RaggedShape for a ragged tensor.
docstring_summary: Returns a RaggedShape for a ragged tensor.
docstring_tokens: Returns a RaggedShape for a ragged tensor .
function: def get_ragged_shape(x: ragged_tensor.RaggedTensor,
                       out_type=dtypes.int32) -> ragged_shape.RaggedShape:
    """Returns a RaggedShape for a ragged tensor."""
    return ragged_shape.RaggedShape.from_tensor(x, dtype=out_type)
function_tokens: def get_ragged_shape ( x : ragged_tensor . RaggedTensor , out_type = dtypes . int32 ) -> ragged_shape . RaggedShape : return ragged_shape . RaggedShape . from_tensor ( x , dtype = out_type )