Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ Proto
Method
Proto
caffe2/python/model_helper.py:294–295 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
292
p.GetNameScope().startswith(namescope)]
293
294
def
Proto(self):
295
return
self.net.Proto()
296
297
def
InitProto(self):
298
return
self.param_init_net.Proto()
Callers
15
test_helper
Method · 0.95
test_dag_net_forking
Method · 0.95
test_elman_recurrent_network
Method · 0.95
test_simple_memonger
Method · 0.95
test_fast_memonger
Method · 0.95
test_fast_memonger_unique_outputs
Method · 0.95
test_forward_optim_tree_daggy
Method · 0.95
test_forward_optim_tree_dag_traversal
Method · 0.95
test_forward_optim_tree_enforce_inplace_op_invalid
Method · 0.95
test_forward_optim_tree_enforce_inplace_op_valid_and_as_head
Method · 0.95
test_verify_graph_equality
Method · 0.95
test_verify_graph_equality_harder
Method · 0.95
Calls
no outgoing calls
Tested by
15
test_helper
Method · 0.76
test_dag_net_forking
Method · 0.76
test_elman_recurrent_network
Method · 0.76
test_simple_memonger
Method · 0.76
test_fast_memonger
Method · 0.76
test_fast_memonger_unique_outputs
Method · 0.76
test_forward_optim_tree_daggy
Method · 0.76
test_forward_optim_tree_dag_traversal
Method · 0.76
test_forward_optim_tree_enforce_inplace_op_invalid
Method · 0.76
test_forward_optim_tree_enforce_inplace_op_valid_and_as_head
Method · 0.76
test_verify_graph_equality
Method · 0.76
test_verify_graph_equality_harder
Method · 0.76