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

Function s

caffe2/python/recurrent.py:54–58  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

52 op_name = net.NextName('recurrent')
53
54 def s(name):
55 # We have to manually scope due to our internal/external blob
56 # relationships.
57 scope_name = op_name if scope is None else scope
58 return "{}/{}".format(str(scope_name), str(name))
59
60 # determine inputs that are considered to be references
61 # it is those that are not referred to in inputs or initial_cell_inputs

Callers 2

recurrent_netFunction · 0.70
build_crf_netMethod · 0.70

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected