Learn Before
Concept

Tensor Initialization with Ones

In addition to zero-initialization, deep learning frameworks provide functions (typically named ones) to construct tensors where every element is initialized to 11. By supplying a shape tuple, a practitioner can instantiate a multidimensional array prepopulated entirely with 11s, which is a common requirement for various baseline computations and matrix operations.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L