softmax_op.cu 184 字节
Newer Older
1 2 3 4 5
#include <paddle/framework/op_registry.h>
#include <paddle/operators/sigmoid_op.h>

REGISTER_OP_GPU_KERNEL(
    softmax, paddle::operators::SoftmaxKernel<paddle::platform::GPUPlace>);