chore: import upstream snapshot with attribution
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s

This commit is contained in:
wehub-resource-sync
2026-07-13 12:14:16 +08:00
commit 8a852e4b4e
36502 changed files with 9277225 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Copyright 2025 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
blank_issues_enabled: false
@@ -0,0 +1,141 @@
# Copyright 2026 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
name: TensorFlow Issue Template
description: Use this template to report TensorFlow-related issues
body:
- type: dropdown
id: issue-type
attributes:
label: Issue type
description: What type of issue would you like to report?
multiple: false
options:
- Bug
- Build/Install
- Performance
- Support
- Feature Request
- Documentation Feature Request
- Documentation Bug
- Others
validations:
required: true
- type: markdown
attributes:
value: |
Please make sure that this is a bug. As per our [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md), we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub.
- type: dropdown
id: tf-nightly
attributes:
label: Have you reproduced the bug with TensorFlow Nightly?
description: It is strongly suggested that you reproduce the bug with [TensorFlow Nightly](https://www.tensorflow.org/install/pip#nightly)
options:
- "Yes"
- "No"
validations:
required: true
- type: markdown
attributes:
value: |
You can collect some of this information using our [environment capture script](https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh). You can also obtain the TensorFlow version with the following: <br> 1. TensorFlow 1.0: `python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"` <br>2. TensorFlow 2.0: `python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"`
- type: dropdown
id: source
attributes:
label: Source
description: TensorFlow installed from
options:
- source
- binary
validations:
required: true
- type: input
id: tfversion
attributes:
label: TensorFlow version
placeholder: e.g., tf 2.8
validations:
required: true
- type: dropdown
id: Code
attributes:
label: Custom code
options:
- "Yes"
- "No"
validations:
required: true
- type: input
id: OS
attributes:
label: OS platform and distribution
placeholder: e.g., Linux Ubuntu 16.04
- type: input
id: Mobile
attributes:
label: Mobile device
placeholder: e.g., Linux Ubuntu 16.04
- type: input
id: Python
attributes:
label: Python version
placeholder: e.g., 3.9
- type: input
id: Bazel
attributes:
label: Bazel version
description: If compiling from source
- type: input
id: Compiler
attributes:
label: GCC/compiler version
description: If compiling from source
- type: input
id: Cuda
attributes:
label: CUDA/cuDNN version
- type: input
id: Gpu
attributes:
label: GPU model and memory
description: If compiling from source
- type: textarea
id: what-happened
attributes:
label: Current behavior?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: code-to-reproduce
attributes:
label: Standalone code to reproduce the issue
description: Provide a reproducible test case that is the bare minimum necessary to generate the problem. Please share a link to Colab, Jupyter, or any notebook.
placeholder: Tell us what you see!
value:
render: shell
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
@@ -0,0 +1,47 @@
---
name: TensorFlow Lite Converter Issue
about: Use this template for reporting issues during model conversion to TFLite
labels: 'TFLiteConverter'
---
### 1. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installation (pip package or built from source):
- TensorFlow library (version, if pip package or github SHA, if built from source):
### 2. Code
Provide code to help us reproduce your issues using one of the following options:
#### Option A: Reference colab notebooks
1) Reference [TensorFlow Model Colab](https://colab.research.google.com/gist/ymodak/e96a4270b953201d5362c61c1e8b78aa/tensorflow-datasets.ipynb?authuser=1): Demonstrate how to build your TF model.
2) Reference [TensorFlow Lite Model Colab](https://colab.research.google.com/gist/ymodak/0dfeb28255e189c5c48d9093f296e9a8/tensorflow-lite-debugger-colab.ipynb): Demonstrate how to convert your TF model to a TF Lite model (with quantization, if used) and run TFLite Inference (if possible).
```
(You can paste links or attach files by dragging & dropping them below)
- Provide links to your updated versions of the above two colab notebooks.
- Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
```
#### Option B: Paste your code here or provide a link to a custom end-to-end colab
```
(You can paste links or attach files by dragging & dropping them below)
- Include code to invoke the TFLite Converter Python API and the errors.
- Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
```
### 3. Failure after conversion
If the conversion is successful, but the generated model is wrong, then state what is wrong:
- Model produces wrong results and/or has lesser accuracy.
- Model produces correct results, but it is slower than expected.
### 4. (optional) RNN conversion support
If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
### 5. (optional) Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
@@ -0,0 +1,23 @@
---
name: TensorFlow Lite in Play Services issue
about: Use this template for issues with TensorFlow Lite in Google Play Services
labels: 'comp:lite-in-play-services'
---
**System information**
- Android Device information (use `adb shell getprop ro.build.fingerprint`
if possible):
- TensorFlow Lite in Play Services SDK version (found in `build.gradle`):
- Google Play Services version
(`Settings` > `Apps` > `Google Play Services` > `App details`):
**Standalone code to reproduce the issue**
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to or attach code demonstrating
the problem.
**Any other info / logs**
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached.
@@ -0,0 +1,30 @@
---
name: TensorFlow Lite Op Request
about: Use this template for reporting Lite ops you are using or missing
labels: 'comp:lite'
---
**System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installed from (source or binary):
- TensorFlow version (or github SHA if from source):
**Provide the text output from tflite_convert**
```
# Copy and paste here
```
**Standalone code to reproduce the issue**
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Also, please include a link to a GraphDef or the model if possible.
**Any other info / logs**
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached.
+62
View File
@@ -0,0 +1,62 @@
name: TensorFlow Lite Other Issue description: Use this template to report any
issue in TensorFlow Lite that is not about Converters, Play Services or Ops
body: - type: dropdown id: issue-type attributes: label: Issue Type description:
What type of issue would you like to report? multiple: false options: - Bug -
Build/Install - Performance - Support - Feature Request - Documentation Feature
Request - Documentation Bug - Others validations: required: true - type:
markdown attributes: value: | Please make sure that this is a bug. As per our
[GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),we
only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub.
- type: markdown
attributes:
value: |
You can collect some of this information using our environment capture [script](https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh) You can also obtain the TensorFlow version with: <br> 1. TF 1.0: `python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"` <br>2. TF 2.0: `python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"`
- type: dropdown id: source attributes: label: Source description: Tensorflow
installed from options: - source - binary validations: required: true
- type: input id: tfversion attributes: label: Tensorflow Version description:
placeholder: ex,. tf 2.8 validations: required: true
- type: dropdown id: Code attributes: label: Custom Code description:
options: - "Yes" - "No" validations: required: true
- type: input id: OS attributes: label: OS Platform and Distribution
description: placeholder: e.g., Linux Ubuntu 16.04 validations: required:
false
- type: input id: Mobile attributes: label: Mobile device description:
placeholder: e.g., Linux Ubuntu 16.04 validations: required: false
- type: input id: Python attributes: label: Python version description:
placeholder: e.g., 3.9 validations: required: false
- type: input id: Bazel attributes: label: Bazel version description: if
compiling from source placeholder: validations: required: false
- type: input id: Compiler attributes: label: GCC/Compiler version
description: if compiling from source placeholder: validations: required:
false
- type: input id: Cuda attributes: label: CUDA/cuDNN version description:
placeholder: validations: required: false
- type: input id: Gpu attributes: label: GPU model and memory description: if
compiling from source placeholder: validations: required: false
- type: textarea id: what-happened attributes: label: Current Behaviour?
description: Also tell us, what did you expect to happen? placeholder: Tell
us what you see! value: "A bug happened!" render: shell validations:
required: true
- type: textarea id: code-to-reproduce attributes: label: Standalone code to
reproduce the issue description: Provide a reproducible test case that is
the bare minimum necessary to generate the problem. If possible, please
share a link to Colab/Jupyter/any notebook. placeholder: Tell us what you
see! value: render: shell validations: required: true
- type: textarea id: logs attributes: label: Relevant log output description:
Please copy and paste any relevant log output. This will be automatically
formatted into code, so no need for backticks. render: shell