test_ops.h 214 Bytes
Newer Older
wangkx1's avatar
init  
wangkx1 committed
1
2
3
4
5
6
7
8
9
#pragma once
#include <torch/library.h>
#include <ATen/ATen.h>

// 声明操作符实现函数
namespace test_ops_impl {
    at::Tensor add_one(at::Tensor input);
    at::Tensor multiply_by_two(at::Tensor input);
}