tensorflow_serving_client/
predict.rs1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25#[derive(PartialEq,Clone,Default)]
30pub struct PredictRequest {
31 pub model_spec: ::protobuf::SingularPtrField<super::model::ModelSpec>,
33 pub inputs: ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto>,
34 pub output_filter: ::protobuf::RepeatedField<::std::string::String>,
35 pub unknown_fields: ::protobuf::UnknownFields,
37 pub cached_size: ::protobuf::CachedSize,
38}
39
40impl<'a> ::std::default::Default for &'a PredictRequest {
41 fn default() -> &'a PredictRequest {
42 <PredictRequest as ::protobuf::Message>::default_instance()
43 }
44}
45
46impl PredictRequest {
47 pub fn new() -> PredictRequest {
48 ::std::default::Default::default()
49 }
50
51 pub fn get_model_spec(&self) -> &super::model::ModelSpec {
55 self.model_spec.as_ref().unwrap_or_else(|| super::model::ModelSpec::default_instance())
56 }
57 pub fn clear_model_spec(&mut self) {
58 self.model_spec.clear();
59 }
60
61 pub fn has_model_spec(&self) -> bool {
62 self.model_spec.is_some()
63 }
64
65 pub fn set_model_spec(&mut self, v: super::model::ModelSpec) {
67 self.model_spec = ::protobuf::SingularPtrField::some(v);
68 }
69
70 pub fn mut_model_spec(&mut self) -> &mut super::model::ModelSpec {
73 if self.model_spec.is_none() {
74 self.model_spec.set_default();
75 }
76 self.model_spec.as_mut().unwrap()
77 }
78
79 pub fn take_model_spec(&mut self) -> super::model::ModelSpec {
81 self.model_spec.take().unwrap_or_else(|| super::model::ModelSpec::new())
82 }
83
84 pub fn get_inputs(&self) -> &::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
88 &self.inputs
89 }
90 pub fn clear_inputs(&mut self) {
91 self.inputs.clear();
92 }
93
94 pub fn set_inputs(&mut self, v: ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto>) {
96 self.inputs = v;
97 }
98
99 pub fn mut_inputs(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
101 &mut self.inputs
102 }
103
104 pub fn take_inputs(&mut self) -> ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
106 ::std::mem::replace(&mut self.inputs, ::std::collections::HashMap::new())
107 }
108
109 pub fn get_output_filter(&self) -> &[::std::string::String] {
113 &self.output_filter
114 }
115 pub fn clear_output_filter(&mut self) {
116 self.output_filter.clear();
117 }
118
119 pub fn set_output_filter(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
121 self.output_filter = v;
122 }
123
124 pub fn mut_output_filter(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
126 &mut self.output_filter
127 }
128
129 pub fn take_output_filter(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
131 ::std::mem::replace(&mut self.output_filter, ::protobuf::RepeatedField::new())
132 }
133}
134
135impl ::protobuf::Message for PredictRequest {
136 fn is_initialized(&self) -> bool {
137 for v in &self.model_spec {
138 if !v.is_initialized() {
139 return false;
140 }
141 };
142 true
143 }
144
145 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
146 while !is.eof()? {
147 let (field_number, wire_type) = is.read_tag_unpack()?;
148 match field_number {
149 1 => {
150 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.model_spec)?;
151 },
152 2 => {
153 ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(wire_type, is, &mut self.inputs)?;
154 },
155 3 => {
156 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.output_filter)?;
157 },
158 _ => {
159 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
160 },
161 };
162 }
163 ::std::result::Result::Ok(())
164 }
165
166 #[allow(unused_variables)]
168 fn compute_size(&self) -> u32 {
169 let mut my_size = 0;
170 if let Some(ref v) = self.model_spec.as_ref() {
171 let len = v.compute_size();
172 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
173 }
174 my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(2, &self.inputs);
175 for value in &self.output_filter {
176 my_size += ::protobuf::rt::string_size(3, &value);
177 };
178 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
179 self.cached_size.set(my_size);
180 my_size
181 }
182
183 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
184 if let Some(ref v) = self.model_spec.as_ref() {
185 os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
186 os.write_raw_varint32(v.get_cached_size())?;
187 v.write_to_with_cached_sizes(os)?;
188 }
189 ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(2, &self.inputs, os)?;
190 for v in &self.output_filter {
191 os.write_string(3, &v)?;
192 };
193 os.write_unknown_fields(self.get_unknown_fields())?;
194 ::std::result::Result::Ok(())
195 }
196
197 fn get_cached_size(&self) -> u32 {
198 self.cached_size.get()
199 }
200
201 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
202 &self.unknown_fields
203 }
204
205 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
206 &mut self.unknown_fields
207 }
208
209 fn as_any(&self) -> &dyn (::std::any::Any) {
210 self as &dyn (::std::any::Any)
211 }
212 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
213 self as &mut dyn (::std::any::Any)
214 }
215 fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
216 self
217 }
218
219 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
220 Self::descriptor_static()
221 }
222
223 fn new() -> PredictRequest {
224 PredictRequest::new()
225 }
226
227 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
228 static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
229 unsafe {
230 descriptor.get(|| {
231 let mut fields = ::std::vec::Vec::new();
232 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::model::ModelSpec>>(
233 "model_spec",
234 |m: &PredictRequest| { &m.model_spec },
235 |m: &mut PredictRequest| { &mut m.model_spec },
236 ));
237 fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(
238 "inputs",
239 |m: &PredictRequest| { &m.inputs },
240 |m: &mut PredictRequest| { &mut m.inputs },
241 ));
242 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
243 "output_filter",
244 |m: &PredictRequest| { &m.output_filter },
245 |m: &mut PredictRequest| { &mut m.output_filter },
246 ));
247 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PredictRequest>(
248 "PredictRequest",
249 fields,
250 file_descriptor_proto()
251 )
252 })
253 }
254 }
255
256 fn default_instance() -> &'static PredictRequest {
257 static mut instance: ::protobuf::lazy::Lazy<PredictRequest> = ::protobuf::lazy::Lazy::INIT;
258 unsafe {
259 instance.get(PredictRequest::new)
260 }
261 }
262}
263
264impl ::protobuf::Clear for PredictRequest {
265 fn clear(&mut self) {
266 self.model_spec.clear();
267 self.inputs.clear();
268 self.output_filter.clear();
269 self.unknown_fields.clear();
270 }
271}
272
273impl ::std::fmt::Debug for PredictRequest {
274 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
275 ::protobuf::text_format::fmt(self, f)
276 }
277}
278
279impl ::protobuf::reflect::ProtobufValue for PredictRequest {
280 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
281 ::protobuf::reflect::ReflectValueRef::Message(self)
282 }
283}
284
285#[derive(PartialEq,Clone,Default)]
286pub struct PredictResponse {
287 pub model_spec: ::protobuf::SingularPtrField<super::model::ModelSpec>,
289 pub outputs: ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto>,
290 pub unknown_fields: ::protobuf::UnknownFields,
292 pub cached_size: ::protobuf::CachedSize,
293}
294
295impl<'a> ::std::default::Default for &'a PredictResponse {
296 fn default() -> &'a PredictResponse {
297 <PredictResponse as ::protobuf::Message>::default_instance()
298 }
299}
300
301impl PredictResponse {
302 pub fn new() -> PredictResponse {
303 ::std::default::Default::default()
304 }
305
306 pub fn get_model_spec(&self) -> &super::model::ModelSpec {
310 self.model_spec.as_ref().unwrap_or_else(|| super::model::ModelSpec::default_instance())
311 }
312 pub fn clear_model_spec(&mut self) {
313 self.model_spec.clear();
314 }
315
316 pub fn has_model_spec(&self) -> bool {
317 self.model_spec.is_some()
318 }
319
320 pub fn set_model_spec(&mut self, v: super::model::ModelSpec) {
322 self.model_spec = ::protobuf::SingularPtrField::some(v);
323 }
324
325 pub fn mut_model_spec(&mut self) -> &mut super::model::ModelSpec {
328 if self.model_spec.is_none() {
329 self.model_spec.set_default();
330 }
331 self.model_spec.as_mut().unwrap()
332 }
333
334 pub fn take_model_spec(&mut self) -> super::model::ModelSpec {
336 self.model_spec.take().unwrap_or_else(|| super::model::ModelSpec::new())
337 }
338
339 pub fn get_outputs(&self) -> &::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
343 &self.outputs
344 }
345 pub fn clear_outputs(&mut self) {
346 self.outputs.clear();
347 }
348
349 pub fn set_outputs(&mut self, v: ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto>) {
351 self.outputs = v;
352 }
353
354 pub fn mut_outputs(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
356 &mut self.outputs
357 }
358
359 pub fn take_outputs(&mut self) -> ::std::collections::HashMap<::std::string::String, super::tensor::TensorProto> {
361 ::std::mem::replace(&mut self.outputs, ::std::collections::HashMap::new())
362 }
363}
364
365impl ::protobuf::Message for PredictResponse {
366 fn is_initialized(&self) -> bool {
367 for v in &self.model_spec {
368 if !v.is_initialized() {
369 return false;
370 }
371 };
372 true
373 }
374
375 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
376 while !is.eof()? {
377 let (field_number, wire_type) = is.read_tag_unpack()?;
378 match field_number {
379 2 => {
380 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.model_spec)?;
381 },
382 1 => {
383 ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(wire_type, is, &mut self.outputs)?;
384 },
385 _ => {
386 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
387 },
388 };
389 }
390 ::std::result::Result::Ok(())
391 }
392
393 #[allow(unused_variables)]
395 fn compute_size(&self) -> u32 {
396 let mut my_size = 0;
397 if let Some(ref v) = self.model_spec.as_ref() {
398 let len = v.compute_size();
399 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
400 }
401 my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(1, &self.outputs);
402 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
403 self.cached_size.set(my_size);
404 my_size
405 }
406
407 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
408 if let Some(ref v) = self.model_spec.as_ref() {
409 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
410 os.write_raw_varint32(v.get_cached_size())?;
411 v.write_to_with_cached_sizes(os)?;
412 }
413 ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(1, &self.outputs, os)?;
414 os.write_unknown_fields(self.get_unknown_fields())?;
415 ::std::result::Result::Ok(())
416 }
417
418 fn get_cached_size(&self) -> u32 {
419 self.cached_size.get()
420 }
421
422 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
423 &self.unknown_fields
424 }
425
426 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
427 &mut self.unknown_fields
428 }
429
430 fn as_any(&self) -> &dyn (::std::any::Any) {
431 self as &dyn (::std::any::Any)
432 }
433 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
434 self as &mut dyn (::std::any::Any)
435 }
436 fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
437 self
438 }
439
440 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
441 Self::descriptor_static()
442 }
443
444 fn new() -> PredictResponse {
445 PredictResponse::new()
446 }
447
448 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
449 static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
450 unsafe {
451 descriptor.get(|| {
452 let mut fields = ::std::vec::Vec::new();
453 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::model::ModelSpec>>(
454 "model_spec",
455 |m: &PredictResponse| { &m.model_spec },
456 |m: &mut PredictResponse| { &mut m.model_spec },
457 ));
458 fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<super::tensor::TensorProto>>(
459 "outputs",
460 |m: &PredictResponse| { &m.outputs },
461 |m: &mut PredictResponse| { &mut m.outputs },
462 ));
463 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PredictResponse>(
464 "PredictResponse",
465 fields,
466 file_descriptor_proto()
467 )
468 })
469 }
470 }
471
472 fn default_instance() -> &'static PredictResponse {
473 static mut instance: ::protobuf::lazy::Lazy<PredictResponse> = ::protobuf::lazy::Lazy::INIT;
474 unsafe {
475 instance.get(PredictResponse::new)
476 }
477 }
478}
479
480impl ::protobuf::Clear for PredictResponse {
481 fn clear(&mut self) {
482 self.model_spec.clear();
483 self.outputs.clear();
484 self.unknown_fields.clear();
485 }
486}
487
488impl ::std::fmt::Debug for PredictResponse {
489 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
490 ::protobuf::text_format::fmt(self, f)
491 }
492}
493
494impl ::protobuf::reflect::ProtobufValue for PredictResponse {
495 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
496 ::protobuf::reflect::ReflectValueRef::Message(self)
497 }
498}
499
500static file_descriptor_proto_data: &'static [u8] = b"\
501 \n%tensorflow_serving/apis/predict.proto\x12\x12tensorflow.serving\x1a&t\
502 ensorflow/core/framework/tensor.proto\x1a#tensorflow_serving/apis/model.\
503 proto\"\x8f\x02\n\x0ePredictRequest\x12<\n\nmodel_spec\x18\x01\x20\x01(\
504 \x0b2\x1d.tensorflow.serving.ModelSpecR\tmodelSpec\x12F\n\x06inputs\x18\
505 \x02\x20\x03(\x0b2..tensorflow.serving.PredictRequest.InputsEntryR\x06in\
506 puts\x12#\n\routput_filter\x18\x03\x20\x03(\tR\x0coutputFilter\x1aR\n\
507 \x0bInputsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12-\n\x05va\
508 lue\x18\x02\x20\x01(\x0b2\x17.tensorflow.TensorProtoR\x05value:\x028\x01\
509 \"\xf0\x01\n\x0fPredictResponse\x12<\n\nmodel_spec\x18\x02\x20\x01(\x0b2\
510 \x1d.tensorflow.serving.ModelSpecR\tmodelSpec\x12J\n\x07outputs\x18\x01\
511 \x20\x03(\x0b20.tensorflow.serving.PredictResponse.OutputsEntryR\x07outp\
512 uts\x1aS\n\x0cOutputsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\
513 \x12-\n\x05value\x18\x02\x20\x01(\x0b2\x17.tensorflow.TensorProtoR\x05va\
514 lue:\x028\x01B\x03\xf8\x01\x01J\xf3\n\n\x06\x12\x04\0\0'\x01\n\x08\n\x01\
515 \x0c\x12\x03\0\0\x12\n\x08\n\x01\x02\x12\x03\x02\0\x1b\n\x08\n\x01\x08\
516 \x12\x03\x03\0\x1f\n\t\n\x02\x08\x1f\x12\x03\x03\0\x1f\n\t\n\x02\x03\0\
517 \x12\x03\x05\00\n\t\n\x02\x03\x01\x12\x03\x06\0-\n\xab\x01\n\x02\x04\0\
518 \x12\x04\x0b\0\x1e\x01\x1a\x9e\x01\x20PredictRequest\x20specifies\x20whi\
519 ch\x20TensorFlow\x20model\x20to\x20run,\x20as\x20well\x20as\n\x20how\x20\
520 inputs\x20are\x20mapped\x20to\x20tensors\x20and\x20how\x20outputs\x20are\
521 \x20filtered\x20before\n\x20returning\x20to\x20user.\n\n\n\n\x03\x04\0\
522 \x01\x12\x03\x0b\x08\x16\nj\n\x04\x04\0\x02\0\x12\x03\x0e\x02\x1b\x1a]\
523 \x20Model\x20Specification.\x20If\x20version\x20is\x20not\x20specified,\
524 \x20will\x20use\x20the\x20latest\n\x20(numerical)\x20version.\n\n\x0c\n\
525 \x05\x04\0\x02\0\x06\x12\x03\x0e\x02\x0b\n\x0c\n\x05\x04\0\x02\0\x01\x12\
526 \x03\x0e\x0c\x16\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x0e\x19\x1a\n\xd6\
527 \x01\n\x04\x04\0\x02\x01\x12\x03\x14\x02&\x1a\xc8\x01\x20Input\x20tensor\
528 s.\n\x20Names\x20of\x20input\x20tensor\x20are\x20alias\x20names.\x20The\
529 \x20mapping\x20from\x20aliases\x20to\x20real\n\x20input\x20tensor\x20nam\
530 es\x20is\x20stored\x20in\x20the\x20SavedModel\x20export\x20as\x20a\x20pr\
531 ediction\n\x20SignatureDef\x20under\x20the\x20'inputs'\x20field.\n\n\x0c\
532 \n\x05\x04\0\x02\x01\x06\x12\x03\x14\x02\x1a\n\x0c\n\x05\x04\0\x02\x01\
533 \x01\x12\x03\x14\x1b!\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\x14$%\n\x92\
534 \x03\n\x04\x04\0\x02\x02\x12\x03\x1d\x02$\x1a\x84\x03\x20Output\x20filte\
535 r.\n\x20Names\x20specified\x20are\x20alias\x20names.\x20The\x20mapping\
536 \x20from\x20aliases\x20to\x20real\x20output\n\x20tensor\x20names\x20is\
537 \x20stored\x20in\x20the\x20SavedModel\x20export\x20as\x20a\x20prediction\
538 \n\x20SignatureDef\x20under\x20the\x20'outputs'\x20field.\n\x20Only\x20t\
539 ensors\x20specified\x20here\x20will\x20be\x20run/fetched\x20and\x20retur\
540 ned,\x20with\x20the\n\x20exception\x20that\x20when\x20none\x20is\x20spec\
541 ified,\x20all\x20tensors\x20specified\x20in\x20the\n\x20named\x20signatu\
542 re\x20will\x20be\x20run/fetched\x20and\x20returned.\n\n\x0c\n\x05\x04\0\
543 \x02\x02\x04\x12\x03\x1d\x02\n\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03\x1d\
544 \x0b\x11\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03\x1d\x12\x1f\n\x0c\n\x05\
545 \x04\0\x02\x02\x03\x12\x03\x1d\"#\n<\n\x02\x04\x01\x12\x04!\0'\x01\x1a0\
546 \x20Response\x20for\x20PredictRequest\x20on\x20successful\x20run.\n\n\n\
547 \n\x03\x04\x01\x01\x12\x03!\x08\x17\nL\n\x04\x04\x01\x02\0\x12\x03#\x02\
548 \x1b\x1a?\x20Effective\x20Model\x20Specification\x20used\x20to\x20proces\
549 s\x20PredictRequest.\n\n\x0c\n\x05\x04\x01\x02\0\x06\x12\x03#\x02\x0b\n\
550 \x0c\n\x05\x04\x01\x02\0\x01\x12\x03#\x0c\x16\n\x0c\n\x05\x04\x01\x02\0\
551 \x03\x12\x03#\x19\x1a\n\x1e\n\x04\x04\x01\x02\x01\x12\x03&\x02'\x1a\x11\
552 \x20Output\x20tensors.\n\n\x0c\n\x05\x04\x01\x02\x01\x06\x12\x03&\x02\
553 \x1a\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03&\x1b\"\n\x0c\n\x05\x04\x01\
554 \x02\x01\x03\x12\x03&%&b\x06proto3\
555";
556
557static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
558
559fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
560 ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
561}
562
563pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
564 unsafe {
565 file_descriptor_proto_lazy.get(|| {
566 parse_descriptor_proto()
567 })
568 }
569}