/usr/local/lib64/python3.6/site-packages/torch/include/ATen/native/cpu
NameSizeModeActions
AtomicAddFloat.h7500644editdlrm
avx_mathfun.h174480644editdlrm
CatKernel.h2520644editdlrm
DepthwiseConvKernel.h4470644editdlrm
DistributionTemplates.h140510644editdlrm
GridSamplerKernel.h5920644editdlrm
Intrinsics.h12120644editdlrm
IsContiguous.h24140644editdlrm
Loops.h144110644editdlrm
MaxUnpoolKernel.h4830644editdlrm
moments_utils.h42450644editdlrm
Reduce.h109550644editdlrm
SoftmaxKernel.h6360644editdlrm
StackKernel.h3150644editdlrm
utils.h10930644editdlrm
zmath.h64800644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/ATen/native/cpu/SoftmaxKernel.h (636B)
#pragma once #include #include namespace at { namespace native { using forward_fn = void (*)(const Tensor&, const Tensor&); using backward_fn = void(*)(const Tensor &, const Tensor &, const Tensor&); DECLARE_DISPATCH(forward_fn, softmax_lastdim_kernel); DECLARE_DISPATCH(forward_fn, log_softmax_lastdim_kernel); DECLARE_DISPATCH(backward_fn, softmax_backward_lastdim_kernel); DECLARE_DISPATCH(backward_fn, log_softmax_backward_lastdim_kernel); using forward_fn_with_dim = void(*)(const Tensor &, const Tensor &, const int64_t); DECLARE_DISPATCH(forward_fn_with_dim, softmax_kernel); } }