docs
docs copied to clipboard
TensorFlow documentation
This PR adds a small clarity improvement to the README to help new contributors better understand the purpose of the TensorFlow documentation repository. - Improved phrasing for readability - Added...
Fix: Update custom layer example to use self.add_weight() Problem: The previous MyDense layer created weights with tf.Variable in __init__. These weights were not automatically registered, so layer.variables and layer.trainable_variables were...
This PR fixes a small issue in the MyDense layer example in intro_to_modules.ipynb. The original code used a plain Python list as input: simple_layer([[2.0, 2.0, 2.0]]) This caused an error...
This PR fixes the incorrect dataset path in the Cats vs Dogs transfer learning tutorial. Previously the tutorial used: PATH = os.path.join(os.path.dirname(path_to_zip), 'cats_and_dogs_filtered') which caused a NotFoundError in Colab /...
### Problem In `frames_from_video_file` (inside `site/en/tutorials/load_data/video.ipynb`), the code fails when running: ```python sample_video = frames_from_video_file(video_path, n_frames=10) sample_video.shape ``` with the following error: ``` TypeError: 'float' object cannot be interpreted as...
A lot of Gemini models are native image out or native audio, so this rule was raising too many false positives.
Fixes [tensorflow/tensorflow#97599] (https://github.com/tensorflow/tensorflow/issues/97599). Replaced tf.Variable(...) with add_weight(...) in the custom model to avoid training warning and ensure proper Keras weight tracking.
This is a practice pull request created by Ajay Goud for learning open source contribution and preparing for GSoC 2026. Made a non-impacting comment edit in the documentation.