Home
last modified time | relevance | path

Searched refs:log_sum_exp (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsoftmax_op.cc146 auto log_sum_exp = xla::Log(sum_exp); in CrossEntropyWithLogits() local
152 auto sub = xla::Sub(shifted_logits, log_sum_exp, {kBatchDim}); in CrossEntropyWithLogits()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h4147 const float log_sum_exp = std::log(sum_exp); in LogSoftmax() local
4152 (input_scale * (max_val + zero_point_offset) + log_sum_exp) / in LogSoftmax()