icecuber commited on
Commit
4ae68a3
·
verified ·
1 Parent(s): 5e5b0b7

Upload _ops.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. _ops.py +8 -0
_ops.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ ops = torch.ops._first_20250617124232
3
+
4
+ def add_op_namespace_prefix(op_name: str):
5
+ """
6
+ Prefix op by namespace.
7
+ """
8
+ return f"_first_20250617124232::{op_name}"