histogram_kernel.h 386 字节
Newer Older
P
phlrain 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


#pragma once

#include "paddle/pten/core/dense_tensor.h"
namespace pten {

template <typename T, typename Context>
void HistogramSelectKernel(const Context& dev_ctx,
                        const DenseTensor& input,
                        int64_t bins,
                        int min,
                        int max,
                        DenseTensor* out);

}  // namspace pten