Skip to content

Commit 48bb99f

Browse files
JacobSzwejbkafacebook-github-bot
authored andcommitted
export_to_ff -> export_to_pte
Summary: title Reviewed By: larryliu0820 Differential Revision: D48324330 fbshipit-source-id: f9a4be6d77aa95e09c2cf595c5e37611e9ccc578
1 parent 7911ea7 commit 48bb99f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/custom_ops/custom_ops_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""Example of showcasing registering custom operator through torch library API."""
88
import torch
99

10-
from examples.export.export_example import export_to_ff
10+
from examples.export.export_example import export_to_pte
1111
from torch.library import impl, Library
1212

1313
my_op_lib = Library("my_ops", "DEF")
@@ -44,7 +44,7 @@ def main():
4444
m = Model()
4545
input = torch.randn(2, 3)
4646
# capture and lower
47-
export_to_ff("custom_ops_1", m, (input,))
47+
export_to_pte("custom_ops_1", m, (input,))
4848

4949

5050
if __name__ == "__main__":

examples/custom_ops/custom_ops_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""Example of showcasing registering custom operator through torch library API."""
88
import torch
99

10-
from examples.export.export_example import export_to_ff
10+
from examples.export.export_example import export_to_pte
1111

1212
torch.ops.load_library("cmake-out/examples/custom_ops/libcustom_ops_aot_lib.so")
1313

@@ -21,7 +21,7 @@ def main():
2121
m = Model()
2222
input = torch.randn(2, 3)
2323
# capture and lower
24-
export_to_ff("custom_ops_2", m, (input,))
24+
export_to_pte("custom_ops_2", m, (input,))
2525

2626

2727
if __name__ == "__main__":

0 commit comments

Comments
 (0)