tensorflow :: ops :: SparseTensorDenseMatMul
#include <sparse_ops.h>
SparseTensor (랭크 2) "A"에 고밀도 행렬 "B"를 곱 합니다.
요약
A의 인덱스에 대해서는 유효성 검사가 수행되지 않습니다. 그러나 최적의 동작을 위해 다음 입력 형식이 권장됩니다.
adjoint_a == false 인 경우 : A는 사전 순으로 오름차순으로 정렬되어야합니다. 확실하지 않은 경우 SparseReorder를 사용하십시오. adjoint_a == true 인 경우 : A는 차원 1이 증가하는 순서로 정렬되어야합니다 (즉, "행 주"순서 대신 "열 주"순서).
인수 :
- 범위 : 범위 개체
- a_indices : 2-D.
SparseTensor
, 크기[nnz, 2]
행렬의indices
입니다. - a_values : 1-D.
SparseTensor
, 크기[nnz]
벡터의values
입니다. - a_shape : 1-D.
SparseTensor
의shape
, 크기[2]
Vector. - b : 2-D. 조밀 한 매트릭스.
선택적 속성 ( Attrs
참조) :
- adjoint_a : 행렬 곱셈에서 A의 adjoint를 사용합니다. A가 복소수이면 전치 (conj (A))입니다. 그렇지 않으면 transpose (A)입니다.
- adjoint_b : 행렬 곱셈에서 B의 adjoint를 사용합니다. B가 복소수이면 전치 (conj (B))입니다. 그렇지 않으면 transpose (B)입니다.
보고:
-
Output
: 제품 텐서.
생성자와 소멸자 | |
---|---|
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b) | |
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
product |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
AdjointA (bool x) | |
AdjointB (bool x) |
구조체 | |
---|---|
tensorflow :: ops :: SparseTensorDenseMatMul :: 속성 | SparseTensorDenseMatMul에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
생성물
::tensorflow::Output product
공공 기능
SparseTensorDenseMatMul
SparseTensorDenseMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
SparseTensorDenseMatMul
SparseTensorDenseMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
AdjointA
Attrs AdjointA( bool x )
AdjointB
Attrs AdjointB( bool x )