blob: 09901f5aecc0e125c024fb2d8a19cf713d6ca1ff [file] [log] [blame]
#include <ATen/ATen.h>
#include <ATen/NativeFunctions.h>
namespace at {
namespace native {
void backward(const Tensor& self, const Tensor& gradient, bool keep_graph, bool create_graph) {
AT_ERROR("backward is not implemented for Tensor");
}
void set_data(const Tensor& self, const Tensor& new_data) {
AT_ERROR("set_data is not implemented for Tensor");
}
Tensor data(const Tensor& self) {
AT_ERROR("data is not implemented for Tensor");
}
bool is_leaf(const Tensor& self) {
AT_ERROR("is_leaf is not implemented for Tensor");
}
int64_t output_nr(const Tensor& self) {
AT_ERROR("output_nr is not implemented for Tensor");
}
int64_t _version(const Tensor& self) {
AT_ERROR("version is not implemented for Tensor");
}
} // namespace native
} // namespace at