| import torch | |
| ops = torch.ops._flattened_build_19700101000000 | |
| def add_op_namespace_prefix(op_name: str): | |
| """ | |
| Prefix op by namespace. | |
| """ | |
| return f"_flattened_build_19700101000000::{op_name}" |
| import torch | |
| ops = torch.ops._flattened_build_19700101000000 | |
| def add_op_namespace_prefix(op_name: str): | |
| """ | |
| Prefix op by namespace. | |
| """ | |
| return f"_flattened_build_19700101000000::{op_name}" |