텐서 재형성

Tensor reshaping

다중선 대수학에서 텐서 재구성 d d}텐서 집합과 \d}텐서 집합 사이의 어떤 편향이다. 여기서 【 지수의 사용은 기준과 관련하여 좌표 표현에서 텐셔너를 전제로 한다.텐서의 좌표 표현은 다차원 배열로 간주될 수 있으며, 따라서 한 지수의 집합에서 다른 지수로의 편향은 배열 요소를 다른 형태의 배열로 재배열하는 것이다.이러한 재배열은 d 텐서의 벡터 공간과 순서 텐서 사이의 특정한 종류의 선형 지도를 구성한다.

정의

양의 정수 를) 지정하면[ 라는 표기법은 첫 번째 d 양의 정수 중{ ,, } \{의 집합을 가리킨다.

정수 d 대해 1\\인 각 정수 k {\displaystyle d에 대해Vk F 위에 n차원k 벡터 공간을 표시하도록 한다 그러면 벡터 공간 이형성(선형 맵)이 있다.

여기서 모든 순열이며, {\{S d 대칭 그룹이다.이러한 (및 다른) 벡터 공간 이소모르픽스를 통해 텐서(tensor)는 여러 가지 방식으로 해석될 수 있다 or d

좌표 표현

The first vector space isomorphism on the list above, , gives the coordinate representation of an abstract tensor. d{\ d 벡터 k{\v {^{k}}}}}}, v_n_}}}}:{k이 기준에 대한 텐서(tensor)의 표현은 형식을 가지고 있다.

서 계수 , 2 j }}은는) 의 요소입니다 의 좌표 표현은 다음과 같다.
where is the standard basis vector of . This can be regarded as a d-dimensional array whose elements are the coefficients .

벡터화

By means of a bijective map , a vector space isomorphism between and is constructed via the mapping where for every natural number such that , the vector denotes the jth standard basis vector of . In such a reshaping, the tensor is simply interpreted as a vect또는 F 이것을 벡터화라고 하며, 행렬의 벡터화와 유사하다.바이어스 의 표준 선택은 다음과 같다.

MatlabGNU 옥타브의 콜론 운영자가 고차 텐서를 벡터로 재구성하는 방식과 일치한다.일반적으로 의 벡터화는 벡터[- 1 (j) = d

일반 평탄화

For any permutation there is a canonical isomorphism between the two tensor products of vector spaces and . Parentheses are usually omitted from such products due to the natural isomorphism between and , but may물론 특정 요인 그룹을 강조하기 위해 다시 도입해야 한다.그룹화에서

j-1}} 그룹에 r j- r - }-{}:{j-1}:{j-1 가 있는 = }}}.

Letting for each satisfying , an -flattening of a tensor , denoted , is obtained by applying the two processes above within each of the groups of factors.That is, the coordinate representation of the group of factors is obtained using the isomorphism , which requires specifying bases for all of the vector spaces .The result is then vectorized using a bijection to obtain an element of , where , the product of the dimensions of the vector spaces in the group of factors.The result of applying these isomorphisms within each group of factors is an element of , which is a tensor of order .

The vectorization of is an -reshaping, wherein .

모체화

n F d {\ {\}\ FF^{F^{d}}}}}}을(를) 기준으로 추상 시제의 좌표가 되도록 한다.A standard factor-k flattening of is an -reshaping in which and . Usually, a standard평탄화는 에 의해 표시된다.

이러한 재구성은 문헌상으로는 때때로 성숙 또는 전개라고 불린다.바이어스 1, 2 }에 대한 표준 선택은 Matlab 및 GNU 옥타브의 재형성 기능과 일치하는 선택이다.