We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d97fd9 commit d64d969Copy full SHA for d64d969
kernels/portable/cpu/util/elementwise_util.h
@@ -85,7 +85,6 @@ inline void dtype_specialized_elementwise_fn_impl(
85
static_assert(
86
(std::is_same_v<Args, std::pair<const Tensor*, SupportedTensorDtypes>> &&
87
...));
88
- constexpr auto kNumInputs = sizeof...(inputs);
89
// All inputs must be of type CTYPE_COMPUTE.
90
ET_DCHECK(
91
((inputs.first->scalar_type() ==
@@ -229,8 +228,6 @@ inline void apply_elementwise_fn_generic_impl(
229
228
const Tensor& out,
230
SupportedTensorDtypes out_dtypes,
231
Args... inputs) {
232
233
-
234
struct InputInfo {
235
load_to_compute_fn<CTYPE_COMPUTE> load_to_compute;
236
const char* data_ptr;
0 commit comments