Home
last modified time | relevance | path

Searched refs:kBatchDim (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsoftmax_op.cc96 const int kBatchDim = 0; in CrossEntropyWithLogits() local
106 auto shifted_logits = xla::Sub(logits, logits_max, {kBatchDim}); in CrossEntropyWithLogits()
127 auto sub = xla::Sub(shifted_logits, log_sum_exp, {kBatchDim}); in CrossEntropyWithLogits()
138 xla::Sub(xla::Div(exp_shifted_logits, sum_exp, {kBatchDim}), labels); in CrossEntropyWithLogits()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_xent_op_gpu.cu.cc44 const int kBatchDim = 0; in Compute() local
46 const int rows = logits.dimension(kBatchDim); in Compute()
Dsoftmax_op_functor.h46 const int kBatchDim = 0; in Compute() local
49 const int batch_size = logits.dimension(kBatchDim); in Compute()
Dxent_op.h66 const int kBatchDim = 0; in Compute() local
69 const int batch_size = shape[kBatchDim]; in Compute()
Dsparse_xent_op.h183 const int kBatchDim = 0; in Compute() local
186 const int batch_size = logits.dimension(kBatchDim); in Compute()