TF Exam Snippets — VS Code Extension
One-click access to all 8 TensorFlow practical exam programs.
How to Install (No npm needed!)
Method 1 — Install from folder (easiest)
- Download and unzip the
tf-exam-snippets folder
- Open VS Code
- Press
Ctrl+Shift+P → type "Install from VSIX" — wait, use method below instead
Correct Method — Developer Install
- Copy the
tf-exam-snippets folder to:
- Windows:
C:\Users\YOUR_NAME\.vscode\extensions\tf-exam-snippets
- Mac/Linux:
~/.vscode/extensions/tf-exam-snippets
- Restart VS Code completely
- Done!
How to Use
| Action |
How |
| Open panel |
Press Ctrl+Shift+T |
| Or via menu |
Click the 🧪 beaker icon in the editor toolbar |
| Or command |
Ctrl+Shift+P → "TF Exam: Open Snippet Panel" |
Features
- All 8 programs ready to load
- Search by keyword (e.g. "CNN", "sales", "sentiment")
- Filter by Module 1 / Module 2 / CNN / RNN / NLP
- Load in New File — opens code in a fresh Python file
- Insert at Cursor — pastes code at your cursor position
- Copy — copies to clipboard (for Colab)
Programs Included
Module 1
- Fashion MNIST — image classification
- Text Processing & Analysis
- TensorFlow Installation & Verification
Module 2
- CIFAR-10 CNN multiclass classification
- Text Generation using RNN (LSTM)
- Sentiment Analysis — IMDB dataset
- Time-Series Prediction — daily temperature
- Sales Forecasting — daily retail data
| |