Skip to content
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

tensorflow/core/framework/tensor_shape.cc:356] Check failed: d >= 0 (0 vs. -1) #8

Open
liujqian opened this issue Dec 10, 2024 · 0 comments

Comments

@liujqian
Copy link

liujqian commented Dec 10, 2024

 def get_problem():
    """Specifies a problem to run TF-Coder on. Edit this function!"""
    # A dict mapping input variable names to input tensors.
    inputs = {
        'rows': [1, 2, 3],
    }
    # The corresponding output tensor.
    output = [0, 100, 200]
    # A list of relevant scalar constants, if any.
    constants = [10, 1]
    # An English description of the tensor manipulation.
    description = 'subtract one and multiply by one hundred'
    return inputs, output, constants, description

This problem will break and cause the Python environment to shut down:
2024-12-10 09:23:12.332684: F tensorflow/core/framework/tensor_shape.cc:356] Check failed: d >= 0 (0 vs. -1) Fatal Python error: Aborted
Is this some kind of compatibility issue? If so, which version of TensorFlow should be used?

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

No branches or pull requests

1 participant