Commit Graph

35 Commits

Author SHA1 Message Date
Hoël Bagard
0f0e261b90 tensorflow: Add some tf.raw_ops members. (#11387)
https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/raw_ops.pyi
2024-02-16 19:06:56 -08:00
Hoël Bagard
55dd99a338 tensorflow Add tensorflow.summary module (#11358)
Partially derived from https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/summary.pyi
2024-02-16 06:05:54 -08:00
Hoël Bagard
684f541357 tensorflow: Add tensorflow.keras.callbacks module (#11332) 2024-02-05 05:19:04 -08:00
Hoël Bagard
3600c805eb tensorflow fix tensorflow.data.Dataset's zip (#11357) 2024-02-04 17:23:04 -08:00
Alex Waygood
c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Hoël Bagard
7a6a749449 tensorflow: bump version to 2.15 (#11352) 2024-02-03 07:28:25 -08:00
Hoël Bagard
587e75ff88 tensorflow: add tf.train.CheckpointOptions and other tf.train members. (#11327) 2024-02-01 07:33:13 -08:00
Hoël Bagard
284afde9cc tensorflow: Add some functions from the config module (#11325) 2024-01-31 07:59:45 -08:00
Hoël Bagard
67df2df466 tensorflow: Add (and rename) aliases (#11324) 2024-01-30 20:15:15 -08:00
Hoël Bagard
98ba275d5e tensorflow: add some tensorflow functions (#11326) 2024-01-30 19:57:25 -08:00
Hoël Bagard
68ae493297 tensorflow: add tensorflow.math.reduce_variance (#11328) 2024-01-30 19:55:24 -08:00
Hoël Bagard
0f524217d6 tensorflow: fix tensorflow.VariableSynchronization (#11330) 2024-01-30 10:46:59 -08:00
Hoël Bagard
4fa759f12a Add convert_to_tensor to tensorflow (#11292) 2024-01-25 16:48:54 -08:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00:00
Ali Hamdan
6748816d43 Enable ruff's isort rules on files generated using mypy-protobuf (#10939)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-10-28 07:27:45 -07:00
Jelle Zijlstra
f9f30cc0f2 Update mypy-protobuf (#10914)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-22 16:31:02 -07:00
Nikita Sobolev
2c1db00761 Consistently use Generic as the last base class (#10610) 2023-08-28 10:16:54 +02:00
Akuli
754473a30d Add a few more upstream_repository URLs (#10489) 2023-07-20 17:23:19 +02:00
Mehdi Drissi
7da4847b1a Tensorflow losses (#10264)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
2023-06-07 21:46:34 -07:00
Mehdi Drissi
510547ef3c Add core tensorflow.data stubs (#10122)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-22 08:00:27 -07:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Mehdi Drissi
11f5858f0b tensorflow: feature columns (#10052)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-04-27 05:08:51 -07:00
Mehdi Drissi
01972e0e51 tensorflow: Add legacy optimizers (#9997) 2023-04-26 15:15:41 -07:00
github-actions[bot]
66146b56b9 [stubsabot] Bump tensorflow to 2.12.* (#9926)
Release: https://pypi.org/pypi/tensorflow/2.12.0
Homepage: https://www.tensorflow.org/

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
2023-03-23 00:24:41 +00:00
Mehdi Drissi
1d15121f1d Tensorflow protobuf stubs (#9873)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-03-15 00:51:16 -07:00
Mehdi Drissi
a47dd76af8 Tensorflow keras layer (#9707)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
2023-03-09 06:36:53 -08:00
Alex Waygood
1d2ae2598b Fix some typos in comments (#9802) 2023-02-23 22:11:24 +00:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Mehdi Drissi
d755da86dd Tensorflow: Add more stubs (#9560)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-31 22:12:41 -08:00
Alex Waygood
a4e3cfefac Improve pre-commit config (#9563)
- Add a few more hooks. These are all very fast, and I've found them useful in other projects:
  - Autofixes:
    - `trailing-whitespace`: fixes trailing whitespace
    - `requirements-txt-fixer`: alphabetises items in `requirements.txt` files
    - `end-of-file-fixer`: makes sure every file ends with a single newline character
    - `mixed-line-ending`: Makes sure Windows users don't accidentally introduce CRLF line endings into a file that uses LF line endings
  - None-autofixes:
    - `check-yaml`: loads YAML files to validate syntax
    - `check-toml`: loads TOML files to validate syntax
    - `check-merge-conflict`: detects merge-conflict strings in files and blocks them from accidentally being committed
    - `check-case-conflict`: checks for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT; blocks them from being committed.
  - Change the bot schedule to quarterly, to reduce noisy PRs
  - Change the `black` language target-version to Python 3.10, synching the setting here with the changes that were made to our `pyproject.toml` file in #7538
2023-01-18 06:29:18 -08:00
Alex Waygood
2b9f200e7e Reenable flake8-pyi's Y011 and Y015 (#9551) 2023-01-16 22:52:40 +00:00
Mehdi Drissi
ebde125d70 Update tensorflow to 2.11 (#9543)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
2023-01-15 10:28:29 +00:00
Mehdi Drissi
ea0ae2155e Initial tensorflow stubs (#8974)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-14 20:59:29 +00:00