Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ myhelper2
Method
myhelper2
caffe2/python/brew_test.py:25–26 ·
view source on GitHub ↗
(model, val=-1)
Source
from the content-addressed store, hash-verified
23
self.myhelper = myhelper
24
25
def
myhelper2(model, val=-1):
26
return
val
27
28
if
not brew.has_helper(myhelper2):
29
brew.Register(myhelper2)
Callers
1
test_arg_scope
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected