Learn Before
Analysis of Rotational Transformation Properties
An AI developer is implementing a positional embedding layer. They need to apply a 2D rotation to vector components, but it is critical that the transformation does not change the vector's length (magnitude), as this would distort the information encoded in the embedding. They are considering two potential transformation functions for a vector and an angle :
- Function A:
- Function B:
Analyze both functions. Which function should the developer choose to ensure the vector's magnitude is preserved after the transformation? Justify your answer by explaining why the chosen function works and the other one fails.
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A two-dimensional vector is represented as
x = [3, 4]. Calculate the resulting vector after applying a rotational transformation with an angleθ = 90°(π/2 radians).Consider the transformation applied to a two-dimensional vector by an angle , resulting in a new vector . This transformation will always alter the magnitude (or length) of the original vector .
Analysis of Rotational Transformation Properties