tensorflow :: ops :: 합집합
#include <math_ops.h>
텐서 차원에서 요소의 합을 계산합니다.
요약
axis
지정된 치수를 따라 input
을 줄입니다. keep_dims
가 true가 아니면 텐서의 순위는 axis
각 항목에 대해 1 씩 감소합니다. keep_dims
가 true이면 축소 된 치수가 길이 1로 유지됩니다.
인수 :
- 범위 : 범위 개체
- 입력 : 줄일 텐서입니다.
- 축 : 축소 할 치수입니다.
[-rank(input), rank(input))
범위에 있어야합니다.
선택적 속성 ( Attrs
참조) :
- keep_dims : true 인 경우 길이가 1 인 축소 된 치수를 유지합니다.
보고:
-
Output
: 감소 된 텐서.
별칭 :
- ReduceSum
생성자와 소멸자 | |
---|---|
Sum (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
Sum (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Sum::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
output |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
KeepDims (bool x) |
구조체 | |
---|---|
tensorflow :: ops :: Sum :: Attrs | Sum에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
산출
::tensorflow::Output output
공공 기능
합집합
Sum( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
합집합
Sum( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Sum::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
KeepDims
Attrs KeepDims( bool x )