File size: 209 Bytes
16f313a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import torch
from . import _activation_0_0_1
ops = torch.ops._activation_0_0_1

def add_op_namespace_prefix(op_name: str):
    """
    Prefix op by namespace.
    """
    return f"_activation_0_0_1::{op_name}"