Add ShapeEquals(BlobProto&) and use in Net::CopyTrainedLayersFrom.