1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: NeuralNetwork.proto */
3
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
7 #endif
8
9 #include "NeuralNetwork.pb-c.h"
core_ml__specification__neural_network__init(CoreML__Specification__NeuralNetwork * message)10 void core_ml__specification__neural_network__init
11 (CoreML__Specification__NeuralNetwork *message)
12 {
13 static const CoreML__Specification__NeuralNetwork init_value = CORE_ML__SPECIFICATION__NEURAL_NETWORK__INIT;
14 *message = init_value;
15 }
core_ml__specification__neural_network__get_packed_size(const CoreML__Specification__NeuralNetwork * message)16 size_t core_ml__specification__neural_network__get_packed_size
17 (const CoreML__Specification__NeuralNetwork *message)
18 {
19 assert(message->base.descriptor == &core_ml__specification__neural_network__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
core_ml__specification__neural_network__pack(const CoreML__Specification__NeuralNetwork * message,uint8_t * out)22 size_t core_ml__specification__neural_network__pack
23 (const CoreML__Specification__NeuralNetwork *message,
24 uint8_t *out)
25 {
26 assert(message->base.descriptor == &core_ml__specification__neural_network__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
core_ml__specification__neural_network__pack_to_buffer(const CoreML__Specification__NeuralNetwork * message,ProtobufCBuffer * buffer)29 size_t core_ml__specification__neural_network__pack_to_buffer
30 (const CoreML__Specification__NeuralNetwork *message,
31 ProtobufCBuffer *buffer)
32 {
33 assert(message->base.descriptor == &core_ml__specification__neural_network__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 CoreML__Specification__NeuralNetwork *
core_ml__specification__neural_network__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)37 core_ml__specification__neural_network__unpack
38 (ProtobufCAllocator *allocator,
39 size_t len,
40 const uint8_t *data)
41 {
42 return (CoreML__Specification__NeuralNetwork *)
43 protobuf_c_message_unpack (&core_ml__specification__neural_network__descriptor,
44 allocator, len, data);
45 }
core_ml__specification__neural_network__free_unpacked(CoreML__Specification__NeuralNetwork * message,ProtobufCAllocator * allocator)46 void core_ml__specification__neural_network__free_unpacked
47 (CoreML__Specification__NeuralNetwork *message,
48 ProtobufCAllocator *allocator)
49 {
50 if(!message)
51 return;
52 assert(message->base.descriptor == &core_ml__specification__neural_network__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
core_ml__specification__neural_network_image_scaler__init(CoreML__Specification__NeuralNetworkImageScaler * message)55 void core_ml__specification__neural_network_image_scaler__init
56 (CoreML__Specification__NeuralNetworkImageScaler *message)
57 {
58 static const CoreML__Specification__NeuralNetworkImageScaler init_value = CORE_ML__SPECIFICATION__NEURAL_NETWORK_IMAGE_SCALER__INIT;
59 *message = init_value;
60 }
core_ml__specification__neural_network_image_scaler__get_packed_size(const CoreML__Specification__NeuralNetworkImageScaler * message)61 size_t core_ml__specification__neural_network_image_scaler__get_packed_size
62 (const CoreML__Specification__NeuralNetworkImageScaler *message)
63 {
64 assert(message->base.descriptor == &core_ml__specification__neural_network_image_scaler__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
core_ml__specification__neural_network_image_scaler__pack(const CoreML__Specification__NeuralNetworkImageScaler * message,uint8_t * out)67 size_t core_ml__specification__neural_network_image_scaler__pack
68 (const CoreML__Specification__NeuralNetworkImageScaler *message,
69 uint8_t *out)
70 {
71 assert(message->base.descriptor == &core_ml__specification__neural_network_image_scaler__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
core_ml__specification__neural_network_image_scaler__pack_to_buffer(const CoreML__Specification__NeuralNetworkImageScaler * message,ProtobufCBuffer * buffer)74 size_t core_ml__specification__neural_network_image_scaler__pack_to_buffer
75 (const CoreML__Specification__NeuralNetworkImageScaler *message,
76 ProtobufCBuffer *buffer)
77 {
78 assert(message->base.descriptor == &core_ml__specification__neural_network_image_scaler__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 CoreML__Specification__NeuralNetworkImageScaler *
core_ml__specification__neural_network_image_scaler__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)82 core_ml__specification__neural_network_image_scaler__unpack
83 (ProtobufCAllocator *allocator,
84 size_t len,
85 const uint8_t *data)
86 {
87 return (CoreML__Specification__NeuralNetworkImageScaler *)
88 protobuf_c_message_unpack (&core_ml__specification__neural_network_image_scaler__descriptor,
89 allocator, len, data);
90 }
core_ml__specification__neural_network_image_scaler__free_unpacked(CoreML__Specification__NeuralNetworkImageScaler * message,ProtobufCAllocator * allocator)91 void core_ml__specification__neural_network_image_scaler__free_unpacked
92 (CoreML__Specification__NeuralNetworkImageScaler *message,
93 ProtobufCAllocator *allocator)
94 {
95 if(!message)
96 return;
97 assert(message->base.descriptor == &core_ml__specification__neural_network_image_scaler__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
core_ml__specification__neural_network_mean_image__init(CoreML__Specification__NeuralNetworkMeanImage * message)100 void core_ml__specification__neural_network_mean_image__init
101 (CoreML__Specification__NeuralNetworkMeanImage *message)
102 {
103 static const CoreML__Specification__NeuralNetworkMeanImage init_value = CORE_ML__SPECIFICATION__NEURAL_NETWORK_MEAN_IMAGE__INIT;
104 *message = init_value;
105 }
core_ml__specification__neural_network_mean_image__get_packed_size(const CoreML__Specification__NeuralNetworkMeanImage * message)106 size_t core_ml__specification__neural_network_mean_image__get_packed_size
107 (const CoreML__Specification__NeuralNetworkMeanImage *message)
108 {
109 assert(message->base.descriptor == &core_ml__specification__neural_network_mean_image__descriptor);
110 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
core_ml__specification__neural_network_mean_image__pack(const CoreML__Specification__NeuralNetworkMeanImage * message,uint8_t * out)112 size_t core_ml__specification__neural_network_mean_image__pack
113 (const CoreML__Specification__NeuralNetworkMeanImage *message,
114 uint8_t *out)
115 {
116 assert(message->base.descriptor == &core_ml__specification__neural_network_mean_image__descriptor);
117 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
core_ml__specification__neural_network_mean_image__pack_to_buffer(const CoreML__Specification__NeuralNetworkMeanImage * message,ProtobufCBuffer * buffer)119 size_t core_ml__specification__neural_network_mean_image__pack_to_buffer
120 (const CoreML__Specification__NeuralNetworkMeanImage *message,
121 ProtobufCBuffer *buffer)
122 {
123 assert(message->base.descriptor == &core_ml__specification__neural_network_mean_image__descriptor);
124 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 CoreML__Specification__NeuralNetworkMeanImage *
core_ml__specification__neural_network_mean_image__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)127 core_ml__specification__neural_network_mean_image__unpack
128 (ProtobufCAllocator *allocator,
129 size_t len,
130 const uint8_t *data)
131 {
132 return (CoreML__Specification__NeuralNetworkMeanImage *)
133 protobuf_c_message_unpack (&core_ml__specification__neural_network_mean_image__descriptor,
134 allocator, len, data);
135 }
core_ml__specification__neural_network_mean_image__free_unpacked(CoreML__Specification__NeuralNetworkMeanImage * message,ProtobufCAllocator * allocator)136 void core_ml__specification__neural_network_mean_image__free_unpacked
137 (CoreML__Specification__NeuralNetworkMeanImage *message,
138 ProtobufCAllocator *allocator)
139 {
140 if(!message)
141 return;
142 assert(message->base.descriptor == &core_ml__specification__neural_network_mean_image__descriptor);
143 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
core_ml__specification__neural_network_preprocessing__init(CoreML__Specification__NeuralNetworkPreprocessing * message)145 void core_ml__specification__neural_network_preprocessing__init
146 (CoreML__Specification__NeuralNetworkPreprocessing *message)
147 {
148 static const CoreML__Specification__NeuralNetworkPreprocessing init_value = CORE_ML__SPECIFICATION__NEURAL_NETWORK_PREPROCESSING__INIT;
149 *message = init_value;
150 }
core_ml__specification__neural_network_preprocessing__get_packed_size(const CoreML__Specification__NeuralNetworkPreprocessing * message)151 size_t core_ml__specification__neural_network_preprocessing__get_packed_size
152 (const CoreML__Specification__NeuralNetworkPreprocessing *message)
153 {
154 assert(message->base.descriptor == &core_ml__specification__neural_network_preprocessing__descriptor);
155 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
156 }
core_ml__specification__neural_network_preprocessing__pack(const CoreML__Specification__NeuralNetworkPreprocessing * message,uint8_t * out)157 size_t core_ml__specification__neural_network_preprocessing__pack
158 (const CoreML__Specification__NeuralNetworkPreprocessing *message,
159 uint8_t *out)
160 {
161 assert(message->base.descriptor == &core_ml__specification__neural_network_preprocessing__descriptor);
162 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
163 }
core_ml__specification__neural_network_preprocessing__pack_to_buffer(const CoreML__Specification__NeuralNetworkPreprocessing * message,ProtobufCBuffer * buffer)164 size_t core_ml__specification__neural_network_preprocessing__pack_to_buffer
165 (const CoreML__Specification__NeuralNetworkPreprocessing *message,
166 ProtobufCBuffer *buffer)
167 {
168 assert(message->base.descriptor == &core_ml__specification__neural_network_preprocessing__descriptor);
169 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
170 }
171 CoreML__Specification__NeuralNetworkPreprocessing *
core_ml__specification__neural_network_preprocessing__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)172 core_ml__specification__neural_network_preprocessing__unpack
173 (ProtobufCAllocator *allocator,
174 size_t len,
175 const uint8_t *data)
176 {
177 return (CoreML__Specification__NeuralNetworkPreprocessing *)
178 protobuf_c_message_unpack (&core_ml__specification__neural_network_preprocessing__descriptor,
179 allocator, len, data);
180 }
core_ml__specification__neural_network_preprocessing__free_unpacked(CoreML__Specification__NeuralNetworkPreprocessing * message,ProtobufCAllocator * allocator)181 void core_ml__specification__neural_network_preprocessing__free_unpacked
182 (CoreML__Specification__NeuralNetworkPreprocessing *message,
183 ProtobufCAllocator *allocator)
184 {
185 if(!message)
186 return;
187 assert(message->base.descriptor == &core_ml__specification__neural_network_preprocessing__descriptor);
188 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
189 }
core_ml__specification__activation_re_lu__init(CoreML__Specification__ActivationReLU * message)190 void core_ml__specification__activation_re_lu__init
191 (CoreML__Specification__ActivationReLU *message)
192 {
193 static const CoreML__Specification__ActivationReLU init_value = CORE_ML__SPECIFICATION__ACTIVATION_RE_LU__INIT;
194 *message = init_value;
195 }
core_ml__specification__activation_re_lu__get_packed_size(const CoreML__Specification__ActivationReLU * message)196 size_t core_ml__specification__activation_re_lu__get_packed_size
197 (const CoreML__Specification__ActivationReLU *message)
198 {
199 assert(message->base.descriptor == &core_ml__specification__activation_re_lu__descriptor);
200 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
201 }
core_ml__specification__activation_re_lu__pack(const CoreML__Specification__ActivationReLU * message,uint8_t * out)202 size_t core_ml__specification__activation_re_lu__pack
203 (const CoreML__Specification__ActivationReLU *message,
204 uint8_t *out)
205 {
206 assert(message->base.descriptor == &core_ml__specification__activation_re_lu__descriptor);
207 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
208 }
core_ml__specification__activation_re_lu__pack_to_buffer(const CoreML__Specification__ActivationReLU * message,ProtobufCBuffer * buffer)209 size_t core_ml__specification__activation_re_lu__pack_to_buffer
210 (const CoreML__Specification__ActivationReLU *message,
211 ProtobufCBuffer *buffer)
212 {
213 assert(message->base.descriptor == &core_ml__specification__activation_re_lu__descriptor);
214 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
215 }
216 CoreML__Specification__ActivationReLU *
core_ml__specification__activation_re_lu__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)217 core_ml__specification__activation_re_lu__unpack
218 (ProtobufCAllocator *allocator,
219 size_t len,
220 const uint8_t *data)
221 {
222 return (CoreML__Specification__ActivationReLU *)
223 protobuf_c_message_unpack (&core_ml__specification__activation_re_lu__descriptor,
224 allocator, len, data);
225 }
core_ml__specification__activation_re_lu__free_unpacked(CoreML__Specification__ActivationReLU * message,ProtobufCAllocator * allocator)226 void core_ml__specification__activation_re_lu__free_unpacked
227 (CoreML__Specification__ActivationReLU *message,
228 ProtobufCAllocator *allocator)
229 {
230 if(!message)
231 return;
232 assert(message->base.descriptor == &core_ml__specification__activation_re_lu__descriptor);
233 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
234 }
core_ml__specification__activation_leaky_re_lu__init(CoreML__Specification__ActivationLeakyReLU * message)235 void core_ml__specification__activation_leaky_re_lu__init
236 (CoreML__Specification__ActivationLeakyReLU *message)
237 {
238 static const CoreML__Specification__ActivationLeakyReLU init_value = CORE_ML__SPECIFICATION__ACTIVATION_LEAKY_RE_LU__INIT;
239 *message = init_value;
240 }
core_ml__specification__activation_leaky_re_lu__get_packed_size(const CoreML__Specification__ActivationLeakyReLU * message)241 size_t core_ml__specification__activation_leaky_re_lu__get_packed_size
242 (const CoreML__Specification__ActivationLeakyReLU *message)
243 {
244 assert(message->base.descriptor == &core_ml__specification__activation_leaky_re_lu__descriptor);
245 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
246 }
core_ml__specification__activation_leaky_re_lu__pack(const CoreML__Specification__ActivationLeakyReLU * message,uint8_t * out)247 size_t core_ml__specification__activation_leaky_re_lu__pack
248 (const CoreML__Specification__ActivationLeakyReLU *message,
249 uint8_t *out)
250 {
251 assert(message->base.descriptor == &core_ml__specification__activation_leaky_re_lu__descriptor);
252 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
253 }
core_ml__specification__activation_leaky_re_lu__pack_to_buffer(const CoreML__Specification__ActivationLeakyReLU * message,ProtobufCBuffer * buffer)254 size_t core_ml__specification__activation_leaky_re_lu__pack_to_buffer
255 (const CoreML__Specification__ActivationLeakyReLU *message,
256 ProtobufCBuffer *buffer)
257 {
258 assert(message->base.descriptor == &core_ml__specification__activation_leaky_re_lu__descriptor);
259 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
260 }
261 CoreML__Specification__ActivationLeakyReLU *
core_ml__specification__activation_leaky_re_lu__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)262 core_ml__specification__activation_leaky_re_lu__unpack
263 (ProtobufCAllocator *allocator,
264 size_t len,
265 const uint8_t *data)
266 {
267 return (CoreML__Specification__ActivationLeakyReLU *)
268 protobuf_c_message_unpack (&core_ml__specification__activation_leaky_re_lu__descriptor,
269 allocator, len, data);
270 }
core_ml__specification__activation_leaky_re_lu__free_unpacked(CoreML__Specification__ActivationLeakyReLU * message,ProtobufCAllocator * allocator)271 void core_ml__specification__activation_leaky_re_lu__free_unpacked
272 (CoreML__Specification__ActivationLeakyReLU *message,
273 ProtobufCAllocator *allocator)
274 {
275 if(!message)
276 return;
277 assert(message->base.descriptor == &core_ml__specification__activation_leaky_re_lu__descriptor);
278 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
279 }
core_ml__specification__activation_tanh__init(CoreML__Specification__ActivationTanh * message)280 void core_ml__specification__activation_tanh__init
281 (CoreML__Specification__ActivationTanh *message)
282 {
283 static const CoreML__Specification__ActivationTanh init_value = CORE_ML__SPECIFICATION__ACTIVATION_TANH__INIT;
284 *message = init_value;
285 }
core_ml__specification__activation_tanh__get_packed_size(const CoreML__Specification__ActivationTanh * message)286 size_t core_ml__specification__activation_tanh__get_packed_size
287 (const CoreML__Specification__ActivationTanh *message)
288 {
289 assert(message->base.descriptor == &core_ml__specification__activation_tanh__descriptor);
290 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
291 }
core_ml__specification__activation_tanh__pack(const CoreML__Specification__ActivationTanh * message,uint8_t * out)292 size_t core_ml__specification__activation_tanh__pack
293 (const CoreML__Specification__ActivationTanh *message,
294 uint8_t *out)
295 {
296 assert(message->base.descriptor == &core_ml__specification__activation_tanh__descriptor);
297 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
298 }
core_ml__specification__activation_tanh__pack_to_buffer(const CoreML__Specification__ActivationTanh * message,ProtobufCBuffer * buffer)299 size_t core_ml__specification__activation_tanh__pack_to_buffer
300 (const CoreML__Specification__ActivationTanh *message,
301 ProtobufCBuffer *buffer)
302 {
303 assert(message->base.descriptor == &core_ml__specification__activation_tanh__descriptor);
304 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
305 }
306 CoreML__Specification__ActivationTanh *
core_ml__specification__activation_tanh__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)307 core_ml__specification__activation_tanh__unpack
308 (ProtobufCAllocator *allocator,
309 size_t len,
310 const uint8_t *data)
311 {
312 return (CoreML__Specification__ActivationTanh *)
313 protobuf_c_message_unpack (&core_ml__specification__activation_tanh__descriptor,
314 allocator, len, data);
315 }
core_ml__specification__activation_tanh__free_unpacked(CoreML__Specification__ActivationTanh * message,ProtobufCAllocator * allocator)316 void core_ml__specification__activation_tanh__free_unpacked
317 (CoreML__Specification__ActivationTanh *message,
318 ProtobufCAllocator *allocator)
319 {
320 if(!message)
321 return;
322 assert(message->base.descriptor == &core_ml__specification__activation_tanh__descriptor);
323 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
324 }
core_ml__specification__activation_scaled_tanh__init(CoreML__Specification__ActivationScaledTanh * message)325 void core_ml__specification__activation_scaled_tanh__init
326 (CoreML__Specification__ActivationScaledTanh *message)
327 {
328 static const CoreML__Specification__ActivationScaledTanh init_value = CORE_ML__SPECIFICATION__ACTIVATION_SCALED_TANH__INIT;
329 *message = init_value;
330 }
core_ml__specification__activation_scaled_tanh__get_packed_size(const CoreML__Specification__ActivationScaledTanh * message)331 size_t core_ml__specification__activation_scaled_tanh__get_packed_size
332 (const CoreML__Specification__ActivationScaledTanh *message)
333 {
334 assert(message->base.descriptor == &core_ml__specification__activation_scaled_tanh__descriptor);
335 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
336 }
core_ml__specification__activation_scaled_tanh__pack(const CoreML__Specification__ActivationScaledTanh * message,uint8_t * out)337 size_t core_ml__specification__activation_scaled_tanh__pack
338 (const CoreML__Specification__ActivationScaledTanh *message,
339 uint8_t *out)
340 {
341 assert(message->base.descriptor == &core_ml__specification__activation_scaled_tanh__descriptor);
342 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
343 }
core_ml__specification__activation_scaled_tanh__pack_to_buffer(const CoreML__Specification__ActivationScaledTanh * message,ProtobufCBuffer * buffer)344 size_t core_ml__specification__activation_scaled_tanh__pack_to_buffer
345 (const CoreML__Specification__ActivationScaledTanh *message,
346 ProtobufCBuffer *buffer)
347 {
348 assert(message->base.descriptor == &core_ml__specification__activation_scaled_tanh__descriptor);
349 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
350 }
351 CoreML__Specification__ActivationScaledTanh *
core_ml__specification__activation_scaled_tanh__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)352 core_ml__specification__activation_scaled_tanh__unpack
353 (ProtobufCAllocator *allocator,
354 size_t len,
355 const uint8_t *data)
356 {
357 return (CoreML__Specification__ActivationScaledTanh *)
358 protobuf_c_message_unpack (&core_ml__specification__activation_scaled_tanh__descriptor,
359 allocator, len, data);
360 }
core_ml__specification__activation_scaled_tanh__free_unpacked(CoreML__Specification__ActivationScaledTanh * message,ProtobufCAllocator * allocator)361 void core_ml__specification__activation_scaled_tanh__free_unpacked
362 (CoreML__Specification__ActivationScaledTanh *message,
363 ProtobufCAllocator *allocator)
364 {
365 if(!message)
366 return;
367 assert(message->base.descriptor == &core_ml__specification__activation_scaled_tanh__descriptor);
368 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
369 }
core_ml__specification__activation_sigmoid__init(CoreML__Specification__ActivationSigmoid * message)370 void core_ml__specification__activation_sigmoid__init
371 (CoreML__Specification__ActivationSigmoid *message)
372 {
373 static const CoreML__Specification__ActivationSigmoid init_value = CORE_ML__SPECIFICATION__ACTIVATION_SIGMOID__INIT;
374 *message = init_value;
375 }
core_ml__specification__activation_sigmoid__get_packed_size(const CoreML__Specification__ActivationSigmoid * message)376 size_t core_ml__specification__activation_sigmoid__get_packed_size
377 (const CoreML__Specification__ActivationSigmoid *message)
378 {
379 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid__descriptor);
380 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
381 }
core_ml__specification__activation_sigmoid__pack(const CoreML__Specification__ActivationSigmoid * message,uint8_t * out)382 size_t core_ml__specification__activation_sigmoid__pack
383 (const CoreML__Specification__ActivationSigmoid *message,
384 uint8_t *out)
385 {
386 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid__descriptor);
387 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
388 }
core_ml__specification__activation_sigmoid__pack_to_buffer(const CoreML__Specification__ActivationSigmoid * message,ProtobufCBuffer * buffer)389 size_t core_ml__specification__activation_sigmoid__pack_to_buffer
390 (const CoreML__Specification__ActivationSigmoid *message,
391 ProtobufCBuffer *buffer)
392 {
393 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid__descriptor);
394 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
395 }
396 CoreML__Specification__ActivationSigmoid *
core_ml__specification__activation_sigmoid__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)397 core_ml__specification__activation_sigmoid__unpack
398 (ProtobufCAllocator *allocator,
399 size_t len,
400 const uint8_t *data)
401 {
402 return (CoreML__Specification__ActivationSigmoid *)
403 protobuf_c_message_unpack (&core_ml__specification__activation_sigmoid__descriptor,
404 allocator, len, data);
405 }
core_ml__specification__activation_sigmoid__free_unpacked(CoreML__Specification__ActivationSigmoid * message,ProtobufCAllocator * allocator)406 void core_ml__specification__activation_sigmoid__free_unpacked
407 (CoreML__Specification__ActivationSigmoid *message,
408 ProtobufCAllocator *allocator)
409 {
410 if(!message)
411 return;
412 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid__descriptor);
413 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
414 }
core_ml__specification__activation_linear__init(CoreML__Specification__ActivationLinear * message)415 void core_ml__specification__activation_linear__init
416 (CoreML__Specification__ActivationLinear *message)
417 {
418 static const CoreML__Specification__ActivationLinear init_value = CORE_ML__SPECIFICATION__ACTIVATION_LINEAR__INIT;
419 *message = init_value;
420 }
core_ml__specification__activation_linear__get_packed_size(const CoreML__Specification__ActivationLinear * message)421 size_t core_ml__specification__activation_linear__get_packed_size
422 (const CoreML__Specification__ActivationLinear *message)
423 {
424 assert(message->base.descriptor == &core_ml__specification__activation_linear__descriptor);
425 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
426 }
core_ml__specification__activation_linear__pack(const CoreML__Specification__ActivationLinear * message,uint8_t * out)427 size_t core_ml__specification__activation_linear__pack
428 (const CoreML__Specification__ActivationLinear *message,
429 uint8_t *out)
430 {
431 assert(message->base.descriptor == &core_ml__specification__activation_linear__descriptor);
432 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
433 }
core_ml__specification__activation_linear__pack_to_buffer(const CoreML__Specification__ActivationLinear * message,ProtobufCBuffer * buffer)434 size_t core_ml__specification__activation_linear__pack_to_buffer
435 (const CoreML__Specification__ActivationLinear *message,
436 ProtobufCBuffer *buffer)
437 {
438 assert(message->base.descriptor == &core_ml__specification__activation_linear__descriptor);
439 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
440 }
441 CoreML__Specification__ActivationLinear *
core_ml__specification__activation_linear__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)442 core_ml__specification__activation_linear__unpack
443 (ProtobufCAllocator *allocator,
444 size_t len,
445 const uint8_t *data)
446 {
447 return (CoreML__Specification__ActivationLinear *)
448 protobuf_c_message_unpack (&core_ml__specification__activation_linear__descriptor,
449 allocator, len, data);
450 }
core_ml__specification__activation_linear__free_unpacked(CoreML__Specification__ActivationLinear * message,ProtobufCAllocator * allocator)451 void core_ml__specification__activation_linear__free_unpacked
452 (CoreML__Specification__ActivationLinear *message,
453 ProtobufCAllocator *allocator)
454 {
455 if(!message)
456 return;
457 assert(message->base.descriptor == &core_ml__specification__activation_linear__descriptor);
458 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
459 }
core_ml__specification__activation_sigmoid_hard__init(CoreML__Specification__ActivationSigmoidHard * message)460 void core_ml__specification__activation_sigmoid_hard__init
461 (CoreML__Specification__ActivationSigmoidHard *message)
462 {
463 static const CoreML__Specification__ActivationSigmoidHard init_value = CORE_ML__SPECIFICATION__ACTIVATION_SIGMOID_HARD__INIT;
464 *message = init_value;
465 }
core_ml__specification__activation_sigmoid_hard__get_packed_size(const CoreML__Specification__ActivationSigmoidHard * message)466 size_t core_ml__specification__activation_sigmoid_hard__get_packed_size
467 (const CoreML__Specification__ActivationSigmoidHard *message)
468 {
469 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid_hard__descriptor);
470 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
471 }
core_ml__specification__activation_sigmoid_hard__pack(const CoreML__Specification__ActivationSigmoidHard * message,uint8_t * out)472 size_t core_ml__specification__activation_sigmoid_hard__pack
473 (const CoreML__Specification__ActivationSigmoidHard *message,
474 uint8_t *out)
475 {
476 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid_hard__descriptor);
477 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
478 }
core_ml__specification__activation_sigmoid_hard__pack_to_buffer(const CoreML__Specification__ActivationSigmoidHard * message,ProtobufCBuffer * buffer)479 size_t core_ml__specification__activation_sigmoid_hard__pack_to_buffer
480 (const CoreML__Specification__ActivationSigmoidHard *message,
481 ProtobufCBuffer *buffer)
482 {
483 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid_hard__descriptor);
484 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
485 }
486 CoreML__Specification__ActivationSigmoidHard *
core_ml__specification__activation_sigmoid_hard__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)487 core_ml__specification__activation_sigmoid_hard__unpack
488 (ProtobufCAllocator *allocator,
489 size_t len,
490 const uint8_t *data)
491 {
492 return (CoreML__Specification__ActivationSigmoidHard *)
493 protobuf_c_message_unpack (&core_ml__specification__activation_sigmoid_hard__descriptor,
494 allocator, len, data);
495 }
core_ml__specification__activation_sigmoid_hard__free_unpacked(CoreML__Specification__ActivationSigmoidHard * message,ProtobufCAllocator * allocator)496 void core_ml__specification__activation_sigmoid_hard__free_unpacked
497 (CoreML__Specification__ActivationSigmoidHard *message,
498 ProtobufCAllocator *allocator)
499 {
500 if(!message)
501 return;
502 assert(message->base.descriptor == &core_ml__specification__activation_sigmoid_hard__descriptor);
503 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
504 }
core_ml__specification__activation_pre_lu__init(CoreML__Specification__ActivationPReLU * message)505 void core_ml__specification__activation_pre_lu__init
506 (CoreML__Specification__ActivationPReLU *message)
507 {
508 static const CoreML__Specification__ActivationPReLU init_value = CORE_ML__SPECIFICATION__ACTIVATION_PRE_LU__INIT;
509 *message = init_value;
510 }
core_ml__specification__activation_pre_lu__get_packed_size(const CoreML__Specification__ActivationPReLU * message)511 size_t core_ml__specification__activation_pre_lu__get_packed_size
512 (const CoreML__Specification__ActivationPReLU *message)
513 {
514 assert(message->base.descriptor == &core_ml__specification__activation_pre_lu__descriptor);
515 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
516 }
core_ml__specification__activation_pre_lu__pack(const CoreML__Specification__ActivationPReLU * message,uint8_t * out)517 size_t core_ml__specification__activation_pre_lu__pack
518 (const CoreML__Specification__ActivationPReLU *message,
519 uint8_t *out)
520 {
521 assert(message->base.descriptor == &core_ml__specification__activation_pre_lu__descriptor);
522 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
523 }
core_ml__specification__activation_pre_lu__pack_to_buffer(const CoreML__Specification__ActivationPReLU * message,ProtobufCBuffer * buffer)524 size_t core_ml__specification__activation_pre_lu__pack_to_buffer
525 (const CoreML__Specification__ActivationPReLU *message,
526 ProtobufCBuffer *buffer)
527 {
528 assert(message->base.descriptor == &core_ml__specification__activation_pre_lu__descriptor);
529 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
530 }
531 CoreML__Specification__ActivationPReLU *
core_ml__specification__activation_pre_lu__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)532 core_ml__specification__activation_pre_lu__unpack
533 (ProtobufCAllocator *allocator,
534 size_t len,
535 const uint8_t *data)
536 {
537 return (CoreML__Specification__ActivationPReLU *)
538 protobuf_c_message_unpack (&core_ml__specification__activation_pre_lu__descriptor,
539 allocator, len, data);
540 }
core_ml__specification__activation_pre_lu__free_unpacked(CoreML__Specification__ActivationPReLU * message,ProtobufCAllocator * allocator)541 void core_ml__specification__activation_pre_lu__free_unpacked
542 (CoreML__Specification__ActivationPReLU *message,
543 ProtobufCAllocator *allocator)
544 {
545 if(!message)
546 return;
547 assert(message->base.descriptor == &core_ml__specification__activation_pre_lu__descriptor);
548 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
549 }
core_ml__specification__activation_elu__init(CoreML__Specification__ActivationELU * message)550 void core_ml__specification__activation_elu__init
551 (CoreML__Specification__ActivationELU *message)
552 {
553 static const CoreML__Specification__ActivationELU init_value = CORE_ML__SPECIFICATION__ACTIVATION_ELU__INIT;
554 *message = init_value;
555 }
core_ml__specification__activation_elu__get_packed_size(const CoreML__Specification__ActivationELU * message)556 size_t core_ml__specification__activation_elu__get_packed_size
557 (const CoreML__Specification__ActivationELU *message)
558 {
559 assert(message->base.descriptor == &core_ml__specification__activation_elu__descriptor);
560 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
561 }
core_ml__specification__activation_elu__pack(const CoreML__Specification__ActivationELU * message,uint8_t * out)562 size_t core_ml__specification__activation_elu__pack
563 (const CoreML__Specification__ActivationELU *message,
564 uint8_t *out)
565 {
566 assert(message->base.descriptor == &core_ml__specification__activation_elu__descriptor);
567 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
568 }
core_ml__specification__activation_elu__pack_to_buffer(const CoreML__Specification__ActivationELU * message,ProtobufCBuffer * buffer)569 size_t core_ml__specification__activation_elu__pack_to_buffer
570 (const CoreML__Specification__ActivationELU *message,
571 ProtobufCBuffer *buffer)
572 {
573 assert(message->base.descriptor == &core_ml__specification__activation_elu__descriptor);
574 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
575 }
576 CoreML__Specification__ActivationELU *
core_ml__specification__activation_elu__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)577 core_ml__specification__activation_elu__unpack
578 (ProtobufCAllocator *allocator,
579 size_t len,
580 const uint8_t *data)
581 {
582 return (CoreML__Specification__ActivationELU *)
583 protobuf_c_message_unpack (&core_ml__specification__activation_elu__descriptor,
584 allocator, len, data);
585 }
core_ml__specification__activation_elu__free_unpacked(CoreML__Specification__ActivationELU * message,ProtobufCAllocator * allocator)586 void core_ml__specification__activation_elu__free_unpacked
587 (CoreML__Specification__ActivationELU *message,
588 ProtobufCAllocator *allocator)
589 {
590 if(!message)
591 return;
592 assert(message->base.descriptor == &core_ml__specification__activation_elu__descriptor);
593 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
594 }
core_ml__specification__activation_thresholded_re_lu__init(CoreML__Specification__ActivationThresholdedReLU * message)595 void core_ml__specification__activation_thresholded_re_lu__init
596 (CoreML__Specification__ActivationThresholdedReLU *message)
597 {
598 static const CoreML__Specification__ActivationThresholdedReLU init_value = CORE_ML__SPECIFICATION__ACTIVATION_THRESHOLDED_RE_LU__INIT;
599 *message = init_value;
600 }
core_ml__specification__activation_thresholded_re_lu__get_packed_size(const CoreML__Specification__ActivationThresholdedReLU * message)601 size_t core_ml__specification__activation_thresholded_re_lu__get_packed_size
602 (const CoreML__Specification__ActivationThresholdedReLU *message)
603 {
604 assert(message->base.descriptor == &core_ml__specification__activation_thresholded_re_lu__descriptor);
605 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
606 }
core_ml__specification__activation_thresholded_re_lu__pack(const CoreML__Specification__ActivationThresholdedReLU * message,uint8_t * out)607 size_t core_ml__specification__activation_thresholded_re_lu__pack
608 (const CoreML__Specification__ActivationThresholdedReLU *message,
609 uint8_t *out)
610 {
611 assert(message->base.descriptor == &core_ml__specification__activation_thresholded_re_lu__descriptor);
612 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
613 }
core_ml__specification__activation_thresholded_re_lu__pack_to_buffer(const CoreML__Specification__ActivationThresholdedReLU * message,ProtobufCBuffer * buffer)614 size_t core_ml__specification__activation_thresholded_re_lu__pack_to_buffer
615 (const CoreML__Specification__ActivationThresholdedReLU *message,
616 ProtobufCBuffer *buffer)
617 {
618 assert(message->base.descriptor == &core_ml__specification__activation_thresholded_re_lu__descriptor);
619 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
620 }
621 CoreML__Specification__ActivationThresholdedReLU *
core_ml__specification__activation_thresholded_re_lu__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)622 core_ml__specification__activation_thresholded_re_lu__unpack
623 (ProtobufCAllocator *allocator,
624 size_t len,
625 const uint8_t *data)
626 {
627 return (CoreML__Specification__ActivationThresholdedReLU *)
628 protobuf_c_message_unpack (&core_ml__specification__activation_thresholded_re_lu__descriptor,
629 allocator, len, data);
630 }
core_ml__specification__activation_thresholded_re_lu__free_unpacked(CoreML__Specification__ActivationThresholdedReLU * message,ProtobufCAllocator * allocator)631 void core_ml__specification__activation_thresholded_re_lu__free_unpacked
632 (CoreML__Specification__ActivationThresholdedReLU *message,
633 ProtobufCAllocator *allocator)
634 {
635 if(!message)
636 return;
637 assert(message->base.descriptor == &core_ml__specification__activation_thresholded_re_lu__descriptor);
638 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
639 }
core_ml__specification__activation_softsign__init(CoreML__Specification__ActivationSoftsign * message)640 void core_ml__specification__activation_softsign__init
641 (CoreML__Specification__ActivationSoftsign *message)
642 {
643 static const CoreML__Specification__ActivationSoftsign init_value = CORE_ML__SPECIFICATION__ACTIVATION_SOFTSIGN__INIT;
644 *message = init_value;
645 }
core_ml__specification__activation_softsign__get_packed_size(const CoreML__Specification__ActivationSoftsign * message)646 size_t core_ml__specification__activation_softsign__get_packed_size
647 (const CoreML__Specification__ActivationSoftsign *message)
648 {
649 assert(message->base.descriptor == &core_ml__specification__activation_softsign__descriptor);
650 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
651 }
core_ml__specification__activation_softsign__pack(const CoreML__Specification__ActivationSoftsign * message,uint8_t * out)652 size_t core_ml__specification__activation_softsign__pack
653 (const CoreML__Specification__ActivationSoftsign *message,
654 uint8_t *out)
655 {
656 assert(message->base.descriptor == &core_ml__specification__activation_softsign__descriptor);
657 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
658 }
core_ml__specification__activation_softsign__pack_to_buffer(const CoreML__Specification__ActivationSoftsign * message,ProtobufCBuffer * buffer)659 size_t core_ml__specification__activation_softsign__pack_to_buffer
660 (const CoreML__Specification__ActivationSoftsign *message,
661 ProtobufCBuffer *buffer)
662 {
663 assert(message->base.descriptor == &core_ml__specification__activation_softsign__descriptor);
664 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
665 }
666 CoreML__Specification__ActivationSoftsign *
core_ml__specification__activation_softsign__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)667 core_ml__specification__activation_softsign__unpack
668 (ProtobufCAllocator *allocator,
669 size_t len,
670 const uint8_t *data)
671 {
672 return (CoreML__Specification__ActivationSoftsign *)
673 protobuf_c_message_unpack (&core_ml__specification__activation_softsign__descriptor,
674 allocator, len, data);
675 }
core_ml__specification__activation_softsign__free_unpacked(CoreML__Specification__ActivationSoftsign * message,ProtobufCAllocator * allocator)676 void core_ml__specification__activation_softsign__free_unpacked
677 (CoreML__Specification__ActivationSoftsign *message,
678 ProtobufCAllocator *allocator)
679 {
680 if(!message)
681 return;
682 assert(message->base.descriptor == &core_ml__specification__activation_softsign__descriptor);
683 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
684 }
core_ml__specification__activation_softplus__init(CoreML__Specification__ActivationSoftplus * message)685 void core_ml__specification__activation_softplus__init
686 (CoreML__Specification__ActivationSoftplus *message)
687 {
688 static const CoreML__Specification__ActivationSoftplus init_value = CORE_ML__SPECIFICATION__ACTIVATION_SOFTPLUS__INIT;
689 *message = init_value;
690 }
core_ml__specification__activation_softplus__get_packed_size(const CoreML__Specification__ActivationSoftplus * message)691 size_t core_ml__specification__activation_softplus__get_packed_size
692 (const CoreML__Specification__ActivationSoftplus *message)
693 {
694 assert(message->base.descriptor == &core_ml__specification__activation_softplus__descriptor);
695 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
696 }
core_ml__specification__activation_softplus__pack(const CoreML__Specification__ActivationSoftplus * message,uint8_t * out)697 size_t core_ml__specification__activation_softplus__pack
698 (const CoreML__Specification__ActivationSoftplus *message,
699 uint8_t *out)
700 {
701 assert(message->base.descriptor == &core_ml__specification__activation_softplus__descriptor);
702 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
703 }
core_ml__specification__activation_softplus__pack_to_buffer(const CoreML__Specification__ActivationSoftplus * message,ProtobufCBuffer * buffer)704 size_t core_ml__specification__activation_softplus__pack_to_buffer
705 (const CoreML__Specification__ActivationSoftplus *message,
706 ProtobufCBuffer *buffer)
707 {
708 assert(message->base.descriptor == &core_ml__specification__activation_softplus__descriptor);
709 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
710 }
711 CoreML__Specification__ActivationSoftplus *
core_ml__specification__activation_softplus__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)712 core_ml__specification__activation_softplus__unpack
713 (ProtobufCAllocator *allocator,
714 size_t len,
715 const uint8_t *data)
716 {
717 return (CoreML__Specification__ActivationSoftplus *)
718 protobuf_c_message_unpack (&core_ml__specification__activation_softplus__descriptor,
719 allocator, len, data);
720 }
core_ml__specification__activation_softplus__free_unpacked(CoreML__Specification__ActivationSoftplus * message,ProtobufCAllocator * allocator)721 void core_ml__specification__activation_softplus__free_unpacked
722 (CoreML__Specification__ActivationSoftplus *message,
723 ProtobufCAllocator *allocator)
724 {
725 if(!message)
726 return;
727 assert(message->base.descriptor == &core_ml__specification__activation_softplus__descriptor);
728 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
729 }
core_ml__specification__activation_parametric_softplus__init(CoreML__Specification__ActivationParametricSoftplus * message)730 void core_ml__specification__activation_parametric_softplus__init
731 (CoreML__Specification__ActivationParametricSoftplus *message)
732 {
733 static const CoreML__Specification__ActivationParametricSoftplus init_value = CORE_ML__SPECIFICATION__ACTIVATION_PARAMETRIC_SOFTPLUS__INIT;
734 *message = init_value;
735 }
core_ml__specification__activation_parametric_softplus__get_packed_size(const CoreML__Specification__ActivationParametricSoftplus * message)736 size_t core_ml__specification__activation_parametric_softplus__get_packed_size
737 (const CoreML__Specification__ActivationParametricSoftplus *message)
738 {
739 assert(message->base.descriptor == &core_ml__specification__activation_parametric_softplus__descriptor);
740 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
741 }
core_ml__specification__activation_parametric_softplus__pack(const CoreML__Specification__ActivationParametricSoftplus * message,uint8_t * out)742 size_t core_ml__specification__activation_parametric_softplus__pack
743 (const CoreML__Specification__ActivationParametricSoftplus *message,
744 uint8_t *out)
745 {
746 assert(message->base.descriptor == &core_ml__specification__activation_parametric_softplus__descriptor);
747 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
748 }
core_ml__specification__activation_parametric_softplus__pack_to_buffer(const CoreML__Specification__ActivationParametricSoftplus * message,ProtobufCBuffer * buffer)749 size_t core_ml__specification__activation_parametric_softplus__pack_to_buffer
750 (const CoreML__Specification__ActivationParametricSoftplus *message,
751 ProtobufCBuffer *buffer)
752 {
753 assert(message->base.descriptor == &core_ml__specification__activation_parametric_softplus__descriptor);
754 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
755 }
756 CoreML__Specification__ActivationParametricSoftplus *
core_ml__specification__activation_parametric_softplus__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)757 core_ml__specification__activation_parametric_softplus__unpack
758 (ProtobufCAllocator *allocator,
759 size_t len,
760 const uint8_t *data)
761 {
762 return (CoreML__Specification__ActivationParametricSoftplus *)
763 protobuf_c_message_unpack (&core_ml__specification__activation_parametric_softplus__descriptor,
764 allocator, len, data);
765 }
core_ml__specification__activation_parametric_softplus__free_unpacked(CoreML__Specification__ActivationParametricSoftplus * message,ProtobufCAllocator * allocator)766 void core_ml__specification__activation_parametric_softplus__free_unpacked
767 (CoreML__Specification__ActivationParametricSoftplus *message,
768 ProtobufCAllocator *allocator)
769 {
770 if(!message)
771 return;
772 assert(message->base.descriptor == &core_ml__specification__activation_parametric_softplus__descriptor);
773 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
774 }
core_ml__specification__activation_params__init(CoreML__Specification__ActivationParams * message)775 void core_ml__specification__activation_params__init
776 (CoreML__Specification__ActivationParams *message)
777 {
778 static const CoreML__Specification__ActivationParams init_value = CORE_ML__SPECIFICATION__ACTIVATION_PARAMS__INIT;
779 *message = init_value;
780 }
core_ml__specification__activation_params__get_packed_size(const CoreML__Specification__ActivationParams * message)781 size_t core_ml__specification__activation_params__get_packed_size
782 (const CoreML__Specification__ActivationParams *message)
783 {
784 assert(message->base.descriptor == &core_ml__specification__activation_params__descriptor);
785 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
786 }
core_ml__specification__activation_params__pack(const CoreML__Specification__ActivationParams * message,uint8_t * out)787 size_t core_ml__specification__activation_params__pack
788 (const CoreML__Specification__ActivationParams *message,
789 uint8_t *out)
790 {
791 assert(message->base.descriptor == &core_ml__specification__activation_params__descriptor);
792 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
793 }
core_ml__specification__activation_params__pack_to_buffer(const CoreML__Specification__ActivationParams * message,ProtobufCBuffer * buffer)794 size_t core_ml__specification__activation_params__pack_to_buffer
795 (const CoreML__Specification__ActivationParams *message,
796 ProtobufCBuffer *buffer)
797 {
798 assert(message->base.descriptor == &core_ml__specification__activation_params__descriptor);
799 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
800 }
801 CoreML__Specification__ActivationParams *
core_ml__specification__activation_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)802 core_ml__specification__activation_params__unpack
803 (ProtobufCAllocator *allocator,
804 size_t len,
805 const uint8_t *data)
806 {
807 return (CoreML__Specification__ActivationParams *)
808 protobuf_c_message_unpack (&core_ml__specification__activation_params__descriptor,
809 allocator, len, data);
810 }
core_ml__specification__activation_params__free_unpacked(CoreML__Specification__ActivationParams * message,ProtobufCAllocator * allocator)811 void core_ml__specification__activation_params__free_unpacked
812 (CoreML__Specification__ActivationParams *message,
813 ProtobufCAllocator *allocator)
814 {
815 if(!message)
816 return;
817 assert(message->base.descriptor == &core_ml__specification__activation_params__descriptor);
818 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
819 }
core_ml__specification__tensor__init(CoreML__Specification__Tensor * message)820 void core_ml__specification__tensor__init
821 (CoreML__Specification__Tensor *message)
822 {
823 static const CoreML__Specification__Tensor init_value = CORE_ML__SPECIFICATION__TENSOR__INIT;
824 *message = init_value;
825 }
core_ml__specification__tensor__get_packed_size(const CoreML__Specification__Tensor * message)826 size_t core_ml__specification__tensor__get_packed_size
827 (const CoreML__Specification__Tensor *message)
828 {
829 assert(message->base.descriptor == &core_ml__specification__tensor__descriptor);
830 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
831 }
core_ml__specification__tensor__pack(const CoreML__Specification__Tensor * message,uint8_t * out)832 size_t core_ml__specification__tensor__pack
833 (const CoreML__Specification__Tensor *message,
834 uint8_t *out)
835 {
836 assert(message->base.descriptor == &core_ml__specification__tensor__descriptor);
837 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
838 }
core_ml__specification__tensor__pack_to_buffer(const CoreML__Specification__Tensor * message,ProtobufCBuffer * buffer)839 size_t core_ml__specification__tensor__pack_to_buffer
840 (const CoreML__Specification__Tensor *message,
841 ProtobufCBuffer *buffer)
842 {
843 assert(message->base.descriptor == &core_ml__specification__tensor__descriptor);
844 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
845 }
846 CoreML__Specification__Tensor *
core_ml__specification__tensor__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)847 core_ml__specification__tensor__unpack
848 (ProtobufCAllocator *allocator,
849 size_t len,
850 const uint8_t *data)
851 {
852 return (CoreML__Specification__Tensor *)
853 protobuf_c_message_unpack (&core_ml__specification__tensor__descriptor,
854 allocator, len, data);
855 }
core_ml__specification__tensor__free_unpacked(CoreML__Specification__Tensor * message,ProtobufCAllocator * allocator)856 void core_ml__specification__tensor__free_unpacked
857 (CoreML__Specification__Tensor *message,
858 ProtobufCAllocator *allocator)
859 {
860 if(!message)
861 return;
862 assert(message->base.descriptor == &core_ml__specification__tensor__descriptor);
863 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
864 }
core_ml__specification__neural_network_layer__init(CoreML__Specification__NeuralNetworkLayer * message)865 void core_ml__specification__neural_network_layer__init
866 (CoreML__Specification__NeuralNetworkLayer *message)
867 {
868 static const CoreML__Specification__NeuralNetworkLayer init_value = CORE_ML__SPECIFICATION__NEURAL_NETWORK_LAYER__INIT;
869 *message = init_value;
870 }
core_ml__specification__neural_network_layer__get_packed_size(const CoreML__Specification__NeuralNetworkLayer * message)871 size_t core_ml__specification__neural_network_layer__get_packed_size
872 (const CoreML__Specification__NeuralNetworkLayer *message)
873 {
874 assert(message->base.descriptor == &core_ml__specification__neural_network_layer__descriptor);
875 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
876 }
core_ml__specification__neural_network_layer__pack(const CoreML__Specification__NeuralNetworkLayer * message,uint8_t * out)877 size_t core_ml__specification__neural_network_layer__pack
878 (const CoreML__Specification__NeuralNetworkLayer *message,
879 uint8_t *out)
880 {
881 assert(message->base.descriptor == &core_ml__specification__neural_network_layer__descriptor);
882 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
883 }
core_ml__specification__neural_network_layer__pack_to_buffer(const CoreML__Specification__NeuralNetworkLayer * message,ProtobufCBuffer * buffer)884 size_t core_ml__specification__neural_network_layer__pack_to_buffer
885 (const CoreML__Specification__NeuralNetworkLayer *message,
886 ProtobufCBuffer *buffer)
887 {
888 assert(message->base.descriptor == &core_ml__specification__neural_network_layer__descriptor);
889 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
890 }
891 CoreML__Specification__NeuralNetworkLayer *
core_ml__specification__neural_network_layer__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)892 core_ml__specification__neural_network_layer__unpack
893 (ProtobufCAllocator *allocator,
894 size_t len,
895 const uint8_t *data)
896 {
897 return (CoreML__Specification__NeuralNetworkLayer *)
898 protobuf_c_message_unpack (&core_ml__specification__neural_network_layer__descriptor,
899 allocator, len, data);
900 }
core_ml__specification__neural_network_layer__free_unpacked(CoreML__Specification__NeuralNetworkLayer * message,ProtobufCAllocator * allocator)901 void core_ml__specification__neural_network_layer__free_unpacked
902 (CoreML__Specification__NeuralNetworkLayer *message,
903 ProtobufCAllocator *allocator)
904 {
905 if(!message)
906 return;
907 assert(message->base.descriptor == &core_ml__specification__neural_network_layer__descriptor);
908 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
909 }
core_ml__specification__branch_layer_params__init(CoreML__Specification__BranchLayerParams * message)910 void core_ml__specification__branch_layer_params__init
911 (CoreML__Specification__BranchLayerParams *message)
912 {
913 static const CoreML__Specification__BranchLayerParams init_value = CORE_ML__SPECIFICATION__BRANCH_LAYER_PARAMS__INIT;
914 *message = init_value;
915 }
core_ml__specification__branch_layer_params__get_packed_size(const CoreML__Specification__BranchLayerParams * message)916 size_t core_ml__specification__branch_layer_params__get_packed_size
917 (const CoreML__Specification__BranchLayerParams *message)
918 {
919 assert(message->base.descriptor == &core_ml__specification__branch_layer_params__descriptor);
920 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
921 }
core_ml__specification__branch_layer_params__pack(const CoreML__Specification__BranchLayerParams * message,uint8_t * out)922 size_t core_ml__specification__branch_layer_params__pack
923 (const CoreML__Specification__BranchLayerParams *message,
924 uint8_t *out)
925 {
926 assert(message->base.descriptor == &core_ml__specification__branch_layer_params__descriptor);
927 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
928 }
core_ml__specification__branch_layer_params__pack_to_buffer(const CoreML__Specification__BranchLayerParams * message,ProtobufCBuffer * buffer)929 size_t core_ml__specification__branch_layer_params__pack_to_buffer
930 (const CoreML__Specification__BranchLayerParams *message,
931 ProtobufCBuffer *buffer)
932 {
933 assert(message->base.descriptor == &core_ml__specification__branch_layer_params__descriptor);
934 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
935 }
936 CoreML__Specification__BranchLayerParams *
core_ml__specification__branch_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)937 core_ml__specification__branch_layer_params__unpack
938 (ProtobufCAllocator *allocator,
939 size_t len,
940 const uint8_t *data)
941 {
942 return (CoreML__Specification__BranchLayerParams *)
943 protobuf_c_message_unpack (&core_ml__specification__branch_layer_params__descriptor,
944 allocator, len, data);
945 }
core_ml__specification__branch_layer_params__free_unpacked(CoreML__Specification__BranchLayerParams * message,ProtobufCAllocator * allocator)946 void core_ml__specification__branch_layer_params__free_unpacked
947 (CoreML__Specification__BranchLayerParams *message,
948 ProtobufCAllocator *allocator)
949 {
950 if(!message)
951 return;
952 assert(message->base.descriptor == &core_ml__specification__branch_layer_params__descriptor);
953 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
954 }
core_ml__specification__loop_layer_params__init(CoreML__Specification__LoopLayerParams * message)955 void core_ml__specification__loop_layer_params__init
956 (CoreML__Specification__LoopLayerParams *message)
957 {
958 static const CoreML__Specification__LoopLayerParams init_value = CORE_ML__SPECIFICATION__LOOP_LAYER_PARAMS__INIT;
959 *message = init_value;
960 }
core_ml__specification__loop_layer_params__get_packed_size(const CoreML__Specification__LoopLayerParams * message)961 size_t core_ml__specification__loop_layer_params__get_packed_size
962 (const CoreML__Specification__LoopLayerParams *message)
963 {
964 assert(message->base.descriptor == &core_ml__specification__loop_layer_params__descriptor);
965 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
966 }
core_ml__specification__loop_layer_params__pack(const CoreML__Specification__LoopLayerParams * message,uint8_t * out)967 size_t core_ml__specification__loop_layer_params__pack
968 (const CoreML__Specification__LoopLayerParams *message,
969 uint8_t *out)
970 {
971 assert(message->base.descriptor == &core_ml__specification__loop_layer_params__descriptor);
972 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
973 }
core_ml__specification__loop_layer_params__pack_to_buffer(const CoreML__Specification__LoopLayerParams * message,ProtobufCBuffer * buffer)974 size_t core_ml__specification__loop_layer_params__pack_to_buffer
975 (const CoreML__Specification__LoopLayerParams *message,
976 ProtobufCBuffer *buffer)
977 {
978 assert(message->base.descriptor == &core_ml__specification__loop_layer_params__descriptor);
979 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
980 }
981 CoreML__Specification__LoopLayerParams *
core_ml__specification__loop_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)982 core_ml__specification__loop_layer_params__unpack
983 (ProtobufCAllocator *allocator,
984 size_t len,
985 const uint8_t *data)
986 {
987 return (CoreML__Specification__LoopLayerParams *)
988 protobuf_c_message_unpack (&core_ml__specification__loop_layer_params__descriptor,
989 allocator, len, data);
990 }
core_ml__specification__loop_layer_params__free_unpacked(CoreML__Specification__LoopLayerParams * message,ProtobufCAllocator * allocator)991 void core_ml__specification__loop_layer_params__free_unpacked
992 (CoreML__Specification__LoopLayerParams *message,
993 ProtobufCAllocator *allocator)
994 {
995 if(!message)
996 return;
997 assert(message->base.descriptor == &core_ml__specification__loop_layer_params__descriptor);
998 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
999 }
core_ml__specification__loop_break_layer_params__init(CoreML__Specification__LoopBreakLayerParams * message)1000 void core_ml__specification__loop_break_layer_params__init
1001 (CoreML__Specification__LoopBreakLayerParams *message)
1002 {
1003 static const CoreML__Specification__LoopBreakLayerParams init_value = CORE_ML__SPECIFICATION__LOOP_BREAK_LAYER_PARAMS__INIT;
1004 *message = init_value;
1005 }
core_ml__specification__loop_break_layer_params__get_packed_size(const CoreML__Specification__LoopBreakLayerParams * message)1006 size_t core_ml__specification__loop_break_layer_params__get_packed_size
1007 (const CoreML__Specification__LoopBreakLayerParams *message)
1008 {
1009 assert(message->base.descriptor == &core_ml__specification__loop_break_layer_params__descriptor);
1010 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1011 }
core_ml__specification__loop_break_layer_params__pack(const CoreML__Specification__LoopBreakLayerParams * message,uint8_t * out)1012 size_t core_ml__specification__loop_break_layer_params__pack
1013 (const CoreML__Specification__LoopBreakLayerParams *message,
1014 uint8_t *out)
1015 {
1016 assert(message->base.descriptor == &core_ml__specification__loop_break_layer_params__descriptor);
1017 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1018 }
core_ml__specification__loop_break_layer_params__pack_to_buffer(const CoreML__Specification__LoopBreakLayerParams * message,ProtobufCBuffer * buffer)1019 size_t core_ml__specification__loop_break_layer_params__pack_to_buffer
1020 (const CoreML__Specification__LoopBreakLayerParams *message,
1021 ProtobufCBuffer *buffer)
1022 {
1023 assert(message->base.descriptor == &core_ml__specification__loop_break_layer_params__descriptor);
1024 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1025 }
1026 CoreML__Specification__LoopBreakLayerParams *
core_ml__specification__loop_break_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1027 core_ml__specification__loop_break_layer_params__unpack
1028 (ProtobufCAllocator *allocator,
1029 size_t len,
1030 const uint8_t *data)
1031 {
1032 return (CoreML__Specification__LoopBreakLayerParams *)
1033 protobuf_c_message_unpack (&core_ml__specification__loop_break_layer_params__descriptor,
1034 allocator, len, data);
1035 }
core_ml__specification__loop_break_layer_params__free_unpacked(CoreML__Specification__LoopBreakLayerParams * message,ProtobufCAllocator * allocator)1036 void core_ml__specification__loop_break_layer_params__free_unpacked
1037 (CoreML__Specification__LoopBreakLayerParams *message,
1038 ProtobufCAllocator *allocator)
1039 {
1040 if(!message)
1041 return;
1042 assert(message->base.descriptor == &core_ml__specification__loop_break_layer_params__descriptor);
1043 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1044 }
core_ml__specification__loop_continue_layer_params__init(CoreML__Specification__LoopContinueLayerParams * message)1045 void core_ml__specification__loop_continue_layer_params__init
1046 (CoreML__Specification__LoopContinueLayerParams *message)
1047 {
1048 static const CoreML__Specification__LoopContinueLayerParams init_value = CORE_ML__SPECIFICATION__LOOP_CONTINUE_LAYER_PARAMS__INIT;
1049 *message = init_value;
1050 }
core_ml__specification__loop_continue_layer_params__get_packed_size(const CoreML__Specification__LoopContinueLayerParams * message)1051 size_t core_ml__specification__loop_continue_layer_params__get_packed_size
1052 (const CoreML__Specification__LoopContinueLayerParams *message)
1053 {
1054 assert(message->base.descriptor == &core_ml__specification__loop_continue_layer_params__descriptor);
1055 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1056 }
core_ml__specification__loop_continue_layer_params__pack(const CoreML__Specification__LoopContinueLayerParams * message,uint8_t * out)1057 size_t core_ml__specification__loop_continue_layer_params__pack
1058 (const CoreML__Specification__LoopContinueLayerParams *message,
1059 uint8_t *out)
1060 {
1061 assert(message->base.descriptor == &core_ml__specification__loop_continue_layer_params__descriptor);
1062 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1063 }
core_ml__specification__loop_continue_layer_params__pack_to_buffer(const CoreML__Specification__LoopContinueLayerParams * message,ProtobufCBuffer * buffer)1064 size_t core_ml__specification__loop_continue_layer_params__pack_to_buffer
1065 (const CoreML__Specification__LoopContinueLayerParams *message,
1066 ProtobufCBuffer *buffer)
1067 {
1068 assert(message->base.descriptor == &core_ml__specification__loop_continue_layer_params__descriptor);
1069 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1070 }
1071 CoreML__Specification__LoopContinueLayerParams *
core_ml__specification__loop_continue_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1072 core_ml__specification__loop_continue_layer_params__unpack
1073 (ProtobufCAllocator *allocator,
1074 size_t len,
1075 const uint8_t *data)
1076 {
1077 return (CoreML__Specification__LoopContinueLayerParams *)
1078 protobuf_c_message_unpack (&core_ml__specification__loop_continue_layer_params__descriptor,
1079 allocator, len, data);
1080 }
core_ml__specification__loop_continue_layer_params__free_unpacked(CoreML__Specification__LoopContinueLayerParams * message,ProtobufCAllocator * allocator)1081 void core_ml__specification__loop_continue_layer_params__free_unpacked
1082 (CoreML__Specification__LoopContinueLayerParams *message,
1083 ProtobufCAllocator *allocator)
1084 {
1085 if(!message)
1086 return;
1087 assert(message->base.descriptor == &core_ml__specification__loop_continue_layer_params__descriptor);
1088 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1089 }
core_ml__specification__copy_layer_params__init(CoreML__Specification__CopyLayerParams * message)1090 void core_ml__specification__copy_layer_params__init
1091 (CoreML__Specification__CopyLayerParams *message)
1092 {
1093 static const CoreML__Specification__CopyLayerParams init_value = CORE_ML__SPECIFICATION__COPY_LAYER_PARAMS__INIT;
1094 *message = init_value;
1095 }
core_ml__specification__copy_layer_params__get_packed_size(const CoreML__Specification__CopyLayerParams * message)1096 size_t core_ml__specification__copy_layer_params__get_packed_size
1097 (const CoreML__Specification__CopyLayerParams *message)
1098 {
1099 assert(message->base.descriptor == &core_ml__specification__copy_layer_params__descriptor);
1100 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1101 }
core_ml__specification__copy_layer_params__pack(const CoreML__Specification__CopyLayerParams * message,uint8_t * out)1102 size_t core_ml__specification__copy_layer_params__pack
1103 (const CoreML__Specification__CopyLayerParams *message,
1104 uint8_t *out)
1105 {
1106 assert(message->base.descriptor == &core_ml__specification__copy_layer_params__descriptor);
1107 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1108 }
core_ml__specification__copy_layer_params__pack_to_buffer(const CoreML__Specification__CopyLayerParams * message,ProtobufCBuffer * buffer)1109 size_t core_ml__specification__copy_layer_params__pack_to_buffer
1110 (const CoreML__Specification__CopyLayerParams *message,
1111 ProtobufCBuffer *buffer)
1112 {
1113 assert(message->base.descriptor == &core_ml__specification__copy_layer_params__descriptor);
1114 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1115 }
1116 CoreML__Specification__CopyLayerParams *
core_ml__specification__copy_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1117 core_ml__specification__copy_layer_params__unpack
1118 (ProtobufCAllocator *allocator,
1119 size_t len,
1120 const uint8_t *data)
1121 {
1122 return (CoreML__Specification__CopyLayerParams *)
1123 protobuf_c_message_unpack (&core_ml__specification__copy_layer_params__descriptor,
1124 allocator, len, data);
1125 }
core_ml__specification__copy_layer_params__free_unpacked(CoreML__Specification__CopyLayerParams * message,ProtobufCAllocator * allocator)1126 void core_ml__specification__copy_layer_params__free_unpacked
1127 (CoreML__Specification__CopyLayerParams *message,
1128 ProtobufCAllocator *allocator)
1129 {
1130 if(!message)
1131 return;
1132 assert(message->base.descriptor == &core_ml__specification__copy_layer_params__descriptor);
1133 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1134 }
core_ml__specification__greater_than_layer_params__init(CoreML__Specification__GreaterThanLayerParams * message)1135 void core_ml__specification__greater_than_layer_params__init
1136 (CoreML__Specification__GreaterThanLayerParams *message)
1137 {
1138 static const CoreML__Specification__GreaterThanLayerParams init_value = CORE_ML__SPECIFICATION__GREATER_THAN_LAYER_PARAMS__INIT;
1139 *message = init_value;
1140 }
core_ml__specification__greater_than_layer_params__get_packed_size(const CoreML__Specification__GreaterThanLayerParams * message)1141 size_t core_ml__specification__greater_than_layer_params__get_packed_size
1142 (const CoreML__Specification__GreaterThanLayerParams *message)
1143 {
1144 assert(message->base.descriptor == &core_ml__specification__greater_than_layer_params__descriptor);
1145 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1146 }
core_ml__specification__greater_than_layer_params__pack(const CoreML__Specification__GreaterThanLayerParams * message,uint8_t * out)1147 size_t core_ml__specification__greater_than_layer_params__pack
1148 (const CoreML__Specification__GreaterThanLayerParams *message,
1149 uint8_t *out)
1150 {
1151 assert(message->base.descriptor == &core_ml__specification__greater_than_layer_params__descriptor);
1152 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1153 }
core_ml__specification__greater_than_layer_params__pack_to_buffer(const CoreML__Specification__GreaterThanLayerParams * message,ProtobufCBuffer * buffer)1154 size_t core_ml__specification__greater_than_layer_params__pack_to_buffer
1155 (const CoreML__Specification__GreaterThanLayerParams *message,
1156 ProtobufCBuffer *buffer)
1157 {
1158 assert(message->base.descriptor == &core_ml__specification__greater_than_layer_params__descriptor);
1159 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1160 }
1161 CoreML__Specification__GreaterThanLayerParams *
core_ml__specification__greater_than_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1162 core_ml__specification__greater_than_layer_params__unpack
1163 (ProtobufCAllocator *allocator,
1164 size_t len,
1165 const uint8_t *data)
1166 {
1167 return (CoreML__Specification__GreaterThanLayerParams *)
1168 protobuf_c_message_unpack (&core_ml__specification__greater_than_layer_params__descriptor,
1169 allocator, len, data);
1170 }
core_ml__specification__greater_than_layer_params__free_unpacked(CoreML__Specification__GreaterThanLayerParams * message,ProtobufCAllocator * allocator)1171 void core_ml__specification__greater_than_layer_params__free_unpacked
1172 (CoreML__Specification__GreaterThanLayerParams *message,
1173 ProtobufCAllocator *allocator)
1174 {
1175 if(!message)
1176 return;
1177 assert(message->base.descriptor == &core_ml__specification__greater_than_layer_params__descriptor);
1178 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1179 }
core_ml__specification__greater_equal_layer_params__init(CoreML__Specification__GreaterEqualLayerParams * message)1180 void core_ml__specification__greater_equal_layer_params__init
1181 (CoreML__Specification__GreaterEqualLayerParams *message)
1182 {
1183 static const CoreML__Specification__GreaterEqualLayerParams init_value = CORE_ML__SPECIFICATION__GREATER_EQUAL_LAYER_PARAMS__INIT;
1184 *message = init_value;
1185 }
core_ml__specification__greater_equal_layer_params__get_packed_size(const CoreML__Specification__GreaterEqualLayerParams * message)1186 size_t core_ml__specification__greater_equal_layer_params__get_packed_size
1187 (const CoreML__Specification__GreaterEqualLayerParams *message)
1188 {
1189 assert(message->base.descriptor == &core_ml__specification__greater_equal_layer_params__descriptor);
1190 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1191 }
core_ml__specification__greater_equal_layer_params__pack(const CoreML__Specification__GreaterEqualLayerParams * message,uint8_t * out)1192 size_t core_ml__specification__greater_equal_layer_params__pack
1193 (const CoreML__Specification__GreaterEqualLayerParams *message,
1194 uint8_t *out)
1195 {
1196 assert(message->base.descriptor == &core_ml__specification__greater_equal_layer_params__descriptor);
1197 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1198 }
core_ml__specification__greater_equal_layer_params__pack_to_buffer(const CoreML__Specification__GreaterEqualLayerParams * message,ProtobufCBuffer * buffer)1199 size_t core_ml__specification__greater_equal_layer_params__pack_to_buffer
1200 (const CoreML__Specification__GreaterEqualLayerParams *message,
1201 ProtobufCBuffer *buffer)
1202 {
1203 assert(message->base.descriptor == &core_ml__specification__greater_equal_layer_params__descriptor);
1204 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1205 }
1206 CoreML__Specification__GreaterEqualLayerParams *
core_ml__specification__greater_equal_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1207 core_ml__specification__greater_equal_layer_params__unpack
1208 (ProtobufCAllocator *allocator,
1209 size_t len,
1210 const uint8_t *data)
1211 {
1212 return (CoreML__Specification__GreaterEqualLayerParams *)
1213 protobuf_c_message_unpack (&core_ml__specification__greater_equal_layer_params__descriptor,
1214 allocator, len, data);
1215 }
core_ml__specification__greater_equal_layer_params__free_unpacked(CoreML__Specification__GreaterEqualLayerParams * message,ProtobufCAllocator * allocator)1216 void core_ml__specification__greater_equal_layer_params__free_unpacked
1217 (CoreML__Specification__GreaterEqualLayerParams *message,
1218 ProtobufCAllocator *allocator)
1219 {
1220 if(!message)
1221 return;
1222 assert(message->base.descriptor == &core_ml__specification__greater_equal_layer_params__descriptor);
1223 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1224 }
core_ml__specification__less_than_layer_params__init(CoreML__Specification__LessThanLayerParams * message)1225 void core_ml__specification__less_than_layer_params__init
1226 (CoreML__Specification__LessThanLayerParams *message)
1227 {
1228 static const CoreML__Specification__LessThanLayerParams init_value = CORE_ML__SPECIFICATION__LESS_THAN_LAYER_PARAMS__INIT;
1229 *message = init_value;
1230 }
core_ml__specification__less_than_layer_params__get_packed_size(const CoreML__Specification__LessThanLayerParams * message)1231 size_t core_ml__specification__less_than_layer_params__get_packed_size
1232 (const CoreML__Specification__LessThanLayerParams *message)
1233 {
1234 assert(message->base.descriptor == &core_ml__specification__less_than_layer_params__descriptor);
1235 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1236 }
core_ml__specification__less_than_layer_params__pack(const CoreML__Specification__LessThanLayerParams * message,uint8_t * out)1237 size_t core_ml__specification__less_than_layer_params__pack
1238 (const CoreML__Specification__LessThanLayerParams *message,
1239 uint8_t *out)
1240 {
1241 assert(message->base.descriptor == &core_ml__specification__less_than_layer_params__descriptor);
1242 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1243 }
core_ml__specification__less_than_layer_params__pack_to_buffer(const CoreML__Specification__LessThanLayerParams * message,ProtobufCBuffer * buffer)1244 size_t core_ml__specification__less_than_layer_params__pack_to_buffer
1245 (const CoreML__Specification__LessThanLayerParams *message,
1246 ProtobufCBuffer *buffer)
1247 {
1248 assert(message->base.descriptor == &core_ml__specification__less_than_layer_params__descriptor);
1249 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1250 }
1251 CoreML__Specification__LessThanLayerParams *
core_ml__specification__less_than_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1252 core_ml__specification__less_than_layer_params__unpack
1253 (ProtobufCAllocator *allocator,
1254 size_t len,
1255 const uint8_t *data)
1256 {
1257 return (CoreML__Specification__LessThanLayerParams *)
1258 protobuf_c_message_unpack (&core_ml__specification__less_than_layer_params__descriptor,
1259 allocator, len, data);
1260 }
core_ml__specification__less_than_layer_params__free_unpacked(CoreML__Specification__LessThanLayerParams * message,ProtobufCAllocator * allocator)1261 void core_ml__specification__less_than_layer_params__free_unpacked
1262 (CoreML__Specification__LessThanLayerParams *message,
1263 ProtobufCAllocator *allocator)
1264 {
1265 if(!message)
1266 return;
1267 assert(message->base.descriptor == &core_ml__specification__less_than_layer_params__descriptor);
1268 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1269 }
core_ml__specification__less_equal_layer_params__init(CoreML__Specification__LessEqualLayerParams * message)1270 void core_ml__specification__less_equal_layer_params__init
1271 (CoreML__Specification__LessEqualLayerParams *message)
1272 {
1273 static const CoreML__Specification__LessEqualLayerParams init_value = CORE_ML__SPECIFICATION__LESS_EQUAL_LAYER_PARAMS__INIT;
1274 *message = init_value;
1275 }
core_ml__specification__less_equal_layer_params__get_packed_size(const CoreML__Specification__LessEqualLayerParams * message)1276 size_t core_ml__specification__less_equal_layer_params__get_packed_size
1277 (const CoreML__Specification__LessEqualLayerParams *message)
1278 {
1279 assert(message->base.descriptor == &core_ml__specification__less_equal_layer_params__descriptor);
1280 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1281 }
core_ml__specification__less_equal_layer_params__pack(const CoreML__Specification__LessEqualLayerParams * message,uint8_t * out)1282 size_t core_ml__specification__less_equal_layer_params__pack
1283 (const CoreML__Specification__LessEqualLayerParams *message,
1284 uint8_t *out)
1285 {
1286 assert(message->base.descriptor == &core_ml__specification__less_equal_layer_params__descriptor);
1287 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1288 }
core_ml__specification__less_equal_layer_params__pack_to_buffer(const CoreML__Specification__LessEqualLayerParams * message,ProtobufCBuffer * buffer)1289 size_t core_ml__specification__less_equal_layer_params__pack_to_buffer
1290 (const CoreML__Specification__LessEqualLayerParams *message,
1291 ProtobufCBuffer *buffer)
1292 {
1293 assert(message->base.descriptor == &core_ml__specification__less_equal_layer_params__descriptor);
1294 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1295 }
1296 CoreML__Specification__LessEqualLayerParams *
core_ml__specification__less_equal_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1297 core_ml__specification__less_equal_layer_params__unpack
1298 (ProtobufCAllocator *allocator,
1299 size_t len,
1300 const uint8_t *data)
1301 {
1302 return (CoreML__Specification__LessEqualLayerParams *)
1303 protobuf_c_message_unpack (&core_ml__specification__less_equal_layer_params__descriptor,
1304 allocator, len, data);
1305 }
core_ml__specification__less_equal_layer_params__free_unpacked(CoreML__Specification__LessEqualLayerParams * message,ProtobufCAllocator * allocator)1306 void core_ml__specification__less_equal_layer_params__free_unpacked
1307 (CoreML__Specification__LessEqualLayerParams *message,
1308 ProtobufCAllocator *allocator)
1309 {
1310 if(!message)
1311 return;
1312 assert(message->base.descriptor == &core_ml__specification__less_equal_layer_params__descriptor);
1313 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1314 }
core_ml__specification__equal_layer_params__init(CoreML__Specification__EqualLayerParams * message)1315 void core_ml__specification__equal_layer_params__init
1316 (CoreML__Specification__EqualLayerParams *message)
1317 {
1318 static const CoreML__Specification__EqualLayerParams init_value = CORE_ML__SPECIFICATION__EQUAL_LAYER_PARAMS__INIT;
1319 *message = init_value;
1320 }
core_ml__specification__equal_layer_params__get_packed_size(const CoreML__Specification__EqualLayerParams * message)1321 size_t core_ml__specification__equal_layer_params__get_packed_size
1322 (const CoreML__Specification__EqualLayerParams *message)
1323 {
1324 assert(message->base.descriptor == &core_ml__specification__equal_layer_params__descriptor);
1325 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1326 }
core_ml__specification__equal_layer_params__pack(const CoreML__Specification__EqualLayerParams * message,uint8_t * out)1327 size_t core_ml__specification__equal_layer_params__pack
1328 (const CoreML__Specification__EqualLayerParams *message,
1329 uint8_t *out)
1330 {
1331 assert(message->base.descriptor == &core_ml__specification__equal_layer_params__descriptor);
1332 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1333 }
core_ml__specification__equal_layer_params__pack_to_buffer(const CoreML__Specification__EqualLayerParams * message,ProtobufCBuffer * buffer)1334 size_t core_ml__specification__equal_layer_params__pack_to_buffer
1335 (const CoreML__Specification__EqualLayerParams *message,
1336 ProtobufCBuffer *buffer)
1337 {
1338 assert(message->base.descriptor == &core_ml__specification__equal_layer_params__descriptor);
1339 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1340 }
1341 CoreML__Specification__EqualLayerParams *
core_ml__specification__equal_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1342 core_ml__specification__equal_layer_params__unpack
1343 (ProtobufCAllocator *allocator,
1344 size_t len,
1345 const uint8_t *data)
1346 {
1347 return (CoreML__Specification__EqualLayerParams *)
1348 protobuf_c_message_unpack (&core_ml__specification__equal_layer_params__descriptor,
1349 allocator, len, data);
1350 }
core_ml__specification__equal_layer_params__free_unpacked(CoreML__Specification__EqualLayerParams * message,ProtobufCAllocator * allocator)1351 void core_ml__specification__equal_layer_params__free_unpacked
1352 (CoreML__Specification__EqualLayerParams *message,
1353 ProtobufCAllocator *allocator)
1354 {
1355 if(!message)
1356 return;
1357 assert(message->base.descriptor == &core_ml__specification__equal_layer_params__descriptor);
1358 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1359 }
core_ml__specification__not_equal_layer_params__init(CoreML__Specification__NotEqualLayerParams * message)1360 void core_ml__specification__not_equal_layer_params__init
1361 (CoreML__Specification__NotEqualLayerParams *message)
1362 {
1363 static const CoreML__Specification__NotEqualLayerParams init_value = CORE_ML__SPECIFICATION__NOT_EQUAL_LAYER_PARAMS__INIT;
1364 *message = init_value;
1365 }
core_ml__specification__not_equal_layer_params__get_packed_size(const CoreML__Specification__NotEqualLayerParams * message)1366 size_t core_ml__specification__not_equal_layer_params__get_packed_size
1367 (const CoreML__Specification__NotEqualLayerParams *message)
1368 {
1369 assert(message->base.descriptor == &core_ml__specification__not_equal_layer_params__descriptor);
1370 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1371 }
core_ml__specification__not_equal_layer_params__pack(const CoreML__Specification__NotEqualLayerParams * message,uint8_t * out)1372 size_t core_ml__specification__not_equal_layer_params__pack
1373 (const CoreML__Specification__NotEqualLayerParams *message,
1374 uint8_t *out)
1375 {
1376 assert(message->base.descriptor == &core_ml__specification__not_equal_layer_params__descriptor);
1377 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1378 }
core_ml__specification__not_equal_layer_params__pack_to_buffer(const CoreML__Specification__NotEqualLayerParams * message,ProtobufCBuffer * buffer)1379 size_t core_ml__specification__not_equal_layer_params__pack_to_buffer
1380 (const CoreML__Specification__NotEqualLayerParams *message,
1381 ProtobufCBuffer *buffer)
1382 {
1383 assert(message->base.descriptor == &core_ml__specification__not_equal_layer_params__descriptor);
1384 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1385 }
1386 CoreML__Specification__NotEqualLayerParams *
core_ml__specification__not_equal_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1387 core_ml__specification__not_equal_layer_params__unpack
1388 (ProtobufCAllocator *allocator,
1389 size_t len,
1390 const uint8_t *data)
1391 {
1392 return (CoreML__Specification__NotEqualLayerParams *)
1393 protobuf_c_message_unpack (&core_ml__specification__not_equal_layer_params__descriptor,
1394 allocator, len, data);
1395 }
core_ml__specification__not_equal_layer_params__free_unpacked(CoreML__Specification__NotEqualLayerParams * message,ProtobufCAllocator * allocator)1396 void core_ml__specification__not_equal_layer_params__free_unpacked
1397 (CoreML__Specification__NotEqualLayerParams *message,
1398 ProtobufCAllocator *allocator)
1399 {
1400 if(!message)
1401 return;
1402 assert(message->base.descriptor == &core_ml__specification__not_equal_layer_params__descriptor);
1403 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1404 }
core_ml__specification__logical_and_layer_params__init(CoreML__Specification__LogicalAndLayerParams * message)1405 void core_ml__specification__logical_and_layer_params__init
1406 (CoreML__Specification__LogicalAndLayerParams *message)
1407 {
1408 static const CoreML__Specification__LogicalAndLayerParams init_value = CORE_ML__SPECIFICATION__LOGICAL_AND_LAYER_PARAMS__INIT;
1409 *message = init_value;
1410 }
core_ml__specification__logical_and_layer_params__get_packed_size(const CoreML__Specification__LogicalAndLayerParams * message)1411 size_t core_ml__specification__logical_and_layer_params__get_packed_size
1412 (const CoreML__Specification__LogicalAndLayerParams *message)
1413 {
1414 assert(message->base.descriptor == &core_ml__specification__logical_and_layer_params__descriptor);
1415 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1416 }
core_ml__specification__logical_and_layer_params__pack(const CoreML__Specification__LogicalAndLayerParams * message,uint8_t * out)1417 size_t core_ml__specification__logical_and_layer_params__pack
1418 (const CoreML__Specification__LogicalAndLayerParams *message,
1419 uint8_t *out)
1420 {
1421 assert(message->base.descriptor == &core_ml__specification__logical_and_layer_params__descriptor);
1422 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1423 }
core_ml__specification__logical_and_layer_params__pack_to_buffer(const CoreML__Specification__LogicalAndLayerParams * message,ProtobufCBuffer * buffer)1424 size_t core_ml__specification__logical_and_layer_params__pack_to_buffer
1425 (const CoreML__Specification__LogicalAndLayerParams *message,
1426 ProtobufCBuffer *buffer)
1427 {
1428 assert(message->base.descriptor == &core_ml__specification__logical_and_layer_params__descriptor);
1429 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1430 }
1431 CoreML__Specification__LogicalAndLayerParams *
core_ml__specification__logical_and_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1432 core_ml__specification__logical_and_layer_params__unpack
1433 (ProtobufCAllocator *allocator,
1434 size_t len,
1435 const uint8_t *data)
1436 {
1437 return (CoreML__Specification__LogicalAndLayerParams *)
1438 protobuf_c_message_unpack (&core_ml__specification__logical_and_layer_params__descriptor,
1439 allocator, len, data);
1440 }
core_ml__specification__logical_and_layer_params__free_unpacked(CoreML__Specification__LogicalAndLayerParams * message,ProtobufCAllocator * allocator)1441 void core_ml__specification__logical_and_layer_params__free_unpacked
1442 (CoreML__Specification__LogicalAndLayerParams *message,
1443 ProtobufCAllocator *allocator)
1444 {
1445 if(!message)
1446 return;
1447 assert(message->base.descriptor == &core_ml__specification__logical_and_layer_params__descriptor);
1448 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1449 }
core_ml__specification__logical_or_layer_params__init(CoreML__Specification__LogicalOrLayerParams * message)1450 void core_ml__specification__logical_or_layer_params__init
1451 (CoreML__Specification__LogicalOrLayerParams *message)
1452 {
1453 static const CoreML__Specification__LogicalOrLayerParams init_value = CORE_ML__SPECIFICATION__LOGICAL_OR_LAYER_PARAMS__INIT;
1454 *message = init_value;
1455 }
core_ml__specification__logical_or_layer_params__get_packed_size(const CoreML__Specification__LogicalOrLayerParams * message)1456 size_t core_ml__specification__logical_or_layer_params__get_packed_size
1457 (const CoreML__Specification__LogicalOrLayerParams *message)
1458 {
1459 assert(message->base.descriptor == &core_ml__specification__logical_or_layer_params__descriptor);
1460 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1461 }
core_ml__specification__logical_or_layer_params__pack(const CoreML__Specification__LogicalOrLayerParams * message,uint8_t * out)1462 size_t core_ml__specification__logical_or_layer_params__pack
1463 (const CoreML__Specification__LogicalOrLayerParams *message,
1464 uint8_t *out)
1465 {
1466 assert(message->base.descriptor == &core_ml__specification__logical_or_layer_params__descriptor);
1467 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1468 }
core_ml__specification__logical_or_layer_params__pack_to_buffer(const CoreML__Specification__LogicalOrLayerParams * message,ProtobufCBuffer * buffer)1469 size_t core_ml__specification__logical_or_layer_params__pack_to_buffer
1470 (const CoreML__Specification__LogicalOrLayerParams *message,
1471 ProtobufCBuffer *buffer)
1472 {
1473 assert(message->base.descriptor == &core_ml__specification__logical_or_layer_params__descriptor);
1474 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1475 }
1476 CoreML__Specification__LogicalOrLayerParams *
core_ml__specification__logical_or_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1477 core_ml__specification__logical_or_layer_params__unpack
1478 (ProtobufCAllocator *allocator,
1479 size_t len,
1480 const uint8_t *data)
1481 {
1482 return (CoreML__Specification__LogicalOrLayerParams *)
1483 protobuf_c_message_unpack (&core_ml__specification__logical_or_layer_params__descriptor,
1484 allocator, len, data);
1485 }
core_ml__specification__logical_or_layer_params__free_unpacked(CoreML__Specification__LogicalOrLayerParams * message,ProtobufCAllocator * allocator)1486 void core_ml__specification__logical_or_layer_params__free_unpacked
1487 (CoreML__Specification__LogicalOrLayerParams *message,
1488 ProtobufCAllocator *allocator)
1489 {
1490 if(!message)
1491 return;
1492 assert(message->base.descriptor == &core_ml__specification__logical_or_layer_params__descriptor);
1493 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1494 }
core_ml__specification__logical_xor_layer_params__init(CoreML__Specification__LogicalXorLayerParams * message)1495 void core_ml__specification__logical_xor_layer_params__init
1496 (CoreML__Specification__LogicalXorLayerParams *message)
1497 {
1498 static const CoreML__Specification__LogicalXorLayerParams init_value = CORE_ML__SPECIFICATION__LOGICAL_XOR_LAYER_PARAMS__INIT;
1499 *message = init_value;
1500 }
core_ml__specification__logical_xor_layer_params__get_packed_size(const CoreML__Specification__LogicalXorLayerParams * message)1501 size_t core_ml__specification__logical_xor_layer_params__get_packed_size
1502 (const CoreML__Specification__LogicalXorLayerParams *message)
1503 {
1504 assert(message->base.descriptor == &core_ml__specification__logical_xor_layer_params__descriptor);
1505 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1506 }
core_ml__specification__logical_xor_layer_params__pack(const CoreML__Specification__LogicalXorLayerParams * message,uint8_t * out)1507 size_t core_ml__specification__logical_xor_layer_params__pack
1508 (const CoreML__Specification__LogicalXorLayerParams *message,
1509 uint8_t *out)
1510 {
1511 assert(message->base.descriptor == &core_ml__specification__logical_xor_layer_params__descriptor);
1512 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1513 }
core_ml__specification__logical_xor_layer_params__pack_to_buffer(const CoreML__Specification__LogicalXorLayerParams * message,ProtobufCBuffer * buffer)1514 size_t core_ml__specification__logical_xor_layer_params__pack_to_buffer
1515 (const CoreML__Specification__LogicalXorLayerParams *message,
1516 ProtobufCBuffer *buffer)
1517 {
1518 assert(message->base.descriptor == &core_ml__specification__logical_xor_layer_params__descriptor);
1519 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1520 }
1521 CoreML__Specification__LogicalXorLayerParams *
core_ml__specification__logical_xor_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1522 core_ml__specification__logical_xor_layer_params__unpack
1523 (ProtobufCAllocator *allocator,
1524 size_t len,
1525 const uint8_t *data)
1526 {
1527 return (CoreML__Specification__LogicalXorLayerParams *)
1528 protobuf_c_message_unpack (&core_ml__specification__logical_xor_layer_params__descriptor,
1529 allocator, len, data);
1530 }
core_ml__specification__logical_xor_layer_params__free_unpacked(CoreML__Specification__LogicalXorLayerParams * message,ProtobufCAllocator * allocator)1531 void core_ml__specification__logical_xor_layer_params__free_unpacked
1532 (CoreML__Specification__LogicalXorLayerParams *message,
1533 ProtobufCAllocator *allocator)
1534 {
1535 if(!message)
1536 return;
1537 assert(message->base.descriptor == &core_ml__specification__logical_xor_layer_params__descriptor);
1538 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1539 }
core_ml__specification__logical_not_layer_params__init(CoreML__Specification__LogicalNotLayerParams * message)1540 void core_ml__specification__logical_not_layer_params__init
1541 (CoreML__Specification__LogicalNotLayerParams *message)
1542 {
1543 static const CoreML__Specification__LogicalNotLayerParams init_value = CORE_ML__SPECIFICATION__LOGICAL_NOT_LAYER_PARAMS__INIT;
1544 *message = init_value;
1545 }
core_ml__specification__logical_not_layer_params__get_packed_size(const CoreML__Specification__LogicalNotLayerParams * message)1546 size_t core_ml__specification__logical_not_layer_params__get_packed_size
1547 (const CoreML__Specification__LogicalNotLayerParams *message)
1548 {
1549 assert(message->base.descriptor == &core_ml__specification__logical_not_layer_params__descriptor);
1550 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1551 }
core_ml__specification__logical_not_layer_params__pack(const CoreML__Specification__LogicalNotLayerParams * message,uint8_t * out)1552 size_t core_ml__specification__logical_not_layer_params__pack
1553 (const CoreML__Specification__LogicalNotLayerParams *message,
1554 uint8_t *out)
1555 {
1556 assert(message->base.descriptor == &core_ml__specification__logical_not_layer_params__descriptor);
1557 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1558 }
core_ml__specification__logical_not_layer_params__pack_to_buffer(const CoreML__Specification__LogicalNotLayerParams * message,ProtobufCBuffer * buffer)1559 size_t core_ml__specification__logical_not_layer_params__pack_to_buffer
1560 (const CoreML__Specification__LogicalNotLayerParams *message,
1561 ProtobufCBuffer *buffer)
1562 {
1563 assert(message->base.descriptor == &core_ml__specification__logical_not_layer_params__descriptor);
1564 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1565 }
1566 CoreML__Specification__LogicalNotLayerParams *
core_ml__specification__logical_not_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1567 core_ml__specification__logical_not_layer_params__unpack
1568 (ProtobufCAllocator *allocator,
1569 size_t len,
1570 const uint8_t *data)
1571 {
1572 return (CoreML__Specification__LogicalNotLayerParams *)
1573 protobuf_c_message_unpack (&core_ml__specification__logical_not_layer_params__descriptor,
1574 allocator, len, data);
1575 }
core_ml__specification__logical_not_layer_params__free_unpacked(CoreML__Specification__LogicalNotLayerParams * message,ProtobufCAllocator * allocator)1576 void core_ml__specification__logical_not_layer_params__free_unpacked
1577 (CoreML__Specification__LogicalNotLayerParams *message,
1578 ProtobufCAllocator *allocator)
1579 {
1580 if(!message)
1581 return;
1582 assert(message->base.descriptor == &core_ml__specification__logical_not_layer_params__descriptor);
1583 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1584 }
core_ml__specification__border_amounts__edge_sizes__init(CoreML__Specification__BorderAmounts__EdgeSizes * message)1585 void core_ml__specification__border_amounts__edge_sizes__init
1586 (CoreML__Specification__BorderAmounts__EdgeSizes *message)
1587 {
1588 static const CoreML__Specification__BorderAmounts__EdgeSizes init_value = CORE_ML__SPECIFICATION__BORDER_AMOUNTS__EDGE_SIZES__INIT;
1589 *message = init_value;
1590 }
core_ml__specification__border_amounts__init(CoreML__Specification__BorderAmounts * message)1591 void core_ml__specification__border_amounts__init
1592 (CoreML__Specification__BorderAmounts *message)
1593 {
1594 static const CoreML__Specification__BorderAmounts init_value = CORE_ML__SPECIFICATION__BORDER_AMOUNTS__INIT;
1595 *message = init_value;
1596 }
core_ml__specification__border_amounts__get_packed_size(const CoreML__Specification__BorderAmounts * message)1597 size_t core_ml__specification__border_amounts__get_packed_size
1598 (const CoreML__Specification__BorderAmounts *message)
1599 {
1600 assert(message->base.descriptor == &core_ml__specification__border_amounts__descriptor);
1601 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1602 }
core_ml__specification__border_amounts__pack(const CoreML__Specification__BorderAmounts * message,uint8_t * out)1603 size_t core_ml__specification__border_amounts__pack
1604 (const CoreML__Specification__BorderAmounts *message,
1605 uint8_t *out)
1606 {
1607 assert(message->base.descriptor == &core_ml__specification__border_amounts__descriptor);
1608 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1609 }
core_ml__specification__border_amounts__pack_to_buffer(const CoreML__Specification__BorderAmounts * message,ProtobufCBuffer * buffer)1610 size_t core_ml__specification__border_amounts__pack_to_buffer
1611 (const CoreML__Specification__BorderAmounts *message,
1612 ProtobufCBuffer *buffer)
1613 {
1614 assert(message->base.descriptor == &core_ml__specification__border_amounts__descriptor);
1615 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1616 }
1617 CoreML__Specification__BorderAmounts *
core_ml__specification__border_amounts__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1618 core_ml__specification__border_amounts__unpack
1619 (ProtobufCAllocator *allocator,
1620 size_t len,
1621 const uint8_t *data)
1622 {
1623 return (CoreML__Specification__BorderAmounts *)
1624 protobuf_c_message_unpack (&core_ml__specification__border_amounts__descriptor,
1625 allocator, len, data);
1626 }
core_ml__specification__border_amounts__free_unpacked(CoreML__Specification__BorderAmounts * message,ProtobufCAllocator * allocator)1627 void core_ml__specification__border_amounts__free_unpacked
1628 (CoreML__Specification__BorderAmounts *message,
1629 ProtobufCAllocator *allocator)
1630 {
1631 if(!message)
1632 return;
1633 assert(message->base.descriptor == &core_ml__specification__border_amounts__descriptor);
1634 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1635 }
core_ml__specification__valid_padding__init(CoreML__Specification__ValidPadding * message)1636 void core_ml__specification__valid_padding__init
1637 (CoreML__Specification__ValidPadding *message)
1638 {
1639 static const CoreML__Specification__ValidPadding init_value = CORE_ML__SPECIFICATION__VALID_PADDING__INIT;
1640 *message = init_value;
1641 }
core_ml__specification__valid_padding__get_packed_size(const CoreML__Specification__ValidPadding * message)1642 size_t core_ml__specification__valid_padding__get_packed_size
1643 (const CoreML__Specification__ValidPadding *message)
1644 {
1645 assert(message->base.descriptor == &core_ml__specification__valid_padding__descriptor);
1646 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1647 }
core_ml__specification__valid_padding__pack(const CoreML__Specification__ValidPadding * message,uint8_t * out)1648 size_t core_ml__specification__valid_padding__pack
1649 (const CoreML__Specification__ValidPadding *message,
1650 uint8_t *out)
1651 {
1652 assert(message->base.descriptor == &core_ml__specification__valid_padding__descriptor);
1653 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1654 }
core_ml__specification__valid_padding__pack_to_buffer(const CoreML__Specification__ValidPadding * message,ProtobufCBuffer * buffer)1655 size_t core_ml__specification__valid_padding__pack_to_buffer
1656 (const CoreML__Specification__ValidPadding *message,
1657 ProtobufCBuffer *buffer)
1658 {
1659 assert(message->base.descriptor == &core_ml__specification__valid_padding__descriptor);
1660 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1661 }
1662 CoreML__Specification__ValidPadding *
core_ml__specification__valid_padding__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1663 core_ml__specification__valid_padding__unpack
1664 (ProtobufCAllocator *allocator,
1665 size_t len,
1666 const uint8_t *data)
1667 {
1668 return (CoreML__Specification__ValidPadding *)
1669 protobuf_c_message_unpack (&core_ml__specification__valid_padding__descriptor,
1670 allocator, len, data);
1671 }
core_ml__specification__valid_padding__free_unpacked(CoreML__Specification__ValidPadding * message,ProtobufCAllocator * allocator)1672 void core_ml__specification__valid_padding__free_unpacked
1673 (CoreML__Specification__ValidPadding *message,
1674 ProtobufCAllocator *allocator)
1675 {
1676 if(!message)
1677 return;
1678 assert(message->base.descriptor == &core_ml__specification__valid_padding__descriptor);
1679 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1680 }
core_ml__specification__same_padding__init(CoreML__Specification__SamePadding * message)1681 void core_ml__specification__same_padding__init
1682 (CoreML__Specification__SamePadding *message)
1683 {
1684 static const CoreML__Specification__SamePadding init_value = CORE_ML__SPECIFICATION__SAME_PADDING__INIT;
1685 *message = init_value;
1686 }
core_ml__specification__same_padding__get_packed_size(const CoreML__Specification__SamePadding * message)1687 size_t core_ml__specification__same_padding__get_packed_size
1688 (const CoreML__Specification__SamePadding *message)
1689 {
1690 assert(message->base.descriptor == &core_ml__specification__same_padding__descriptor);
1691 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1692 }
core_ml__specification__same_padding__pack(const CoreML__Specification__SamePadding * message,uint8_t * out)1693 size_t core_ml__specification__same_padding__pack
1694 (const CoreML__Specification__SamePadding *message,
1695 uint8_t *out)
1696 {
1697 assert(message->base.descriptor == &core_ml__specification__same_padding__descriptor);
1698 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1699 }
core_ml__specification__same_padding__pack_to_buffer(const CoreML__Specification__SamePadding * message,ProtobufCBuffer * buffer)1700 size_t core_ml__specification__same_padding__pack_to_buffer
1701 (const CoreML__Specification__SamePadding *message,
1702 ProtobufCBuffer *buffer)
1703 {
1704 assert(message->base.descriptor == &core_ml__specification__same_padding__descriptor);
1705 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1706 }
1707 CoreML__Specification__SamePadding *
core_ml__specification__same_padding__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1708 core_ml__specification__same_padding__unpack
1709 (ProtobufCAllocator *allocator,
1710 size_t len,
1711 const uint8_t *data)
1712 {
1713 return (CoreML__Specification__SamePadding *)
1714 protobuf_c_message_unpack (&core_ml__specification__same_padding__descriptor,
1715 allocator, len, data);
1716 }
core_ml__specification__same_padding__free_unpacked(CoreML__Specification__SamePadding * message,ProtobufCAllocator * allocator)1717 void core_ml__specification__same_padding__free_unpacked
1718 (CoreML__Specification__SamePadding *message,
1719 ProtobufCAllocator *allocator)
1720 {
1721 if(!message)
1722 return;
1723 assert(message->base.descriptor == &core_ml__specification__same_padding__descriptor);
1724 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1725 }
core_ml__specification__sampling_mode__init(CoreML__Specification__SamplingMode * message)1726 void core_ml__specification__sampling_mode__init
1727 (CoreML__Specification__SamplingMode *message)
1728 {
1729 static const CoreML__Specification__SamplingMode init_value = CORE_ML__SPECIFICATION__SAMPLING_MODE__INIT;
1730 *message = init_value;
1731 }
core_ml__specification__sampling_mode__get_packed_size(const CoreML__Specification__SamplingMode * message)1732 size_t core_ml__specification__sampling_mode__get_packed_size
1733 (const CoreML__Specification__SamplingMode *message)
1734 {
1735 assert(message->base.descriptor == &core_ml__specification__sampling_mode__descriptor);
1736 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1737 }
core_ml__specification__sampling_mode__pack(const CoreML__Specification__SamplingMode * message,uint8_t * out)1738 size_t core_ml__specification__sampling_mode__pack
1739 (const CoreML__Specification__SamplingMode *message,
1740 uint8_t *out)
1741 {
1742 assert(message->base.descriptor == &core_ml__specification__sampling_mode__descriptor);
1743 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1744 }
core_ml__specification__sampling_mode__pack_to_buffer(const CoreML__Specification__SamplingMode * message,ProtobufCBuffer * buffer)1745 size_t core_ml__specification__sampling_mode__pack_to_buffer
1746 (const CoreML__Specification__SamplingMode *message,
1747 ProtobufCBuffer *buffer)
1748 {
1749 assert(message->base.descriptor == &core_ml__specification__sampling_mode__descriptor);
1750 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1751 }
1752 CoreML__Specification__SamplingMode *
core_ml__specification__sampling_mode__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1753 core_ml__specification__sampling_mode__unpack
1754 (ProtobufCAllocator *allocator,
1755 size_t len,
1756 const uint8_t *data)
1757 {
1758 return (CoreML__Specification__SamplingMode *)
1759 protobuf_c_message_unpack (&core_ml__specification__sampling_mode__descriptor,
1760 allocator, len, data);
1761 }
core_ml__specification__sampling_mode__free_unpacked(CoreML__Specification__SamplingMode * message,ProtobufCAllocator * allocator)1762 void core_ml__specification__sampling_mode__free_unpacked
1763 (CoreML__Specification__SamplingMode *message,
1764 ProtobufCAllocator *allocator)
1765 {
1766 if(!message)
1767 return;
1768 assert(message->base.descriptor == &core_ml__specification__sampling_mode__descriptor);
1769 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1770 }
core_ml__specification__box_coordinates_mode__init(CoreML__Specification__BoxCoordinatesMode * message)1771 void core_ml__specification__box_coordinates_mode__init
1772 (CoreML__Specification__BoxCoordinatesMode *message)
1773 {
1774 static const CoreML__Specification__BoxCoordinatesMode init_value = CORE_ML__SPECIFICATION__BOX_COORDINATES_MODE__INIT;
1775 *message = init_value;
1776 }
core_ml__specification__box_coordinates_mode__get_packed_size(const CoreML__Specification__BoxCoordinatesMode * message)1777 size_t core_ml__specification__box_coordinates_mode__get_packed_size
1778 (const CoreML__Specification__BoxCoordinatesMode *message)
1779 {
1780 assert(message->base.descriptor == &core_ml__specification__box_coordinates_mode__descriptor);
1781 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1782 }
core_ml__specification__box_coordinates_mode__pack(const CoreML__Specification__BoxCoordinatesMode * message,uint8_t * out)1783 size_t core_ml__specification__box_coordinates_mode__pack
1784 (const CoreML__Specification__BoxCoordinatesMode *message,
1785 uint8_t *out)
1786 {
1787 assert(message->base.descriptor == &core_ml__specification__box_coordinates_mode__descriptor);
1788 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1789 }
core_ml__specification__box_coordinates_mode__pack_to_buffer(const CoreML__Specification__BoxCoordinatesMode * message,ProtobufCBuffer * buffer)1790 size_t core_ml__specification__box_coordinates_mode__pack_to_buffer
1791 (const CoreML__Specification__BoxCoordinatesMode *message,
1792 ProtobufCBuffer *buffer)
1793 {
1794 assert(message->base.descriptor == &core_ml__specification__box_coordinates_mode__descriptor);
1795 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1796 }
1797 CoreML__Specification__BoxCoordinatesMode *
core_ml__specification__box_coordinates_mode__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1798 core_ml__specification__box_coordinates_mode__unpack
1799 (ProtobufCAllocator *allocator,
1800 size_t len,
1801 const uint8_t *data)
1802 {
1803 return (CoreML__Specification__BoxCoordinatesMode *)
1804 protobuf_c_message_unpack (&core_ml__specification__box_coordinates_mode__descriptor,
1805 allocator, len, data);
1806 }
core_ml__specification__box_coordinates_mode__free_unpacked(CoreML__Specification__BoxCoordinatesMode * message,ProtobufCAllocator * allocator)1807 void core_ml__specification__box_coordinates_mode__free_unpacked
1808 (CoreML__Specification__BoxCoordinatesMode *message,
1809 ProtobufCAllocator *allocator)
1810 {
1811 if(!message)
1812 return;
1813 assert(message->base.descriptor == &core_ml__specification__box_coordinates_mode__descriptor);
1814 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1815 }
core_ml__specification__weight_params__init(CoreML__Specification__WeightParams * message)1816 void core_ml__specification__weight_params__init
1817 (CoreML__Specification__WeightParams *message)
1818 {
1819 static const CoreML__Specification__WeightParams init_value = CORE_ML__SPECIFICATION__WEIGHT_PARAMS__INIT;
1820 *message = init_value;
1821 }
core_ml__specification__weight_params__get_packed_size(const CoreML__Specification__WeightParams * message)1822 size_t core_ml__specification__weight_params__get_packed_size
1823 (const CoreML__Specification__WeightParams *message)
1824 {
1825 assert(message->base.descriptor == &core_ml__specification__weight_params__descriptor);
1826 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1827 }
core_ml__specification__weight_params__pack(const CoreML__Specification__WeightParams * message,uint8_t * out)1828 size_t core_ml__specification__weight_params__pack
1829 (const CoreML__Specification__WeightParams *message,
1830 uint8_t *out)
1831 {
1832 assert(message->base.descriptor == &core_ml__specification__weight_params__descriptor);
1833 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1834 }
core_ml__specification__weight_params__pack_to_buffer(const CoreML__Specification__WeightParams * message,ProtobufCBuffer * buffer)1835 size_t core_ml__specification__weight_params__pack_to_buffer
1836 (const CoreML__Specification__WeightParams *message,
1837 ProtobufCBuffer *buffer)
1838 {
1839 assert(message->base.descriptor == &core_ml__specification__weight_params__descriptor);
1840 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1841 }
1842 CoreML__Specification__WeightParams *
core_ml__specification__weight_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1843 core_ml__specification__weight_params__unpack
1844 (ProtobufCAllocator *allocator,
1845 size_t len,
1846 const uint8_t *data)
1847 {
1848 return (CoreML__Specification__WeightParams *)
1849 protobuf_c_message_unpack (&core_ml__specification__weight_params__descriptor,
1850 allocator, len, data);
1851 }
core_ml__specification__weight_params__free_unpacked(CoreML__Specification__WeightParams * message,ProtobufCAllocator * allocator)1852 void core_ml__specification__weight_params__free_unpacked
1853 (CoreML__Specification__WeightParams *message,
1854 ProtobufCAllocator *allocator)
1855 {
1856 if(!message)
1857 return;
1858 assert(message->base.descriptor == &core_ml__specification__weight_params__descriptor);
1859 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1860 }
core_ml__specification__quantization_params__init(CoreML__Specification__QuantizationParams * message)1861 void core_ml__specification__quantization_params__init
1862 (CoreML__Specification__QuantizationParams *message)
1863 {
1864 static const CoreML__Specification__QuantizationParams init_value = CORE_ML__SPECIFICATION__QUANTIZATION_PARAMS__INIT;
1865 *message = init_value;
1866 }
core_ml__specification__quantization_params__get_packed_size(const CoreML__Specification__QuantizationParams * message)1867 size_t core_ml__specification__quantization_params__get_packed_size
1868 (const CoreML__Specification__QuantizationParams *message)
1869 {
1870 assert(message->base.descriptor == &core_ml__specification__quantization_params__descriptor);
1871 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1872 }
core_ml__specification__quantization_params__pack(const CoreML__Specification__QuantizationParams * message,uint8_t * out)1873 size_t core_ml__specification__quantization_params__pack
1874 (const CoreML__Specification__QuantizationParams *message,
1875 uint8_t *out)
1876 {
1877 assert(message->base.descriptor == &core_ml__specification__quantization_params__descriptor);
1878 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1879 }
core_ml__specification__quantization_params__pack_to_buffer(const CoreML__Specification__QuantizationParams * message,ProtobufCBuffer * buffer)1880 size_t core_ml__specification__quantization_params__pack_to_buffer
1881 (const CoreML__Specification__QuantizationParams *message,
1882 ProtobufCBuffer *buffer)
1883 {
1884 assert(message->base.descriptor == &core_ml__specification__quantization_params__descriptor);
1885 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1886 }
1887 CoreML__Specification__QuantizationParams *
core_ml__specification__quantization_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1888 core_ml__specification__quantization_params__unpack
1889 (ProtobufCAllocator *allocator,
1890 size_t len,
1891 const uint8_t *data)
1892 {
1893 return (CoreML__Specification__QuantizationParams *)
1894 protobuf_c_message_unpack (&core_ml__specification__quantization_params__descriptor,
1895 allocator, len, data);
1896 }
core_ml__specification__quantization_params__free_unpacked(CoreML__Specification__QuantizationParams * message,ProtobufCAllocator * allocator)1897 void core_ml__specification__quantization_params__free_unpacked
1898 (CoreML__Specification__QuantizationParams *message,
1899 ProtobufCAllocator *allocator)
1900 {
1901 if(!message)
1902 return;
1903 assert(message->base.descriptor == &core_ml__specification__quantization_params__descriptor);
1904 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1905 }
core_ml__specification__linear_quantization_params__init(CoreML__Specification__LinearQuantizationParams * message)1906 void core_ml__specification__linear_quantization_params__init
1907 (CoreML__Specification__LinearQuantizationParams *message)
1908 {
1909 static const CoreML__Specification__LinearQuantizationParams init_value = CORE_ML__SPECIFICATION__LINEAR_QUANTIZATION_PARAMS__INIT;
1910 *message = init_value;
1911 }
core_ml__specification__linear_quantization_params__get_packed_size(const CoreML__Specification__LinearQuantizationParams * message)1912 size_t core_ml__specification__linear_quantization_params__get_packed_size
1913 (const CoreML__Specification__LinearQuantizationParams *message)
1914 {
1915 assert(message->base.descriptor == &core_ml__specification__linear_quantization_params__descriptor);
1916 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1917 }
core_ml__specification__linear_quantization_params__pack(const CoreML__Specification__LinearQuantizationParams * message,uint8_t * out)1918 size_t core_ml__specification__linear_quantization_params__pack
1919 (const CoreML__Specification__LinearQuantizationParams *message,
1920 uint8_t *out)
1921 {
1922 assert(message->base.descriptor == &core_ml__specification__linear_quantization_params__descriptor);
1923 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1924 }
core_ml__specification__linear_quantization_params__pack_to_buffer(const CoreML__Specification__LinearQuantizationParams * message,ProtobufCBuffer * buffer)1925 size_t core_ml__specification__linear_quantization_params__pack_to_buffer
1926 (const CoreML__Specification__LinearQuantizationParams *message,
1927 ProtobufCBuffer *buffer)
1928 {
1929 assert(message->base.descriptor == &core_ml__specification__linear_quantization_params__descriptor);
1930 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1931 }
1932 CoreML__Specification__LinearQuantizationParams *
core_ml__specification__linear_quantization_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1933 core_ml__specification__linear_quantization_params__unpack
1934 (ProtobufCAllocator *allocator,
1935 size_t len,
1936 const uint8_t *data)
1937 {
1938 return (CoreML__Specification__LinearQuantizationParams *)
1939 protobuf_c_message_unpack (&core_ml__specification__linear_quantization_params__descriptor,
1940 allocator, len, data);
1941 }
core_ml__specification__linear_quantization_params__free_unpacked(CoreML__Specification__LinearQuantizationParams * message,ProtobufCAllocator * allocator)1942 void core_ml__specification__linear_quantization_params__free_unpacked
1943 (CoreML__Specification__LinearQuantizationParams *message,
1944 ProtobufCAllocator *allocator)
1945 {
1946 if(!message)
1947 return;
1948 assert(message->base.descriptor == &core_ml__specification__linear_quantization_params__descriptor);
1949 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1950 }
core_ml__specification__look_up_table_quantization_params__init(CoreML__Specification__LookUpTableQuantizationParams * message)1951 void core_ml__specification__look_up_table_quantization_params__init
1952 (CoreML__Specification__LookUpTableQuantizationParams *message)
1953 {
1954 static const CoreML__Specification__LookUpTableQuantizationParams init_value = CORE_ML__SPECIFICATION__LOOK_UP_TABLE_QUANTIZATION_PARAMS__INIT;
1955 *message = init_value;
1956 }
core_ml__specification__look_up_table_quantization_params__get_packed_size(const CoreML__Specification__LookUpTableQuantizationParams * message)1957 size_t core_ml__specification__look_up_table_quantization_params__get_packed_size
1958 (const CoreML__Specification__LookUpTableQuantizationParams *message)
1959 {
1960 assert(message->base.descriptor == &core_ml__specification__look_up_table_quantization_params__descriptor);
1961 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1962 }
core_ml__specification__look_up_table_quantization_params__pack(const CoreML__Specification__LookUpTableQuantizationParams * message,uint8_t * out)1963 size_t core_ml__specification__look_up_table_quantization_params__pack
1964 (const CoreML__Specification__LookUpTableQuantizationParams *message,
1965 uint8_t *out)
1966 {
1967 assert(message->base.descriptor == &core_ml__specification__look_up_table_quantization_params__descriptor);
1968 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1969 }
core_ml__specification__look_up_table_quantization_params__pack_to_buffer(const CoreML__Specification__LookUpTableQuantizationParams * message,ProtobufCBuffer * buffer)1970 size_t core_ml__specification__look_up_table_quantization_params__pack_to_buffer
1971 (const CoreML__Specification__LookUpTableQuantizationParams *message,
1972 ProtobufCBuffer *buffer)
1973 {
1974 assert(message->base.descriptor == &core_ml__specification__look_up_table_quantization_params__descriptor);
1975 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1976 }
1977 CoreML__Specification__LookUpTableQuantizationParams *
core_ml__specification__look_up_table_quantization_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1978 core_ml__specification__look_up_table_quantization_params__unpack
1979 (ProtobufCAllocator *allocator,
1980 size_t len,
1981 const uint8_t *data)
1982 {
1983 return (CoreML__Specification__LookUpTableQuantizationParams *)
1984 protobuf_c_message_unpack (&core_ml__specification__look_up_table_quantization_params__descriptor,
1985 allocator, len, data);
1986 }
core_ml__specification__look_up_table_quantization_params__free_unpacked(CoreML__Specification__LookUpTableQuantizationParams * message,ProtobufCAllocator * allocator)1987 void core_ml__specification__look_up_table_quantization_params__free_unpacked
1988 (CoreML__Specification__LookUpTableQuantizationParams *message,
1989 ProtobufCAllocator *allocator)
1990 {
1991 if(!message)
1992 return;
1993 assert(message->base.descriptor == &core_ml__specification__look_up_table_quantization_params__descriptor);
1994 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1995 }
core_ml__specification__convolution_layer_params__init(CoreML__Specification__ConvolutionLayerParams * message)1996 void core_ml__specification__convolution_layer_params__init
1997 (CoreML__Specification__ConvolutionLayerParams *message)
1998 {
1999 static const CoreML__Specification__ConvolutionLayerParams init_value = CORE_ML__SPECIFICATION__CONVOLUTION_LAYER_PARAMS__INIT;
2000 *message = init_value;
2001 }
core_ml__specification__convolution_layer_params__get_packed_size(const CoreML__Specification__ConvolutionLayerParams * message)2002 size_t core_ml__specification__convolution_layer_params__get_packed_size
2003 (const CoreML__Specification__ConvolutionLayerParams *message)
2004 {
2005 assert(message->base.descriptor == &core_ml__specification__convolution_layer_params__descriptor);
2006 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2007 }
core_ml__specification__convolution_layer_params__pack(const CoreML__Specification__ConvolutionLayerParams * message,uint8_t * out)2008 size_t core_ml__specification__convolution_layer_params__pack
2009 (const CoreML__Specification__ConvolutionLayerParams *message,
2010 uint8_t *out)
2011 {
2012 assert(message->base.descriptor == &core_ml__specification__convolution_layer_params__descriptor);
2013 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2014 }
core_ml__specification__convolution_layer_params__pack_to_buffer(const CoreML__Specification__ConvolutionLayerParams * message,ProtobufCBuffer * buffer)2015 size_t core_ml__specification__convolution_layer_params__pack_to_buffer
2016 (const CoreML__Specification__ConvolutionLayerParams *message,
2017 ProtobufCBuffer *buffer)
2018 {
2019 assert(message->base.descriptor == &core_ml__specification__convolution_layer_params__descriptor);
2020 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
2021 }
2022 CoreML__Specification__ConvolutionLayerParams *
core_ml__specification__convolution_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)2023 core_ml__specification__convolution_layer_params__unpack
2024 (ProtobufCAllocator *allocator,
2025 size_t len,
2026 const uint8_t *data)
2027 {
2028 return (CoreML__Specification__ConvolutionLayerParams *)
2029 protobuf_c_message_unpack (&core_ml__specification__convolution_layer_params__descriptor,
2030 allocator, len, data);
2031 }
core_ml__specification__convolution_layer_params__free_unpacked(CoreML__Specification__ConvolutionLayerParams * message,ProtobufCAllocator * allocator)2032 void core_ml__specification__convolution_layer_params__free_unpacked
2033 (CoreML__Specification__ConvolutionLayerParams *message,
2034 ProtobufCAllocator *allocator)
2035 {
2036 if(!message)
2037 return;
2038 assert(message->base.descriptor == &core_ml__specification__convolution_layer_params__descriptor);
2039 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
2040 }
core_ml__specification__convolution3_dlayer_params__init(CoreML__Specification__Convolution3DLayerParams * message)2041 void core_ml__specification__convolution3_dlayer_params__init
2042 (CoreML__Specification__Convolution3DLayerParams *message)
2043 {
2044 static const CoreML__Specification__Convolution3DLayerParams init_value = CORE_ML__SPECIFICATION__CONVOLUTION3_DLAYER_PARAMS__INIT;
2045 *message = init_value;
2046 }
core_ml__specification__convolution3_dlayer_params__get_packed_size(const CoreML__Specification__Convolution3DLayerParams * message)2047 size_t core_ml__specification__convolution3_dlayer_params__get_packed_size
2048 (const CoreML__Specification__Convolution3DLayerParams *message)
2049 {
2050 assert(message->base.descriptor == &core_ml__specification__convolution3_dlayer_params__descriptor);
2051 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2052 }
core_ml__specification__convolution3_dlayer_params__pack(const CoreML__Specification__Convolution3DLayerParams * message,uint8_t * out)2053 size_t core_ml__specification__convolution3_dlayer_params__pack
2054 (const CoreML__Specification__Convolution3DLayerParams *message,
2055 uint8_t *out)
2056 {
2057 assert(message->base.descriptor == &core_ml__specification__convolution3_dlayer_params__descriptor);
2058 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2059 }
core_ml__specification__convolution3_dlayer_params__pack_to_buffer(const CoreML__Specification__Convolution3DLayerParams * message,ProtobufCBuffer * buffer)2060 size_t core_ml__specification__convolution3_dlayer_params__pack_to_buffer
2061 (const CoreML__Specification__Convolution3DLayerParams *message,
2062 ProtobufCBuffer *buffer)
2063 {
2064 assert(message->base.descriptor == &core_ml__specification__convolution3_dlayer_params__descriptor);
2065 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
2066 }
2067 CoreML__Specification__Convolution3DLayerParams *
core_ml__specification__convolution3_dlayer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)2068 core_ml__specification__convolution3_dlayer_params__unpack
2069 (ProtobufCAllocator *allocator,
2070 size_t len,
2071 const uint8_t *data)
2072 {
2073 return (CoreML__Specification__Convolution3DLayerParams *)
2074 protobuf_c_message_unpack (&core_ml__specification__convolution3_dlayer_params__descriptor,
2075 allocator, len, data);
2076 }
core_ml__specification__convolution3_dlayer_params__free_unpacked(CoreML__Specification__Convolution3DLayerParams * message,ProtobufCAllocator * allocator)2077 void core_ml__specification__convolution3_dlayer_params__free_unpacked
2078 (CoreML__Specification__Convolution3DLayerParams *message,
2079 ProtobufCAllocator *allocator)
2080 {
2081 if(!message)
2082 return;
2083 assert(message->base.descriptor == &core_ml__specification__convolution3_dlayer_params__descriptor);
2084 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
2085 }
core_ml__specification__inner_product_layer_params__init(CoreML__Specification__InnerProductLayerParams * message)2086 void core_ml__specification__inner_product_layer_params__init
2087 (CoreML__Specification__InnerProductLayerParams *message)
2088 {
2089 static const CoreML__Specification__InnerProductLayerParams init_value = CORE_ML__SPECIFICATION__INNER_PRODUCT_LAYER_PARAMS__INIT;
2090 *message = init_value;
2091 }
core_ml__specification__inner_product_layer_params__get_packed_size(const CoreML__Specification__InnerProductLayerParams * message)2092 size_t core_ml__specification__inner_product_layer_params__get_packed_size
2093 (const CoreML__Specification__InnerProductLayerParams *message)
2094 {
2095 assert(message->base.descriptor == &core_ml__specification__inner_product_layer_params__descriptor);
2096 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2097 }
core_ml__specification__inner_product_layer_params__pack(const CoreML__Specification__InnerProductLayerParams * message,uint8_t * out)2098 size_t core_ml__specification__inner_product_layer_params__pack
2099 (const CoreML__Specification__InnerProductLayerParams *message,
2100 uint8_t *out)
2101 {
2102 assert(message->base.descriptor == &core_ml__specification__inner_product_layer_params__descriptor);
2103 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2104 }
core_ml__specification__inner_product_layer_params__pack_to_buffer(const CoreML__Specification__InnerProductLayerParams * message,ProtobufCBuffer * buffer)2105 size_t core_ml__specification__inner_product_layer_params__pack_to_buffer
2106 (const CoreML__Specification__InnerProductLayerParams *message,
2107 ProtobufCBuffer *buffer)
2108 {
2109 assert(message->base.descriptor == &core_ml__specification__inner_product_layer_params__descriptor);
2110 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
2111 }
2112 CoreML__Specification__InnerProductLayerParams *
core_ml__specification__inner_product_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)2113 core_ml__specification__inner_product_layer_params__unpack
2114 (ProtobufCAllocator *allocator,
2115 size_t len,
2116 const uint8_t *data)
2117 {
2118 return (CoreML__Specification__InnerProductLayerParams *)
2119 protobuf_c_message_unpack (&core_ml__specification__inner_product_layer_params__descriptor,
2120 allocator, len, data);
2121 }
core_ml__specification__inner_product_layer_params__free_unpacked(CoreML__Specification__InnerProductLayerParams * message,ProtobufCAllocator * allocator)2122 void core_ml__specification__inner_product_layer_params__free_unpacked
2123 (CoreML__Specification__InnerProductLayerParams *message,
2124 ProtobufCAllocator *allocator)
2125 {
2126 if(!message)
2127 return;
2128 assert(message->base.descriptor == &core_ml__specification__inner_product_layer_params__descriptor);
2129 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
2130 }
core_ml__specification__embedding_layer_params__init(CoreML__Specification__EmbeddingLayerParams * message)2131 void core_ml__specification__embedding_layer_params__init
2132 (CoreML__Specification__EmbeddingLayerParams *message)
2133 {
2134 static const CoreML__Specification__EmbeddingLayerParams init_value = CORE_ML__SPECIFICATION__EMBEDDING_LAYER_PARAMS__INIT;
2135 *message = init_value;
2136 }
core_ml__specification__embedding_layer_params__get_packed_size(const CoreML__Specification__EmbeddingLayerParams * message)2137 size_t core_ml__specification__embedding_layer_params__get_packed_size
2138 (const CoreML__Specification__EmbeddingLayerParams *message)
2139 {
2140 assert(message->base.descriptor == &core_ml__specification__embedding_layer_params__descriptor);
2141 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2142 }
core_ml__specification__embedding_layer_params__pack(const CoreML__Specification__EmbeddingLayerParams * message,uint8_t * out)2143 size_t core_ml__specification__embedding_layer_params__pack
2144 (const CoreML__Specification__EmbeddingLayerParams *message,
2145 uint8_t *out)
2146 {
2147 assert(message->base.descriptor == &core_ml__specification__embedding_layer_params__descriptor);
2148 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2149 }
core_ml__specification__embedding_layer_params__pack_to_buffer(const CoreML__Specification__EmbeddingLayerParams * message,ProtobufCBuffer * buffer)2150 size_t core_ml__specification__embedding_layer_params__pack_to_buffer
2151 (const CoreML__Specification__EmbeddingLayerParams *message,
2152 ProtobufCBuffer *buffer)
2153 {
2154 assert(message->base.descriptor == &core_ml__specification__embedding_layer_params__descriptor);
2155 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
2156 }
2157 CoreML__Specification__EmbeddingLayerParams *
core_ml__specification__embedding_layer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)2158 core_ml__specification__embedding_layer_params__unpack
2159 (ProtobufCAllocator *allocator,
2160 size_t len,
2161 const uint8_t *data)
2162 {
2163 return (CoreML__Specification__EmbeddingLayerParams *)
2164 protobuf_c_message_unpack (&core_ml__specification__embedding_layer_params__descriptor,
2165 allocator, len, data);
2166 }
core_ml__specification__embedding_layer_params__free_unpacked(CoreML__Specification__EmbeddingLayerParams * message,ProtobufCAllocator * allocator)2167 void core_ml__specification__embedding_layer_params__free_unpacked
2168 (CoreML__Specification__EmbeddingLayerParams *message,
2169 ProtobufCAllocator *allocator)
2170 {
2171 if(!message)
2172 return;
2173 assert(message->base.descriptor == &core_ml__specification__embedding_layer_params__descriptor);
2174 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
2175 }
core_ml__specification__embedding_ndlayer_params__init(CoreML__Specification__EmbeddingNDLayerParams * message)2176 void core_ml__specification__embedding_ndlayer_params__init
2177 (CoreML__Specification__EmbeddingNDLayerParams *message)
2178 {
2179 static const CoreML__Specification__EmbeddingNDLayerParams init_value = CORE_ML__SPECIFICATION__EMBEDDING_NDLAYER_PARAMS__INIT;
2180 *message = init_value;
2181 }
core_ml__specification__embedding_ndlayer_params__get_packed_size(const CoreML__Specification__EmbeddingNDLayerParams * message)2182 size_t core_ml__specification__embedding_ndlayer_params__get_packed_size
2183 (const CoreML__Specification__EmbeddingNDLayerParams *message)
2184 {
2185 assert(message->base.descriptor == &core_ml__specification__embedding_ndlayer_params__descriptor);
2186 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2187 }
core_ml__specification__embedding_ndlayer_params__pack(const CoreML__Specification__EmbeddingNDLayerParams * message,uint8_t * out)2188 size_t core_ml__specification__embedding_ndlayer_params__pack
2189 (const CoreML__Specification__EmbeddingNDLayerParams *message,
2190 uint8_t *out)
2191 {
2192 assert(message->base.descriptor == &core_ml__specification__embedding_ndlayer_params__descriptor);
2193 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2194 }
core_ml__specification__embedding_ndlayer_params__pack_to_buffer(const CoreML__Specification__EmbeddingNDLayerParams * message,ProtobufCBuffer * buffer)2195 size_t core_ml__specification__embedding_ndlayer_params__pack_to_buffer
2196 (const CoreML__Specification__EmbeddingNDLayerParams *message,
2197 ProtobufCBuffer *buffer)
2198 {
2199 assert(message->base.descriptor == &core_ml__specification__embedding_ndlayer_params__descriptor);
2200 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
2201 }
2202 CoreML__Specification__EmbeddingNDLayerParams *
core_ml__specification__embedding_ndlayer_params__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)2203 core_ml__specification__embedding_ndlayer_params__unpack
2204 (ProtobufCAllocator *allocator,
2205 size_t len,
2206 const uint8_t *data)
2207 {
2208 return (CoreML__Specification__EmbeddingNDLayerParams *)
2209 protobuf_c_message_unpack (&core_ml__specification__embedding_ndlayer_params__descriptor,
2210 allocator, len, data);
2211 }
core_ml__specification__embedding_ndlayer_params__free_unpacked(CoreML__Specification__EmbeddingNDLayerParams * message,ProtobufCAllocator * allocator)2212 void core_ml__specification__embedding_ndlayer_params__free_unpacked
2213 (CoreML__Specification__EmbeddingNDLayerParams *message,
2214 ProtobufCAllocator *allocator)
2215 {
2216 if(!message)
2217 return;
2218 assert(message->base.descriptor == &core_ml__specification__embedding_ndlayer_params__descriptor);
2219 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
2220 }
core_ml__specification__batchnorm_layer_params__init(CoreML__Specification__BatchnormLayerParams * message)2221 void core_ml__specification__batchnorm_layer_params__init
2222 (CoreML__Specification__BatchnormLayerParams *message)
2223 {
2224 static const CoreML__Specification__BatchnormLayerParams init_value = CORE_ML__SPECIFICATION__BATCHNORM_LAYER_PARAMS__INIT;
2225 *message = init_value;
2226 }
core_ml__specification__batchnorm_layer_params__get_packed_size(const CoreML__Specification__BatchnormLayerParams * message)2227 size_t core_ml__specification__batchnorm_layer_params__get_packed_size
2228 (const CoreML__Specification__BatchnormLayerParams *message)
2229 {
2230 assert(message->base.descriptor == &core_ml__specification__batchnorm_layer_params__descriptor);
2231 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
2232 }
core_ml__specification__batchnorm_layer_params__pack(const CoreML__Specification__BatchnormLayerParams * message,uint8_t * out)2233 size_t core_ml__specification__batchnorm_layer_params__pack
2234 (const CoreML__Specification__BatchnormLayerParams *message,
2235 uint8_t *out)
2236 {
2237 assert(message->base.descriptor == &core_ml__specification__batchnorm_layer_params__descriptor);
2238 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
2239 }
core_ml__specification__batchnorm_layer_params__pack_to_buffer(const CoreML__Specification__BatchnormLayerParams * message,ProtobufCBuffer * buffer)2240