caffe message学习之BlobProto

xiaoxiao2021-02-28  98

github源码传送门, 这个message 也还比较简单,用来存储数据和梯度。 相关联的message有BlobShape.

message BlobProto { optional BlobShape shape = 7; repeated float data = 5 [packed = true]; repeated float diff = 6 [packed = true]; repeated double double_data = 8 [packed = true]; repeated double double_diff = 9 [packed = true]; // 4D dimensions -- deprecated. Use "shape" instead. optional int32 num = 1 [default = 0]; optional int32 channels = 2 [default = 0]; optional int32 height = 3 [default = 0]; optional int32 width = 4 [default = 0]; }
转载请注明原文地址: https://www.6miu.com/read-51446.html

最新回复(0)