tensorflow :: ops :: 소프트 맥스
#include <nn_ops.h>
소프트 맥스 활성화를 계산합니다.
요약
각 배치 i
및 클래스 j
대해
$$softmax[i, j] = exp(logits[i, j]) / sum_j(exp(logits[i, j]))$$이 있습니다.
인수 :
- 범위 : 범위 개체
- 로짓 :
[batch_size, num_classes]
모양의 2 차원.
보고:
-
Output
:logits
과 같은 모양.
생성자와 소멸자 | |
---|---|
Softmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
공용 속성 | |
---|---|
operation | |
softmax |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공용 속성
조작
Operation operation
소프트 맥스
::tensorflow::Output softmax
공공 기능
소프트 맥스
Softmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const