텐서플로우:: 작전:: 로그소프트맥스
#include <nn_ops.h>로그 소프트맥스 활성화를 계산합니다.
요약
각 배치 i 와 클래스 j 에 대해 우리는
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
인수:
- 범위: 범위 개체
- 로지트:
[batch_size, num_classes]모양의 2차원.
보고:
-
Output:logits와 같은 모양입니다.
생성자와 소멸자 | |
|---|---|
LogSoftmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
공개 속성 | |
|---|---|
logsoftmax | |
operation | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 속성
로그소프트맥스
::tensorflow::Output logsoftmax
작업
Operation operation
공공 기능
로그소프트맥스
LogSoftmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const