-
Notifications
You must be signed in to change notification settings - Fork 74.8k
Fix: Remove dangling reference to ExperimentalTFLiteToTosaBytecode #97508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This commit addresses the NameError encountered when calling . The underlying C++ symbol was removed in TensorFlow 2.19, but the Python helper remained, leading to a dangling reference. This change replaces the function definition with a to provide clearer feedback to users that the function is no longer available. Fixes: #88053
This commit removes the trailing blank lines in that were causing a syntax error in the CI/CD pipeline. This is a follow-up to the previous commit that removed the function. Fixes: #88053
ordered_input_arrays, | ||
ordered_output_arrays, | ||
) | ||
return ExperimentalWriteBytecode(filename.encode('utf-8'), mlir_txt.encode()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should not change. Please configure your editor to insert a newline at the end.
return ExperimentalWriteBytecode(filename.encode('utf-8'), mlir_txt.encode()) | |
return ExperimentalWriteBytecode(filename.encode('utf-8'), mlir_txt.encode()) | |
return ExperimentalWriteBytecode(filename.encode('utf-8'), mlir_txt.encode()) | ||
|
||
|
||
def experimental_tflite_to_tosa_bytecode( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also check where this function is being called and remove that too.
Hi, Team
This addresses the NameError encountered when calling ExperimentalTFLiteToTosaBytecode(). The underlying C++ symbol was removed in TensorFlow 2.19 but the Python helper remained leading to a dangling reference. Merged PR #83174 This change replaces the function definition with a to provide clearer feedback to users that the function is no longer available.
Fixes: #88053