MCPcopy Index your code
hub / github.com/pytorch/pytorch / WhileNet

Method WhileNet

caffe2/python/net_builder.py:353–357  ·  view source on GitHub ↗

NetBuilder for 'While' control operator

(self, name=None)

Source from the content-addressed store, hash-verified

351 return _RunElseNet(name=name)
352
353 def WhileNet(self, name=None):
354 """
355 NetBuilder for 'While' control operator
356 """
357 return NetBuilder.current().add(_RunWhileNet(name=name))
358
359 def Condition(self, name=None):
360 """

Callers 2

test_while_netMethod · 0.80
testWhileMethod · 0.80

Calls 3

_RunWhileNetClass · 0.85
currentMethod · 0.80
addMethod · 0.45

Tested by 2

test_while_netMethod · 0.64
testWhileMethod · 0.64