| 467 | // yisen todo |
| 468 | template <typename DType, typename Lang> |
| 469 | void ComputeCrossEntropy(bool int_target, const size_t batchsize, |
| 470 | const size_t dim, const Tensor &p, const Tensor &t, |
| 471 | Tensor *loss, Context *ctx) { |
| 472 | LOG_FATAL("ComputeCrossEntropy", DType, Lang); |
| 473 | } |
| 474 | |
| 475 | template <typename DType, typename Lang> |
| 476 | void SoftmaxCrossEntropyBwd(bool int_target, const size_t batchsize, |
nothing calls this directly
no outgoing calls
no test coverage detected