3 #include <torch/csrc/python_headers.h> 14 namespace torch {
namespace tensors {
18 void initialize_python_bindings();
22 void set_default_tensor_type(
const at::Type& type);
25 void py_set_default_tensor_type(PyObject* type_obj);
28 void py_set_default_dtype(PyObject* dtype_obj);
To register your own kernel for an operator, do in one (!) cpp file: C10_REGISTER_KERNEL(OperatorHand...
Flush-To-Zero and Denormals-Are-Zero mode.