텐서플로우:: 작전:: 반전순열
#include <array_ops.h>텐서의 역순열을 계산합니다.
요약
 이 연산은 인덱스 순열의 역을 계산합니다. 0부터 시작하는 배열의 인덱스를 나타내는 1차원 정수 텐서 x 사용하고 각 값을 해당 인덱스 위치로 바꿉니다. 즉, 출력 텐서 y 및 입력 텐서 x 에 대해 이 연산은 다음을 계산합니다.
 y[x[i]] = i for i in [0, 1, ..., len(x) - 1]
값에는 0이 포함되어야 합니다. 중복된 값이나 음수 값이 있을 수 없습니다.
예를 들어:
# tensor `x` is [3, 4, 0, 2, 1] invert_permutation(x) ==> [2, 4, 3, 0, 1]
인수:
- 범위: 범위 개체
- x: 1차원.
보고:
-  Output: 1-D.
| 생성자와 소멸자 | |
|---|---|
| InvertPermutation (const :: tensorflow::Scope & scope, :: tensorflow::Input x) | 
| 공개 속성 | |
|---|---|
| operation | |
| y | |
| 공공 기능 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
공개 속성
작업
Operation operation
와이
::tensorflow::Output y
공공 기능
반전순열
InvertPermutation( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const