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

Method _assert_mutable

caffe2/python/net_builder.py:84–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self._current_net = None
83
84 def _assert_mutable(self):
85 assert not self._frozen, (
86 'This NetBuilder (%s) has been built already.' % self.name)
87
88 def _update_lexical_scope(self):
89 """

Callers 2

addMethod · 0.95
current_netMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected