Skip to content

Commit

Permalink
Fix stubtest errors in tensorflow with keras>=3.3.2 (#11817)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Apr 23, 2024
1 parent af88af1 commit c13f6e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/tensorflow/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ partial_stub = true

[tool.stubtest]
ignore_missing_stub = true
stubtest_requirements = ["keras>=3.3.2"]
1 change: 1 addition & 0 deletions stubs/tensorflow/tensorflow/keras/layers/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ class Embedding(Layer[tf.Tensor, tf.Tensor]):
embeddings_regularizer: _Regularizer = None,
embeddings_constraint: _Constraint = None,
mask_zero: bool = False,
weights=None,
lora_rank: int | None = None,
*,
input_length: int | None = None,
Expand Down

0 comments on commit c13f6e1

Please sign in to comment.