Commit 1a8752b
[TorchScript] bindings for torch._C.ClassType.method_names() (pytorch#140444)
I used this for debugging, figured I'd upstream it.
This gives you a list of the method names provided by the given ClassType.
Pull Request resolved: pytorch#140444
Approved by: https://github.com/eellison1 parent 2675ef8 commit 1a8752b
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
1075 | | - | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1076 | 1083 | | |
1077 | 1084 | | |
1078 | 1085 | | |
| |||
0 commit comments