MCPcopy Create free account
hub / github.com/pytorch/pytorch / create_normalized_name

Function create_normalized_name

test/test_proxy_tensor.py:68–73  ·  view source on GitHub ↗
(op)

Source from the content-addressed store, hash-verified

66 failures = [process_failure_string(s, SYMBOLIC_TRACE_MATCH) for s in failures]
67
68 def create_normalized_name(op):
69 if op.variant_test_name == '':
70 s = op.name
71 else:
72 s = f"{op.name}.{op.variant_test_name}"
73 return s.replace('.', '_')
74
75 remap_opinfo = {create_normalized_name(op): (op.name, op.variant_test_name) for op in op_db}
76

Callers 1

process_failuresFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…