텐서플로우:: ops:: SoftmaxCrossEntropyWithLogits

#include <nn_ops.h>

소프트맥스 교차 엔트로피 비용과 역전파를 위한 기울기를 계산합니다.

요약

입력값은 확률이 아니라 로짓입니다.

논거:

  • 범위: Scope 객체
  • 특징: 배치 크기 x 클래스 수 행렬
  • 레이블: 배치 크기 x 클래스 수 행렬. 호출자는 각 레이블 배치가 유효한 확률 분포를 나타내는지 확인해야 합니다.

보고:

  • Output 손실: 예제당 손실(batch_size 벡터).
  • Output 역전파: 역전파된 기울기(배치 크기 x 클래스 수 행렬).

생성자와 소멸자

SoftmaxCrossEntropyWithLogits (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input labels)

공개 속성

backprop
loss
operation

공개 속성

역전파

::tensorflow::Output backprop

손실

::tensorflow::Output loss

작업

Operation operation

공공 기능

SoftmaxCrossEntropyWithLogits

 SoftmaxCrossEntropyWithLogits(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features,
  ::tensorflow::Input labels
)