Multiple Choice

A transformation is applied to a d-dimensional vector x\mathbf{x} at position tt using a set of frequencies θ\theta. The transformation is defined by the following element-wise formula: Trans(x,tθ)=(x1x2xd1xd)(costθ1costθ1costθd/2costθd/2)+(x2x1xdxd1)(sintθ1sintθ1sintθd/2sintθd/2)\mathrm{Trans}(\mathbf{x}, t\theta) = \begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_{d-1} \\ x_d \end{pmatrix} \odot \begin{pmatrix} \cos t\theta_1 \\ \cos t\theta_1 \\ \vdots \\ \cos t\theta_{d/2} \\ \cos t\theta_{d/2} \end{pmatrix} + \begin{pmatrix} -x_2 \\ x_1 \\ \vdots \\ -x_d \\ x_{d-1} \end{pmatrix} \odot \begin{pmatrix} \sin t\theta_1 \\ \sin t\theta_1 \\ \vdots \\ \sin t\theta_{d/2} \\ \sin t\theta_{d/2} \end{pmatrix} where \odot denotes element-wise multiplication.

Given the input vector x=[1,2,3,4]\mathbf{x} = [1, 2, 3, 4], position t=1t=1, and frequencies θ1=π/2\theta_1 = \pi/2, θ2=π\theta_2 = \pi, what is the resulting vector Trans(x,tθ)\mathrm{Trans}(\mathbf{x}, t\theta)?

0

1

Updated 2025-09-28

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

Related