Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ _export
Function
_export
devtools/intermediate_output_tap/tests/test_tap_pass.py:36–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
35
36
def
_export():
37
return
export(_MLP(), (torch.randn(2, 8),), strict=True)
38
39
40
class
_RichModel(torch.nn.Module):
Callers
15
test_joint_graph
Method · 0.85
_test_model_with_non_decomp_partitioner
Method · 0.85
test_to_edge_transform_and_lower_with_exception
Method · 0.85
export
Method · 0.85
test_inserts_tap_per_selected_node
Method · 0.85
test_appends_user_outputs
Method · 0.85
test_output_indices_contiguous_after_user_outputs
Method · 0.85
test_default_rules_use_stats_on_call_functions
Method · 0.85
test_mutates_original_and_returns_same_ep
Method · 0.85
test_max_taps
Method · 0.85
test_idempotent_does_not_tap_taps
Method · 0.85
test_no_match_returns_empty_specs
Method · 0.85
Calls
2
export
Function · 0.90
_MLP
Class · 0.70
Tested by
no test coverage detected