Documentation for RaggedTensors does not match Input layer documentation #65399
Labels
comp:keras
Keras related issues
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
type:docs-bug
Document issues
type:feature
Feature requests
Issue type
Documentation Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.16.1
Custom code
No
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Documentation of RaggedTensors in section TensorFlow APIs > Keras claim the following, and provides an example where argument
ragged=True
is passed to the constructor of atf.keras.Input
object:However,
ragged
is neither an argument oftf.keras.Input
,tf.keras.layers.InputLayer
, nor any of their parent classes. Their respective documentation does not mention it. Trying to execute the example provided with either TF v. 2.16.1 ir nightly (see the MWE) raises aTypeError
stating thatragged
is an unexpected keyword forInput
.It is puzzling as several sources on this internet as well as issues of this very repository mention it. As a consequence, it seems that ragged tensors cannot be used within TF at the moment.
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: