← AI glossary

Tensor

A multi-dimensional table of numbers — all AI data and parameters are stored as tensors.

A single number is a scalar, a list is a vector, a table is a matrix, and a table with more dimensions is a tensor. A colour image is a height × width × 3 tensor.

GPU “Tensor Cores” are built specifically to multiply tensors fast — the main reason AI runs quickly on GPUs.

Example

A batch of 32 colour images of 224×224 is a tensor of shape [32, 3, 224, 224].

বাংলায়: টেনসর — সংখ্যার বহুমাত্রিক টেবিল — AI-এর সব ডেটা আর প্যারামিটার টেনসর আকারে থাকে।

Try it on a real AI Computer

JupyterLab opens in about a minute. Pay in taka with bKash, billed by the minute — stop whenever you like.