Questions tagged [tensor]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

What does it mean by "lazy mean" here?

Consider the following paragraph, taken from 3.4: Named tensors of the textbook named Deep Learning with PyTorch by Eli Stevens, Luca Antiga, Thomas Viehmann, regarding the calculation of mean for RGB ...
0
votes
1answer
45 views
0
votes
1answer
69 views

What is the definition of a trace of a tensor?

Tensor is a multi-dimensional ordered collection of elements, which is used in deep learning to store and process data as well as intermediate steps. We are aware of the trace of a two-dimensional ...
2
votes
0answers
19 views

Do any practical deep learning algorithms deal with tensors containing non-real entries?

In deep learning, most of the applications are from text and images. Both text and images can be converted into a tensor of real numbers. Other than both mentioned above, there may be some other real-...
0
votes
1answer
28 views

Why using negative integers (as dimensions?) in tensor shapes rather than natural numbers?

Consider the following paragraph from A.1 MULTI-MNIST AND CLEVR of A IMPLEMENTATION DETAILS from the research paper titled ...
0
votes
0answers
34 views

Cost functions for reducing Tensors to 1-dimensional arrays?

I'm interested in the IT side, here, specifically how I most efficiently store a tensor in a one dimensional data structure. My assumption is that certain approaches will be more expensive than others,...
0
votes
2answers
45 views

How to visually or intuitively understand single element multi-dimensional tensors?

Consider the following code in PyTorch ...
1
vote
0answers
20 views

Which product operation should be used in affine transformation?

Affine transformation as I am aware can be expressed as either dot product followed by addition or a matrix multiplication followed by addition $$a.x+b$$ $$a^{T}x + b$$ where the first one is based on ...
0
votes
1answer
36 views

What are the (key) purposes of unsqueezing operation on tensors?

The unsqeeze operation is used in several deep learning algorithms. However, I only found this operation in the code/implementation of the algorithms presented in the papers, which do not mention it. ...
2
votes
1answer
100 views

Do researchers generally treat tensors just as mathematical objects with certain shape?

Most of the practical research in AI that includes neural networks deals with higher dimensional tensors. It is easy to imagine tensors up to three dimensions. When I ask the question How do ...
0
votes
2answers
149 views

What is meant by an axis of a tensor?

Tensor is an ordered collection of elements. The elements are generally real numbers. Tensors are used in deep learning for storing data. There is a wide usage of the word "axis" related to ...