All models

sb_VanillaNN

SpeechBrain's plain feed-forward network: two linear blocks of 512 units applied to every input frame.

Audio and speech · 4 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (7 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
293.9K
Operations
4
Framework
PyTorch
Recurrent
No
Published
2018
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m9065
Graph hash
1846630a757cde2f7d5c0fa3be94f4bd2eb9a12c2c4202e67bbeadf2ba33bd8f
Skeleton hash
ce40d9e8327c582ab4466a70395a5bf6978842cff3bdb3444350a90468ff6181
Architecture hash
04dcf8c4a312ba2fc1befcaf047053bb130cd862b08463a14cbfaf995b578a81
Diagram SHA-256
220f0362b159966e5051e9798e7779f3036ed6c7b4080e5922c03e3fe168a198
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

speechbrain.lobes.models.VanillaNN.VanillaNN(input_shape=[10, 120, 60], dnn_blocks=2, dnn_neurons=512)

What it is

VanillaNN is the plainest network in SpeechBrain: a stack of fully connected layers written as a vanilla neural network for simple tests, not as the subject of any paper. The library describes the class as a simple vanilla deep neural network.

Four arguments define it: the expected shape of the input tensors, an activation class, the number of linear blocks and the width of each. The activation is passed as a torch class that is used for constructing the activation layers. Two integers set its size: the number of linear neural blocks to include, and the number of neurons in the linear layers. The module is credited to Elena Rastorgueva, 2020.

Key idea. VanillaNN stacks a configurable number of linear blocks and activation layers into a simple vanilla deep neural network used for SpeechBrain tests.

  • vanillann
  • vanilla dnn
  • vanilla neural network
  • speechbrain
  • feed-forward network
  • deep neural network
  • dnn
  • mlp
  • linear blocks

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.