Skip to content

Conversation

@hoel-bagard
Copy link
Contributor

This PR adds some functions and classes to the TensorFlow stubs (maybe most notably tensorflow.keras.models.Model).

This PR is stacked on top of #11292.

@github-actions

This comment has been minimized.

@hoel-bagard hoel-bagard marked this pull request as draft January 24, 2024 13:36
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

6 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@hmc-cs-mdrissi
Copy link
Contributor

Ping me when you think this is ready for a review pass. Mainly cross reference it with stubs I shared as those tend to have broader types.

hoel-bagard and others added 25 commits January 27, 2024 17:13
…enerator, evaluate_generator and predict_generator
This is not written in t he doc, but is used by jax
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

jax (https://github.com/google/jax)
+ jax/experimental/jax2tf/jax2tf.py:2912: error: Incompatible types in assignment (expression has type "Tensor", variable has type "tuple[Any, ...]")  [assignment]
+ jax/experimental/jax2tf/jax2tf.py:2933: error: Incompatible types in assignment (expression has type "Tensor", variable has type "tuple[Any, ...]")  [assignment]
+ jax/experimental/jax2tf/impl_no_xla.py:915: error: Argument 2 to "_clip" has incompatible type "Tensor"; expected "Sequence[Any]"  [arg-type]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants