Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ _notify_used
Method
_notify_used
caffe2/python/task.py:638–640 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
636
return
self._outputs
637
638
def
_notify_used(self):
639
self.get_step()
640
self._already_used = True
641
642
def
__repr__(self):
643
return
"Task(name={}, node={}, outputs={})"
.format(
Callers
1
add
Method · 0.80
Calls
1
get_step
Method · 0.95
Tested by
no test coverage detected