Commit b0f75278 authored by Zimin Li's avatar Zimin Li
Browse files

issue/127: Fix CI format - remove redefinition of default 0 in

enable_if, remove std::move() in elementwise_cpu.h, add <array> inclusion
parent 6df3f51f
......@@ -16,7 +16,7 @@
\
*desc_ptr = new Descriptor( \
dtype, \
std::move(info_result.take()), \
info_result.take(), \
nullptr, \
handle->device, \
handle->device_id);
......@@ -125,7 +125,7 @@ void calculate_impl(const op::elementwise::ElementwiseInfo &info, void *output,
}
// Invoke elementwise operation for different input types
template <typename Op, typename Tout, typename... Tin, typename... Args, std::enable_if_t<(sizeof...(Tin) == Op::num_inputs), int> = 0>
template <typename Op, typename Tout, typename... Tin, typename... Args, std::enable_if_t<(sizeof...(Tin) == Op::num_inputs), int>>
infiniStatus_t DeviceImpl::calculate(const op::elementwise::ElementwiseInfo &info,
void *output,
const std::vector<const void *> &inputs,
......
......@@ -5,6 +5,7 @@
#include "../operator.h"
#include "../tensor.h"
#include <algorithm>
#include <array>
#include <cstring>
#include <iostream>
#include <memory>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment