{
  "id": 307838,
  "title": "Introducing TensorSensor ",
  "url": "/competitions/happy-whale-and-dolphin/discussion/307838",
  "author_name": "Faisal Alsrheed",
  "post_date": "2022-02-15T20:54:35.324000",
  "votes": 5,
  "comment_count": 0,
  "views": 0,
  "content": "<h4>What is the goal of TensorSensor?</h4>\n<p>\"The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.\"</p>\n<h4>What is TensorSensor?</h4>\n<p>\"TensorSensor clarifies exceptions by augmenting messages and visualizing Python code to indicate the shape of tensor variables. </p>\n<p>It works with Tensorflow, PyTorch, JAX, and Numpy, as well as higher-level libraries like Keras and fastai. </p>\n<p>Besides trapping exceptions, TensorSensor can provide visualizations of code that executes without exception. </p>\n<p>You can also see the complete expression tree computation and the shapes of self-expression partial results.\"</p>\n<p><img src=\"https://i.postimg.cc/CKPHxKVW/FGgma-I-UYAMGVNV.jpg\" alt=\"\"><br>\n<img src=\"https://i.postimg.cc/1z5rSqbG/FGgoi-X4-VUAINe-IO.png\" alt=\"\"><br>\n<img src=\"https://i.postimg.cc/9QBYspgX/9a2c0300-3555-11eb-9203-f58ca6288266.png\" alt=\"\"></p>\n<h4>Github</h4>\n<p><a href=\"https://github.com/parrt/tensor-sensor\" target=\"_blank\">https://github.com/parrt/tensor-sensor</a><br>\n<img src=\"https://i.postimg.cc/05fmkQdZ/FGgma-I-UYAMGVNV.jpg\" alt=\"\"></p>\n<h4>Is it working on Kaggle notebook?</h4>\n<p><strong>Yes</strong><br>\n<a href=\"https://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook\" target=\"_blank\">https://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook</a></p>\n<p>I hope it is useful for anyone and sorry I can't stop posting off-topic posts :)</p>",
  "messages": [
    {
      "id": 1692120,
      "postDate": "2022-02-15T20:54:35.323Z",
      "content": "<h4>What is the goal of TensorSensor?</h4>\n<p>\"The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.\"</p>\n<h4>What is TensorSensor?</h4>\n<p>\"TensorSensor clarifies exceptions by augmenting messages and visualizing Python code to indicate the shape of tensor variables. </p>\n<p>It works with Tensorflow, PyTorch, JAX, and Numpy, as well as higher-level libraries like Keras and fastai. </p>\n<p>Besides trapping exceptions, TensorSensor can provide visualizations of code that executes without exception. </p>\n<p>You can also see the complete expression tree computation and the shapes of self-expression partial results.\"</p>\n<p><img src=\"https://i.postimg.cc/CKPHxKVW/FGgma-I-UYAMGVNV.jpg\" alt=\"\"><br>\n<img src=\"https://i.postimg.cc/1z5rSqbG/FGgoi-X4-VUAINe-IO.png\" alt=\"\"><br>\n<img src=\"https://i.postimg.cc/9QBYspgX/9a2c0300-3555-11eb-9203-f58ca6288266.png\" alt=\"\"></p>\n<h4>Github</h4>\n<p><a href=\"https://github.com/parrt/tensor-sensor\" target=\"_blank\">https://github.com/parrt/tensor-sensor</a><br>\n<img src=\"https://i.postimg.cc/05fmkQdZ/FGgma-I-UYAMGVNV.jpg\" alt=\"\"></p>\n<h4>Is it working on Kaggle notebook?</h4>\n<p><strong>Yes</strong><br>\n<a href=\"https://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook\" target=\"_blank\">https://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook</a></p>\n<p>I hope it is useful for anyone and sorry I can't stop posting off-topic posts :)</p>",
      "rawMarkdown": "#### What is the goal of TensorSensor?\n\n\"The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.\"\n\n\n#### What is TensorSensor?\n\n\"TensorSensor clarifies exceptions by augmenting messages and visualizing Python code to indicate the shape of tensor variables. \n\nIt works with Tensorflow, PyTorch, JAX, and Numpy, as well as higher-level libraries like Keras and fastai. \n\nBesides trapping exceptions, TensorSensor can provide visualizations of code that executes without exception. \n\nYou can also see the complete expression tree computation and the shapes of self-expression partial results.\"\n\n\n\n\n\n![](https://i.postimg.cc/CKPHxKVW/FGgma-I-UYAMGVNV.jpg)\n![](https://i.postimg.cc/1z5rSqbG/FGgoi-X4-VUAINe-IO.png)\n![](https://i.postimg.cc/9QBYspgX/9a2c0300-3555-11eb-9203-f58ca6288266.png)\n\n#### Github\nhttps://github.com/parrt/tensor-sensor\n![](https://i.postimg.cc/05fmkQdZ/FGgma-I-UYAMGVNV.jpg)\n\n\n\n\n\n\n#### Is it working on Kaggle notebook? \n**Yes**\nhttps://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook\n\nI hope it is useful for anyone and sorry I can't stop posting off-topic posts :)",
      "votes": 5
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1692120": "#### What is the goal of TensorSensor?\n\n\"The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.\"\n\n\n#### What is TensorSensor?\n\n\"TensorSensor clarifies exceptions by augmenting messages and visualizing Python code to indicate the shape of tensor variables. \n\nIt works with Tensorflow, PyTorch, JAX, and Numpy, as well as higher-level libraries like Keras and fastai. \n\nBesides trapping exceptions, TensorSensor can provide visualizations of code that executes without exception. \n\nYou can also see the complete expression tree computation and the shapes of self-expression partial results.\"\n\n\n\n\n\n![](https://i.postimg.cc/CKPHxKVW/FGgma-I-UYAMGVNV.jpg)\n![](https://i.postimg.cc/1z5rSqbG/FGgoi-X4-VUAINe-IO.png)\n![](https://i.postimg.cc/9QBYspgX/9a2c0300-3555-11eb-9203-f58ca6288266.png)\n\n#### Github\nhttps://github.com/parrt/tensor-sensor\n![](https://i.postimg.cc/05fmkQdZ/FGgma-I-UYAMGVNV.jpg)\n\n\n\n\n\n\n#### Is it working on Kaggle notebook? \n**Yes**\nhttps://www.kaggle.com/faisalalsrheed/tensorsensor-on-kaggle-notebook\n\nI hope it is useful for anyone and sorry I can't stop posting off-topic posts :)"
  }
}