MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / assign_proto

Function assign_proto

python/caffe/net_spec.py:56–79  ·  view source on GitHub ↗

Assign a Python object to a protobuf message, based on the Python type (in recursive fashion). Lists become repeated fields/messages, dicts become messages, and other types are assigned directly. For convenience, repeated fields whose values are not lists are converted to single-element

(proto, name, val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_to_protoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected