forked from jiuyuan/InfiniTensor
fix format
This commit is contained in:
parent
f6176124ec
commit
e7d34badfb
|
@ -4,7 +4,6 @@
|
|||
|
||||
namespace infini {
|
||||
|
||||
|
||||
class ASCENDKernelWithoutConfig : public Kernel {
|
||||
public:
|
||||
virtual void compute(const Operator &op, const PerfRecord &record,
|
||||
|
@ -21,7 +20,7 @@ class ASCENDKernelWithoutConfig : public Kernel {
|
|||
[&]() { context->sync(); }));
|
||||
}
|
||||
// transform vector<int> to vector<int64_t>
|
||||
std::vector<int64_t> MycastTo64(std::vector<int> const & v32) const {
|
||||
std::vector<int64_t> MycastTo64(std::vector<int> const &v32) const {
|
||||
std::vector<int64_t> v64(v32.size(), 1);
|
||||
for (size_t i = 0; i < v32.size(); ++i) {
|
||||
v64[i] = int64_t(v32[i]);
|
||||
|
|
Loading…
Reference in New Issue