AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

Linear operations involve multiplication and addition without non-linear activations. In neural networks, linear layers (or dense layers) apply a weight matrix transformation to input vectors. While linear alone cannot model complex patterns, they are crucial components combined with non-linear activation functions to create universal approximators. Understanding linearity is key to grasping how information flows and transforms through network layers.

Summary

Describes operations or relationships where output is directly proportional to input, forming the basis of affine transformations in neural layers.

Key Concepts

Use Cases

Code Example

1
2
3
import torch.nn as nn
layer = nn.Linear(10, 5)
output = layer(input_tensor)