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

Method myhelper

caffe2/python/brew_test.py:18–19  ·  view source on GitHub ↗
(model, val=-1)

Source from the content-addressed store, hash-verified

16 def setUp(self):
17
18 def myhelper(model, val=-1):
19 return val
20
21 if not brew.has_helper(myhelper):
22 brew.Register(myhelper)

Callers 2

test_arg_scopeMethod · 0.80
test_arg_scope_nestedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected