MCPcopy Create free account
hub / github.com/pytorch/examples / primitive_library.py

File primitive_library.py

fx/primitive_library.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torch
2import torch.fx
3"""
4In this example we are going do define a library of

Callers

nothing calls this directly

Calls 4

inline_lowp_funcFunction · 0.85
InliningTracerClass · 0.85
traceMethod · 0.80
FooClass · 0.70

Tested by

no test coverage detected