Converts a serialized blobprotovec to a list of arrays.
(str)
| 56 | |
| 57 | |
| 58 | def 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 | |
| 66 | def array_to_datum(arr, label=None): |
nothing calls this directly
no test coverage detected