Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxymnaumchyk committed Aug 30, 2024
1 parent 09351fc commit 9af7d5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/awkward/operations/ak_from_raggedtensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def from_raggedtensor(array):
"""
Args:
array: (`tensorflow.RaggedTensor`):
RaggedTensor to convert into an Awkward Array.
RaggedTensor to convert into an Awkward Array.
Converts a TensorFlow RaggedTensor into an Awkward Array.
Expand Down
4 changes: 2 additions & 2 deletions src/awkward/operations/ak_to_raggedtensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def to_raggedtensor(array):
"""
Args:
array: Array-like data. May be a high level #ak.Array,
or low-level #ak.contents.ListOffsetArray, #ak.contents.ListArray,
#ak.contents.RegularArray, #ak.contents.NumpyArray
or low-level #ak.contents.ListOffsetArray, #ak.contents.ListArray,
#ak.contents.RegularArray, #ak.contents.NumpyArray
Converts `array` (only ListOffsetArray, ListArray, RegularArray and NumpyArray data types supported)
into a ragged tensor, if possible.
Expand Down

0 comments on commit 9af7d5f

Please sign in to comment.