question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error handling for `config` variable in Tensor class

See original GitHub issue

🐞 Problem config variable denotes the contravariance-covariance of the tensor. It’s lenrth is supposed to be equal to that the order of the tensor.

🎯 Goal

  • Introduce this error handling into Tensor class in symbolic module
  • After fixing this, fix this example

💡 Possible solutions

  • config length should be equal to length of the tuple returned by arr.shape

📋 Steps to solve the problem

  • Comment below about what you’ve started working on.
  • Add, commit, push your changes
  • Submit a pull request.
  • Add this in the comments:
    • Addresses #<put issue number here> if you are partially fixing the issue.
    • Fixes #<put issue number here> if you are completely fixing the issue.
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
allardbraincommented, Apr 12, 2020

I submitted #491 for this. Just let me know if more work is required. Thanks.

0reactions
ritzvikcommented, Apr 12, 2020

Issue fixed with #491 and #490 . Thanks @allardbrain & @bibek22

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to Variables | TensorFlow Core
This guide covers how to create, update, and manage instances of tf.Variable in TensorFlow. Variables are created and tracked via the tf.Variable class....
Read more >
Error in defining the input for a class in tensorflow
I tried giving the input as input channel and output channel as tf.constant tensor. But the code shows error as input for the...
Read more >
"Error while reading resource variable softmax/kernel ... - GitHub
I had the same issue in tensorflow 1.13.1 which I have resolved by creating a reference to the session that is used for...
Read more >
Basic Tensor Functionality - Aesara - Read the Docs
This section explains the various ways in which a tensor variable can be ... aesara.tensor. scalar (name=None, dtype=config. ... class aesara.tensor.
Read more >
TensorFlow 1.15 documentation - Module: tf - DevDocs
class OpError : A generic error that is raised when TensorFlow execution fails. ... class VarLenFeature : Configuration for parsing a variable-length input ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found