Skip to content
Snippets Groups Projects
Commit 32ee72e4 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Change back to data_ptr (data is deprecated

parent 303171de
Branches
Tags
No related merge requests found
......@@ -55,7 +55,7 @@ class Header(JinjaCppFile):
class TorchTensorDestructuring(DestructuringBindingsForFieldClass):
CLASS_TO_MEMBER_DICT = {
FieldPointerSymbol: "data<{dtype}>()",
FieldPointerSymbol: "data_ptr<{dtype}>()",
FieldShapeSymbol: "size({dim})",
FieldStrideSymbol: "strides()[{dim}]"
}
......
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