MCPcopy Create free account
hub / github.com/BVLC/caffe / blobprotovector_str_to_arraylist

Function blobprotovector_str_to_arraylist

python/caffe/io.py:58–63  ·  view source on GitHub ↗

Converts a serialized blobprotovec to a list of arrays.

(str)

Source from the content-addressed store, hash-verified

56
57
58def blobprotovector_str_to_arraylist(str):
59 """Converts a serialized blobprotovec to a list of arrays.
60 """
61 vec = caffe_pb2.BlobProtoVector()
62 vec.ParseFromString(str)
63 return [blobproto_to_array(blob) for blob in vec.blobs]
64
65
66def array_to_datum(arr, label=None):

Callers

nothing calls this directly

Calls 1

blobproto_to_arrayFunction · 0.85

Tested by

no test coverage detected