Ben Chuanlong Du's Blog

It is never too late to learn.

Tree-Based Data Structures

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

BST vs AVL Tree vs Red-black Tree

  1. BST is not necessarily balanced and has a worst lookup time of O(n).
  2. AVL tree is strictly balanced BST.
  3. Red-black is between BST …

Hardware for AI

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

TVM for deep learning is kind of like LLVM for programming languages.

Nvidia TensorRT

Embedded/Edge AI

Jetson Nano

Google Coral

Intel Neural Compute Stick 2

https://heartbeat.fritz.ai/edge-tpu-google-coral-usb-accelerator-cf0d79c7ec56 …

Get Location of Max Value in a Pandas Series

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

idxmax Return the row label of the maximum value.

argmax: Return int position of the largest value in the Series.

Tips on GPU Computing

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

List GPU Devices on Linux

You can list GPU devices using the following command on linux.

lspci -v | grep VGA

Machine Learning Frameworks Supporting Managing GPU Resources