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

Method disable

torch/jit/_script.py:1644–1645  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1642 self.profile.enable()
1643
1644 def disable(self):
1645 self.profile.disable()
1646
1647 def dump_string(self) -> str:
1648 outputs: List[str] = []

Callers 15

innerFunction · 0.45
run_cprofileFunction · 0.45
disableFunction · 0.45
gc_contextFunction · 0.45
tearDownMethod · 0.45
assertNoUnraisableMethod · 0.45
disable_gcFunction · 0.45
disable_gcFunction · 0.45
test_disabledMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by 11

disable_gcFunction · 0.36
test_disabledMethod · 0.36
setUpMethod · 0.36
test_basicMethod · 0.36
fnMethod · 0.36
test_multiMethod · 0.36
test_emptyMethod · 0.36