Extracting and visualizing hidden activations and computational graphs of PyTorch models with TorchLens

JohnMark Taylor1, Nikolaus Kriegeskorte2

  • 1Zuckerman Mind Brain Behavior Institute, Columbia University, 3227 Broadway, New York, NY, 10027, USA. johnmarkedwardtaylor@gmail.com.

Scientific Reports
|September 1, 2023
PubMed
Summary

TorchLens is a new Python package that extracts and characterizes hidden-layer activations from deep neural network models (DNNs) in PyTorch. This tool offers a comprehensive analysis of DNN computations, aiding research in AI and neuroscience.