Guest User

Example.cs

a guest
Aug 3rd, 2020
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 82.14 KB | None | 0 0
  1. // <auto-generated>
  2. //     Generated by the protocol buffer compiler.  DO NOT EDIT!
  3. //     source: my.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7.  
  8. using pb = global::Google.Protobuf;
  9. using pbc = global::Google.Protobuf.Collections;
  10. using pbr = global::Google.Protobuf.Reflection;
  11. using scg = global::System.Collections.Generic;
  12. namespace Tensorflow
  13. {
  14.  
  15.     /// <summary>Holder for reflection information generated from my.proto</summary>
  16.     public static partial class MyReflection
  17.     {
  18.  
  19.         #region Descriptor
  20.         /// <summary>File descriptor for my.proto</summary>
  21.         public static pbr::FileDescriptor Descriptor
  22.         {
  23.             get { return descriptor; }
  24.         }
  25.         private static pbr::FileDescriptor descriptor;
  26.  
  27.         static MyReflection()
  28.         {
  29.             byte[] descriptorData = global::System.Convert.FromBase64String(
  30.                 string.Concat(
  31.                   "CghteS5wcm90bxIKdGVuc29yZmxvdyIxCgdFeGFtcGxlEiYKCGZlYXR1cmVz",
  32.                   "GAEgASgLMhQudGVuc29yZmxvdy5GZWF0dXJlcyJpCg9TZXF1ZW5jZUV4YW1w",
  33.                   "bGUSJQoHY29udGV4dBgBIAEoCzIULnRlbnNvcmZsb3cuRmVhdHVyZXMSLwoN",
  34.                   "ZmVhdHVyZV9saXN0cxgCIAEoCzIYLnRlbnNvcmZsb3cuRmVhdHVyZUxpc3Rz",
  35.                   "IhoKCUJ5dGVzTGlzdBINCgV2YWx1ZRgBIAMoDCIeCglGbG9hdExpc3QSEQoF",
  36.                   "dmFsdWUYASADKAJCAhABIh4KCUludDY0TGlzdBIRCgV2YWx1ZRgBIAMoA0IC",
  37.                   "EAEimAEKB0ZlYXR1cmUSKwoKYnl0ZXNfbGlzdBgBIAEoCzIVLnRlbnNvcmZs",
  38.                   "b3cuQnl0ZXNMaXN0SAASKwoKZmxvYXRfbGlzdBgCIAEoCzIVLnRlbnNvcmZs",
  39.                   "b3cuRmxvYXRMaXN0SAASKwoKaW50NjRfbGlzdBgDIAEoCzIVLnRlbnNvcmZs",
  40.                   "b3cuSW50NjRMaXN0SABCBgoEa2luZCKDAQoIRmVhdHVyZXMSMgoHZmVhdHVy",
  41.                   "ZRgBIAMoCzIhLnRlbnNvcmZsb3cuRmVhdHVyZXMuRmVhdHVyZUVudHJ5GkMK",
  42.                   "DEZlYXR1cmVFbnRyeRILCgNrZXkYASABKAkSIgoFdmFsdWUYAiABKAsyEy50",
  43.                   "ZW5zb3JmbG93LkZlYXR1cmU6AjgBIjMKC0ZlYXR1cmVMaXN0EiQKB2ZlYXR1",
  44.                   "cmUYASADKAsyEy50ZW5zb3JmbG93LkZlYXR1cmUinAEKDEZlYXR1cmVMaXN0",
  45.                   "cxI/CgxmZWF0dXJlX2xpc3QYASADKAsyKS50ZW5zb3JmbG93LkZlYXR1cmVM",
  46.                   "aXN0cy5GZWF0dXJlTGlzdEVudHJ5GksKEEZlYXR1cmVMaXN0RW50cnkSCwoD",
  47.                   "a2V5GAEgASgJEiYKBXZhbHVlGAIgASgLMhcudGVuc29yZmxvdy5GZWF0dXJl",
  48.                   "TGlzdDoCOAEiNAoLRXhhbXBsZUxpc3QSJQoIZXhhbXBsZXMYASADKAsyEy50",
  49.                   "ZW5zb3JmbG93LkV4YW1wbGUiZQoWRXhhbXBsZUxpc3RXaXRoQ29udGV4dBIl",
  50.                   "CghleGFtcGxlcxgBIAMoCzITLnRlbnNvcmZsb3cuRXhhbXBsZRIkCgdjb250",
  51.                   "ZXh0GAIgASgLMhMudGVuc29yZmxvdy5FeGFtcGxlIpEBCgVJbnB1dBIzCgxl",
  52.                   "eGFtcGxlX2xpc3QYASABKAsyFy50ZW5zb3JmbG93LkV4YW1wbGVMaXN0QgIo",
  53.                   "AUgAEksKGWV4YW1wbGVfbGlzdF93aXRoX2NvbnRleHQYAiABKAsyIi50ZW5z",
  54.                   "b3JmbG93LkV4YW1wbGVMaXN0V2l0aENvbnRleHRCAigBSABCBgoEa2luZEKB",
  55.                   "AQoWb3JnLnRlbnNvcmZsb3cuZXhhbXBsZUINRXhhbXBsZVByb3Rvc1ABWlNn",
  56.                   "aXRodWIuY29tL3RlbnNvcmZsb3cvdGVuc29yZmxvdy90ZW5zb3JmbG93L2dv",
  57.                   "L2NvcmUvZXhhbXBsZS9leGFtcGxlX3Byb3Rvc19nb19wcm90b/gBAWIGcHJv",
  58.                   "dG8z"));
  59.             descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  60.                 new pbr::FileDescriptor[] { },
  61.                 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  62.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.Example), global::Tensorflow.Example.Parser, new[]{ "Features" }, null, null, null, null),
  63.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.SequenceExample), global::Tensorflow.SequenceExample.Parser, new[]{ "Context", "FeatureLists" }, null, null, null, null),
  64.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.BytesList), global::Tensorflow.BytesList.Parser, new[]{ "Value" }, null, null, null, null),
  65.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.FloatList), global::Tensorflow.FloatList.Parser, new[]{ "Value" }, null, null, null, null),
  66.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.Int64List), global::Tensorflow.Int64List.Parser, new[]{ "Value" }, null, null, null, null),
  67.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.Feature), global::Tensorflow.Feature.Parser, new[]{ "BytesList", "FloatList", "Int64List" }, new[]{ "Kind" }, null, null, null),
  68.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.Features), global::Tensorflow.Features.Parser, new[]{ "Feature" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
  69.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.FeatureList), global::Tensorflow.FeatureList.Parser, new[]{ "Feature" }, null, null, null, null),
  70.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.FeatureLists), global::Tensorflow.FeatureLists.Parser, new[]{ "FeatureList" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
  71.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.ExampleList), global::Tensorflow.ExampleList.Parser, new[]{ "Examples" }, null, null, null, null),
  72.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.ExampleListWithContext), global::Tensorflow.ExampleListWithContext.Parser, new[]{ "Examples", "Context" }, null, null, null, null),
  73.             new pbr::GeneratedClrTypeInfo(typeof(global::Tensorflow.Input), global::Tensorflow.Input.Parser, new[]{ "ExampleList", "ExampleListWithContext" }, new[]{ "Kind" }, null, null, null)
  74.                 }));
  75.         }
  76.         #endregion
  77.  
  78.     }
  79.     #region Messages
  80.     public sealed partial class Example : pb::IMessage<Example>
  81.     {
  82.         private static readonly pb::MessageParser<Example> _parser = new pb::MessageParser<Example>(() => new Example());
  83.         private pb::UnknownFieldSet _unknownFields;
  84.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  85.         public static pb::MessageParser<Example> Parser { get { return _parser; } }
  86.  
  87.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  88.         public static pbr::MessageDescriptor Descriptor
  89.         {
  90.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[0]; }
  91.         }
  92.  
  93.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  94.         pbr::MessageDescriptor pb::IMessage.Descriptor
  95.         {
  96.             get { return Descriptor; }
  97.         }
  98.  
  99.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  100.         public Example()
  101.         {
  102.             OnConstruction();
  103.         }
  104.  
  105.         partial void OnConstruction();
  106.  
  107.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  108.         public Example(Example other) : this()
  109.         {
  110.             features_ = other.features_ != null ? other.features_.Clone() : null;
  111.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  112.         }
  113.  
  114.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  115.         public Example Clone()
  116.         {
  117.             return new Example(this);
  118.         }
  119.  
  120.         /// <summary>Field number for the "features" field.</summary>
  121.         public const int FeaturesFieldNumber = 1;
  122.         private global::Tensorflow.Features features_;
  123.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  124.         public global::Tensorflow.Features Features
  125.         {
  126.             get { return features_; }
  127.             set
  128.             {
  129.                 features_ = value;
  130.             }
  131.         }
  132.  
  133.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  134.         public override bool Equals(object other)
  135.         {
  136.             return Equals(other as Example);
  137.         }
  138.  
  139.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  140.         public bool Equals(Example other)
  141.         {
  142.             if (ReferenceEquals(other, null))
  143.             {
  144.                 return false;
  145.             }
  146.             if (ReferenceEquals(other, this))
  147.             {
  148.                 return true;
  149.             }
  150.             if (!object.Equals(Features, other.Features)) return false;
  151.             return Equals(_unknownFields, other._unknownFields);
  152.         }
  153.  
  154.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  155.         public override int GetHashCode()
  156.         {
  157.             int hash = 1;
  158.             if (features_ != null) hash ^= Features.GetHashCode();
  159.             if (_unknownFields != null)
  160.             {
  161.                 hash ^= _unknownFields.GetHashCode();
  162.             }
  163.             return hash;
  164.         }
  165.  
  166.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  167.         public override string ToString()
  168.         {
  169.             return pb::JsonFormatter.ToDiagnosticString(this);
  170.         }
  171.  
  172.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  173.         public void WriteTo(pb::CodedOutputStream output)
  174.         {
  175.             if (features_ != null)
  176.             {
  177.                 output.WriteRawTag(10);
  178.                 output.WriteMessage(Features);
  179.             }
  180.             if (_unknownFields != null)
  181.             {
  182.                 _unknownFields.WriteTo(output);
  183.             }
  184.         }
  185.  
  186.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  187.         public int CalculateSize()
  188.         {
  189.             int size = 0;
  190.             if (features_ != null)
  191.             {
  192.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Features);
  193.             }
  194.             if (_unknownFields != null)
  195.             {
  196.                 size += _unknownFields.CalculateSize();
  197.             }
  198.             return size;
  199.         }
  200.  
  201.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  202.         public void MergeFrom(Example other)
  203.         {
  204.             if (other == null)
  205.             {
  206.                 return;
  207.             }
  208.             if (other.features_ != null)
  209.             {
  210.                 if (features_ == null)
  211.                 {
  212.                     Features = new global::Tensorflow.Features();
  213.                 }
  214.                 Features.MergeFrom(other.Features);
  215.             }
  216.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  217.         }
  218.  
  219.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  220.         public void MergeFrom(pb::CodedInputStream input)
  221.         {
  222.             uint tag;
  223.             while ((tag = input.ReadTag()) != 0)
  224.             {
  225.                 switch (tag)
  226.                 {
  227.                     default:
  228.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  229.                         break;
  230.                     case 10:
  231.                         {
  232.                             if (features_ == null)
  233.                             {
  234.                                 Features = new global::Tensorflow.Features();
  235.                             }
  236.                             input.ReadMessage(Features);
  237.                             break;
  238.                         }
  239.                 }
  240.             }
  241.         }
  242.  
  243.     }
  244.  
  245.     public sealed partial class SequenceExample : pb::IMessage<SequenceExample>
  246.     {
  247.         private static readonly pb::MessageParser<SequenceExample> _parser = new pb::MessageParser<SequenceExample>(() => new SequenceExample());
  248.         private pb::UnknownFieldSet _unknownFields;
  249.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  250.         public static pb::MessageParser<SequenceExample> Parser { get { return _parser; } }
  251.  
  252.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  253.         public static pbr::MessageDescriptor Descriptor
  254.         {
  255.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[1]; }
  256.         }
  257.  
  258.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  259.         pbr::MessageDescriptor pb::IMessage.Descriptor
  260.         {
  261.             get { return Descriptor; }
  262.         }
  263.  
  264.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  265.         public SequenceExample()
  266.         {
  267.             OnConstruction();
  268.         }
  269.  
  270.         partial void OnConstruction();
  271.  
  272.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  273.         public SequenceExample(SequenceExample other) : this()
  274.         {
  275.             context_ = other.context_ != null ? other.context_.Clone() : null;
  276.             featureLists_ = other.featureLists_ != null ? other.featureLists_.Clone() : null;
  277.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  278.         }
  279.  
  280.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  281.         public SequenceExample Clone()
  282.         {
  283.             return new SequenceExample(this);
  284.         }
  285.  
  286.         /// <summary>Field number for the "context" field.</summary>
  287.         public const int ContextFieldNumber = 1;
  288.         private global::Tensorflow.Features context_;
  289.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  290.         public global::Tensorflow.Features Context
  291.         {
  292.             get { return context_; }
  293.             set
  294.             {
  295.                 context_ = value;
  296.             }
  297.         }
  298.  
  299.         /// <summary>Field number for the "feature_lists" field.</summary>
  300.         public const int FeatureListsFieldNumber = 2;
  301.         private global::Tensorflow.FeatureLists featureLists_;
  302.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  303.         public global::Tensorflow.FeatureLists FeatureLists
  304.         {
  305.             get { return featureLists_; }
  306.             set
  307.             {
  308.                 featureLists_ = value;
  309.             }
  310.         }
  311.  
  312.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  313.         public override bool Equals(object other)
  314.         {
  315.             return Equals(other as SequenceExample);
  316.         }
  317.  
  318.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  319.         public bool Equals(SequenceExample other)
  320.         {
  321.             if (ReferenceEquals(other, null))
  322.             {
  323.                 return false;
  324.             }
  325.             if (ReferenceEquals(other, this))
  326.             {
  327.                 return true;
  328.             }
  329.             if (!object.Equals(Context, other.Context)) return false;
  330.             if (!object.Equals(FeatureLists, other.FeatureLists)) return false;
  331.             return Equals(_unknownFields, other._unknownFields);
  332.         }
  333.  
  334.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  335.         public override int GetHashCode()
  336.         {
  337.             int hash = 1;
  338.             if (context_ != null) hash ^= Context.GetHashCode();
  339.             if (featureLists_ != null) hash ^= FeatureLists.GetHashCode();
  340.             if (_unknownFields != null)
  341.             {
  342.                 hash ^= _unknownFields.GetHashCode();
  343.             }
  344.             return hash;
  345.         }
  346.  
  347.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  348.         public override string ToString()
  349.         {
  350.             return pb::JsonFormatter.ToDiagnosticString(this);
  351.         }
  352.  
  353.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  354.         public void WriteTo(pb::CodedOutputStream output)
  355.         {
  356.             if (context_ != null)
  357.             {
  358.                 output.WriteRawTag(10);
  359.                 output.WriteMessage(Context);
  360.             }
  361.             if (featureLists_ != null)
  362.             {
  363.                 output.WriteRawTag(18);
  364.                 output.WriteMessage(FeatureLists);
  365.             }
  366.             if (_unknownFields != null)
  367.             {
  368.                 _unknownFields.WriteTo(output);
  369.             }
  370.         }
  371.  
  372.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  373.         public int CalculateSize()
  374.         {
  375.             int size = 0;
  376.             if (context_ != null)
  377.             {
  378.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Context);
  379.             }
  380.             if (featureLists_ != null)
  381.             {
  382.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(FeatureLists);
  383.             }
  384.             if (_unknownFields != null)
  385.             {
  386.                 size += _unknownFields.CalculateSize();
  387.             }
  388.             return size;
  389.         }
  390.  
  391.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  392.         public void MergeFrom(SequenceExample other)
  393.         {
  394.             if (other == null)
  395.             {
  396.                 return;
  397.             }
  398.             if (other.context_ != null)
  399.             {
  400.                 if (context_ == null)
  401.                 {
  402.                     Context = new global::Tensorflow.Features();
  403.                 }
  404.                 Context.MergeFrom(other.Context);
  405.             }
  406.             if (other.featureLists_ != null)
  407.             {
  408.                 if (featureLists_ == null)
  409.                 {
  410.                     FeatureLists = new global::Tensorflow.FeatureLists();
  411.                 }
  412.                 FeatureLists.MergeFrom(other.FeatureLists);
  413.             }
  414.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  415.         }
  416.  
  417.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  418.         public void MergeFrom(pb::CodedInputStream input)
  419.         {
  420.             uint tag;
  421.             while ((tag = input.ReadTag()) != 0)
  422.             {
  423.                 switch (tag)
  424.                 {
  425.                     default:
  426.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  427.                         break;
  428.                     case 10:
  429.                         {
  430.                             if (context_ == null)
  431.                             {
  432.                                 Context = new global::Tensorflow.Features();
  433.                             }
  434.                             input.ReadMessage(Context);
  435.                             break;
  436.                         }
  437.                     case 18:
  438.                         {
  439.                             if (featureLists_ == null)
  440.                             {
  441.                                 FeatureLists = new global::Tensorflow.FeatureLists();
  442.                             }
  443.                             input.ReadMessage(FeatureLists);
  444.                             break;
  445.                         }
  446.                 }
  447.             }
  448.         }
  449.  
  450.     }
  451.  
  452.     /// <summary>
  453.     /// Containers to hold repeated fundamental values.
  454.     /// </summary>
  455.     public sealed partial class BytesList : pb::IMessage<BytesList>
  456.     {
  457.         private static readonly pb::MessageParser<BytesList> _parser = new pb::MessageParser<BytesList>(() => new BytesList());
  458.         private pb::UnknownFieldSet _unknownFields;
  459.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  460.         public static pb::MessageParser<BytesList> Parser { get { return _parser; } }
  461.  
  462.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  463.         public static pbr::MessageDescriptor Descriptor
  464.         {
  465.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[2]; }
  466.         }
  467.  
  468.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  469.         pbr::MessageDescriptor pb::IMessage.Descriptor
  470.         {
  471.             get { return Descriptor; }
  472.         }
  473.  
  474.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  475.         public BytesList()
  476.         {
  477.             OnConstruction();
  478.         }
  479.  
  480.         partial void OnConstruction();
  481.  
  482.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  483.         public BytesList(BytesList other) : this()
  484.         {
  485.             value_ = other.value_.Clone();
  486.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  487.         }
  488.  
  489.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  490.         public BytesList Clone()
  491.         {
  492.             return new BytesList(this);
  493.         }
  494.  
  495.         /// <summary>Field number for the "value" field.</summary>
  496.         public const int ValueFieldNumber = 1;
  497.         private static readonly pb::FieldCodec<pb::ByteString> _repeated_value_codec
  498.             = pb::FieldCodec.ForBytes(10);
  499.         private readonly pbc::RepeatedField<pb::ByteString> value_ = new pbc::RepeatedField<pb::ByteString>();
  500.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  501.         public pbc::RepeatedField<pb::ByteString> Value
  502.         {
  503.             get { return value_; }
  504.         }
  505.  
  506.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  507.         public override bool Equals(object other)
  508.         {
  509.             return Equals(other as BytesList);
  510.         }
  511.  
  512.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  513.         public bool Equals(BytesList other)
  514.         {
  515.             if (ReferenceEquals(other, null))
  516.             {
  517.                 return false;
  518.             }
  519.             if (ReferenceEquals(other, this))
  520.             {
  521.                 return true;
  522.             }
  523.             if (!value_.Equals(other.value_)) return false;
  524.             return Equals(_unknownFields, other._unknownFields);
  525.         }
  526.  
  527.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  528.         public override int GetHashCode()
  529.         {
  530.             int hash = 1;
  531.             hash ^= value_.GetHashCode();
  532.             if (_unknownFields != null)
  533.             {
  534.                 hash ^= _unknownFields.GetHashCode();
  535.             }
  536.             return hash;
  537.         }
  538.  
  539.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  540.         public override string ToString()
  541.         {
  542.             return pb::JsonFormatter.ToDiagnosticString(this);
  543.         }
  544.  
  545.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  546.         public void WriteTo(pb::CodedOutputStream output)
  547.         {
  548.             value_.WriteTo(output, _repeated_value_codec);
  549.             if (_unknownFields != null)
  550.             {
  551.                 _unknownFields.WriteTo(output);
  552.             }
  553.         }
  554.  
  555.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  556.         public int CalculateSize()
  557.         {
  558.             int size = 0;
  559.             size += value_.CalculateSize(_repeated_value_codec);
  560.             if (_unknownFields != null)
  561.             {
  562.                 size += _unknownFields.CalculateSize();
  563.             }
  564.             return size;
  565.         }
  566.  
  567.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  568.         public void MergeFrom(BytesList other)
  569.         {
  570.             if (other == null)
  571.             {
  572.                 return;
  573.             }
  574.             value_.Add(other.value_);
  575.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  576.         }
  577.  
  578.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  579.         public void MergeFrom(pb::CodedInputStream input)
  580.         {
  581.             uint tag;
  582.             while ((tag = input.ReadTag()) != 0)
  583.             {
  584.                 switch (tag)
  585.                 {
  586.                     default:
  587.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  588.                         break;
  589.                     case 10:
  590.                         {
  591.                             value_.AddEntriesFrom(input, _repeated_value_codec);
  592.                             break;
  593.                         }
  594.                 }
  595.             }
  596.         }
  597.  
  598.     }
  599.  
  600.     public sealed partial class FloatList : pb::IMessage<FloatList>
  601.     {
  602.         private static readonly pb::MessageParser<FloatList> _parser = new pb::MessageParser<FloatList>(() => new FloatList());
  603.         private pb::UnknownFieldSet _unknownFields;
  604.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  605.         public static pb::MessageParser<FloatList> Parser { get { return _parser; } }
  606.  
  607.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  608.         public static pbr::MessageDescriptor Descriptor
  609.         {
  610.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[3]; }
  611.         }
  612.  
  613.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  614.         pbr::MessageDescriptor pb::IMessage.Descriptor
  615.         {
  616.             get { return Descriptor; }
  617.         }
  618.  
  619.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  620.         public FloatList()
  621.         {
  622.             OnConstruction();
  623.         }
  624.  
  625.         partial void OnConstruction();
  626.  
  627.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  628.         public FloatList(FloatList other) : this()
  629.         {
  630.             value_ = other.value_.Clone();
  631.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  632.         }
  633.  
  634.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  635.         public FloatList Clone()
  636.         {
  637.             return new FloatList(this);
  638.         }
  639.  
  640.         /// <summary>Field number for the "value" field.</summary>
  641.         public const int ValueFieldNumber = 1;
  642.         private static readonly pb::FieldCodec<float> _repeated_value_codec
  643.             = pb::FieldCodec.ForFloat(10);
  644.         private readonly pbc::RepeatedField<float> value_ = new pbc::RepeatedField<float>();
  645.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  646.         public pbc::RepeatedField<float> Value
  647.         {
  648.             get { return value_; }
  649.         }
  650.  
  651.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  652.         public override bool Equals(object other)
  653.         {
  654.             return Equals(other as FloatList);
  655.         }
  656.  
  657.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  658.         public bool Equals(FloatList other)
  659.         {
  660.             if (ReferenceEquals(other, null))
  661.             {
  662.                 return false;
  663.             }
  664.             if (ReferenceEquals(other, this))
  665.             {
  666.                 return true;
  667.             }
  668.             if (!value_.Equals(other.value_)) return false;
  669.             return Equals(_unknownFields, other._unknownFields);
  670.         }
  671.  
  672.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  673.         public override int GetHashCode()
  674.         {
  675.             int hash = 1;
  676.             hash ^= value_.GetHashCode();
  677.             if (_unknownFields != null)
  678.             {
  679.                 hash ^= _unknownFields.GetHashCode();
  680.             }
  681.             return hash;
  682.         }
  683.  
  684.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  685.         public override string ToString()
  686.         {
  687.             return pb::JsonFormatter.ToDiagnosticString(this);
  688.         }
  689.  
  690.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  691.         public void WriteTo(pb::CodedOutputStream output)
  692.         {
  693.             value_.WriteTo(output, _repeated_value_codec);
  694.             if (_unknownFields != null)
  695.             {
  696.                 _unknownFields.WriteTo(output);
  697.             }
  698.         }
  699.  
  700.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  701.         public int CalculateSize()
  702.         {
  703.             int size = 0;
  704.             size += value_.CalculateSize(_repeated_value_codec);
  705.             if (_unknownFields != null)
  706.             {
  707.                 size += _unknownFields.CalculateSize();
  708.             }
  709.             return size;
  710.         }
  711.  
  712.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  713.         public void MergeFrom(FloatList other)
  714.         {
  715.             if (other == null)
  716.             {
  717.                 return;
  718.             }
  719.             value_.Add(other.value_);
  720.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  721.         }
  722.  
  723.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  724.         public void MergeFrom(pb::CodedInputStream input)
  725.         {
  726.             uint tag;
  727.             while ((tag = input.ReadTag()) != 0)
  728.             {
  729.                 switch (tag)
  730.                 {
  731.                     default:
  732.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  733.                         break;
  734.                     case 10:
  735.                     case 13:
  736.                         {
  737.                             value_.AddEntriesFrom(input, _repeated_value_codec);
  738.                             break;
  739.                         }
  740.                 }
  741.             }
  742.         }
  743.  
  744.     }
  745.  
  746.     public sealed partial class Int64List : pb::IMessage<Int64List>
  747.     {
  748.         private static readonly pb::MessageParser<Int64List> _parser = new pb::MessageParser<Int64List>(() => new Int64List());
  749.         private pb::UnknownFieldSet _unknownFields;
  750.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  751.         public static pb::MessageParser<Int64List> Parser { get { return _parser; } }
  752.  
  753.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  754.         public static pbr::MessageDescriptor Descriptor
  755.         {
  756.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[4]; }
  757.         }
  758.  
  759.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  760.         pbr::MessageDescriptor pb::IMessage.Descriptor
  761.         {
  762.             get { return Descriptor; }
  763.         }
  764.  
  765.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  766.         public Int64List()
  767.         {
  768.             OnConstruction();
  769.         }
  770.  
  771.         partial void OnConstruction();
  772.  
  773.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  774.         public Int64List(Int64List other) : this()
  775.         {
  776.             value_ = other.value_.Clone();
  777.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  778.         }
  779.  
  780.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  781.         public Int64List Clone()
  782.         {
  783.             return new Int64List(this);
  784.         }
  785.  
  786.         /// <summary>Field number for the "value" field.</summary>
  787.         public const int ValueFieldNumber = 1;
  788.         private static readonly pb::FieldCodec<long> _repeated_value_codec
  789.             = pb::FieldCodec.ForInt64(10);
  790.         private readonly pbc::RepeatedField<long> value_ = new pbc::RepeatedField<long>();
  791.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  792.         public pbc::RepeatedField<long> Value
  793.         {
  794.             get { return value_; }
  795.         }
  796.  
  797.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  798.         public override bool Equals(object other)
  799.         {
  800.             return Equals(other as Int64List);
  801.         }
  802.  
  803.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  804.         public bool Equals(Int64List other)
  805.         {
  806.             if (ReferenceEquals(other, null))
  807.             {
  808.                 return false;
  809.             }
  810.             if (ReferenceEquals(other, this))
  811.             {
  812.                 return true;
  813.             }
  814.             if (!value_.Equals(other.value_)) return false;
  815.             return Equals(_unknownFields, other._unknownFields);
  816.         }
  817.  
  818.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  819.         public override int GetHashCode()
  820.         {
  821.             int hash = 1;
  822.             hash ^= value_.GetHashCode();
  823.             if (_unknownFields != null)
  824.             {
  825.                 hash ^= _unknownFields.GetHashCode();
  826.             }
  827.             return hash;
  828.         }
  829.  
  830.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  831.         public override string ToString()
  832.         {
  833.             return pb::JsonFormatter.ToDiagnosticString(this);
  834.         }
  835.  
  836.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  837.         public void WriteTo(pb::CodedOutputStream output)
  838.         {
  839.             value_.WriteTo(output, _repeated_value_codec);
  840.             if (_unknownFields != null)
  841.             {
  842.                 _unknownFields.WriteTo(output);
  843.             }
  844.         }
  845.  
  846.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  847.         public int CalculateSize()
  848.         {
  849.             int size = 0;
  850.             size += value_.CalculateSize(_repeated_value_codec);
  851.             if (_unknownFields != null)
  852.             {
  853.                 size += _unknownFields.CalculateSize();
  854.             }
  855.             return size;
  856.         }
  857.  
  858.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  859.         public void MergeFrom(Int64List other)
  860.         {
  861.             if (other == null)
  862.             {
  863.                 return;
  864.             }
  865.             value_.Add(other.value_);
  866.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  867.         }
  868.  
  869.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  870.         public void MergeFrom(pb::CodedInputStream input)
  871.         {
  872.             uint tag;
  873.             while ((tag = input.ReadTag()) != 0)
  874.             {
  875.                 switch (tag)
  876.                 {
  877.                     default:
  878.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  879.                         break;
  880.                     case 10:
  881.                     case 8:
  882.                         {
  883.                             value_.AddEntriesFrom(input, _repeated_value_codec);
  884.                             break;
  885.                         }
  886.                 }
  887.             }
  888.         }
  889.  
  890.     }
  891.  
  892.     /// <summary>
  893.     /// Containers for non-sequential data.
  894.     /// </summary>
  895.     public sealed partial class Feature : pb::IMessage<Feature>
  896.     {
  897.         private static readonly pb::MessageParser<Feature> _parser = new pb::MessageParser<Feature>(() => new Feature());
  898.         private pb::UnknownFieldSet _unknownFields;
  899.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  900.         public static pb::MessageParser<Feature> Parser { get { return _parser; } }
  901.  
  902.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  903.         public static pbr::MessageDescriptor Descriptor
  904.         {
  905.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[5]; }
  906.         }
  907.  
  908.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  909.         pbr::MessageDescriptor pb::IMessage.Descriptor
  910.         {
  911.             get { return Descriptor; }
  912.         }
  913.  
  914.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  915.         public Feature()
  916.         {
  917.             OnConstruction();
  918.         }
  919.  
  920.         partial void OnConstruction();
  921.  
  922.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  923.         public Feature(Feature other) : this()
  924.         {
  925.             switch (other.KindCase)
  926.             {
  927.                 case KindOneofCase.BytesList:
  928.                     BytesList = other.BytesList.Clone();
  929.                     break;
  930.                 case KindOneofCase.FloatList:
  931.                     FloatList = other.FloatList.Clone();
  932.                     break;
  933.                 case KindOneofCase.Int64List:
  934.                     Int64List = other.Int64List.Clone();
  935.                     break;
  936.             }
  937.  
  938.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  939.         }
  940.  
  941.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  942.         public Feature Clone()
  943.         {
  944.             return new Feature(this);
  945.         }
  946.  
  947.         /// <summary>Field number for the "bytes_list" field.</summary>
  948.         public const int BytesListFieldNumber = 1;
  949.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  950.         public global::Tensorflow.BytesList BytesList
  951.         {
  952.             get { return kindCase_ == KindOneofCase.BytesList ? (global::Tensorflow.BytesList)kind_ : null; }
  953.             set
  954.             {
  955.                 kind_ = value;
  956.                 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.BytesList;
  957.             }
  958.         }
  959.  
  960.         /// <summary>Field number for the "float_list" field.</summary>
  961.         public const int FloatListFieldNumber = 2;
  962.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  963.         public global::Tensorflow.FloatList FloatList
  964.         {
  965.             get { return kindCase_ == KindOneofCase.FloatList ? (global::Tensorflow.FloatList)kind_ : null; }
  966.             set
  967.             {
  968.                 kind_ = value;
  969.                 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.FloatList;
  970.             }
  971.         }
  972.  
  973.         /// <summary>Field number for the "int64_list" field.</summary>
  974.         public const int Int64ListFieldNumber = 3;
  975.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  976.         public global::Tensorflow.Int64List Int64List
  977.         {
  978.             get { return kindCase_ == KindOneofCase.Int64List ? (global::Tensorflow.Int64List)kind_ : null; }
  979.             set
  980.             {
  981.                 kind_ = value;
  982.                 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.Int64List;
  983.             }
  984.         }
  985.  
  986.         private object kind_;
  987.         /// <summary>Enum of possible cases for the "kind" oneof.</summary>
  988.         public enum KindOneofCase
  989.         {
  990.             None = 0,
  991.             BytesList = 1,
  992.             FloatList = 2,
  993.             Int64List = 3,
  994.         }
  995.         private KindOneofCase kindCase_ = KindOneofCase.None;
  996.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  997.         public KindOneofCase KindCase
  998.         {
  999.             get { return kindCase_; }
  1000.         }
  1001.  
  1002.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1003.         public void ClearKind()
  1004.         {
  1005.             kindCase_ = KindOneofCase.None;
  1006.             kind_ = null;
  1007.         }
  1008.  
  1009.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1010.         public override bool Equals(object other)
  1011.         {
  1012.             return Equals(other as Feature);
  1013.         }
  1014.  
  1015.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1016.         public bool Equals(Feature other)
  1017.         {
  1018.             if (ReferenceEquals(other, null))
  1019.             {
  1020.                 return false;
  1021.             }
  1022.             if (ReferenceEquals(other, this))
  1023.             {
  1024.                 return true;
  1025.             }
  1026.             if (!object.Equals(BytesList, other.BytesList)) return false;
  1027.             if (!object.Equals(FloatList, other.FloatList)) return false;
  1028.             if (!object.Equals(Int64List, other.Int64List)) return false;
  1029.             if (KindCase != other.KindCase) return false;
  1030.             return Equals(_unknownFields, other._unknownFields);
  1031.         }
  1032.  
  1033.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1034.         public override int GetHashCode()
  1035.         {
  1036.             int hash = 1;
  1037.             if (kindCase_ == KindOneofCase.BytesList) hash ^= BytesList.GetHashCode();
  1038.             if (kindCase_ == KindOneofCase.FloatList) hash ^= FloatList.GetHashCode();
  1039.             if (kindCase_ == KindOneofCase.Int64List) hash ^= Int64List.GetHashCode();
  1040.             hash ^= (int)kindCase_;
  1041.             if (_unknownFields != null)
  1042.             {
  1043.                 hash ^= _unknownFields.GetHashCode();
  1044.             }
  1045.             return hash;
  1046.         }
  1047.  
  1048.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1049.         public override string ToString()
  1050.         {
  1051.             return pb::JsonFormatter.ToDiagnosticString(this);
  1052.         }
  1053.  
  1054.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1055.         public void WriteTo(pb::CodedOutputStream output)
  1056.         {
  1057.             if (kindCase_ == KindOneofCase.BytesList)
  1058.             {
  1059.                 output.WriteRawTag(10);
  1060.                 output.WriteMessage(BytesList);
  1061.             }
  1062.             if (kindCase_ == KindOneofCase.FloatList)
  1063.             {
  1064.                 output.WriteRawTag(18);
  1065.                 output.WriteMessage(FloatList);
  1066.             }
  1067.             if (kindCase_ == KindOneofCase.Int64List)
  1068.             {
  1069.                 output.WriteRawTag(26);
  1070.                 output.WriteMessage(Int64List);
  1071.             }
  1072.             if (_unknownFields != null)
  1073.             {
  1074.                 _unknownFields.WriteTo(output);
  1075.             }
  1076.         }
  1077.  
  1078.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1079.         public int CalculateSize()
  1080.         {
  1081.             int size = 0;
  1082.             if (kindCase_ == KindOneofCase.BytesList)
  1083.             {
  1084.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BytesList);
  1085.             }
  1086.             if (kindCase_ == KindOneofCase.FloatList)
  1087.             {
  1088.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(FloatList);
  1089.             }
  1090.             if (kindCase_ == KindOneofCase.Int64List)
  1091.             {
  1092.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Int64List);
  1093.             }
  1094.             if (_unknownFields != null)
  1095.             {
  1096.                 size += _unknownFields.CalculateSize();
  1097.             }
  1098.             return size;
  1099.         }
  1100.  
  1101.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1102.         public void MergeFrom(Feature other)
  1103.         {
  1104.             if (other == null)
  1105.             {
  1106.                 return;
  1107.             }
  1108.             switch (other.KindCase)
  1109.             {
  1110.                 case KindOneofCase.BytesList:
  1111.                     if (BytesList == null)
  1112.                     {
  1113.                         BytesList = new global::Tensorflow.BytesList();
  1114.                     }
  1115.                     BytesList.MergeFrom(other.BytesList);
  1116.                     break;
  1117.                 case KindOneofCase.FloatList:
  1118.                     if (FloatList == null)
  1119.                     {
  1120.                         FloatList = new global::Tensorflow.FloatList();
  1121.                     }
  1122.                     FloatList.MergeFrom(other.FloatList);
  1123.                     break;
  1124.                 case KindOneofCase.Int64List:
  1125.                     if (Int64List == null)
  1126.                     {
  1127.                         Int64List = new global::Tensorflow.Int64List();
  1128.                     }
  1129.                     Int64List.MergeFrom(other.Int64List);
  1130.                     break;
  1131.             }
  1132.  
  1133.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1134.         }
  1135.  
  1136.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1137.         public void MergeFrom(pb::CodedInputStream input)
  1138.         {
  1139.             uint tag;
  1140.             while ((tag = input.ReadTag()) != 0)
  1141.             {
  1142.                 switch (tag)
  1143.                 {
  1144.                     default:
  1145.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1146.                         break;
  1147.                     case 10:
  1148.                         {
  1149.                             global::Tensorflow.BytesList subBuilder = new global::Tensorflow.BytesList();
  1150.                             if (kindCase_ == KindOneofCase.BytesList)
  1151.                             {
  1152.                                 subBuilder.MergeFrom(BytesList);
  1153.                             }
  1154.                             input.ReadMessage(subBuilder);
  1155.                             BytesList = subBuilder;
  1156.                             break;
  1157.                         }
  1158.                     case 18:
  1159.                         {
  1160.                             global::Tensorflow.FloatList subBuilder = new global::Tensorflow.FloatList();
  1161.                             if (kindCase_ == KindOneofCase.FloatList)
  1162.                             {
  1163.                                 subBuilder.MergeFrom(FloatList);
  1164.                             }
  1165.                             input.ReadMessage(subBuilder);
  1166.                             FloatList = subBuilder;
  1167.                             break;
  1168.                         }
  1169.                     case 26:
  1170.                         {
  1171.                             global::Tensorflow.Int64List subBuilder = new global::Tensorflow.Int64List();
  1172.                             if (kindCase_ == KindOneofCase.Int64List)
  1173.                             {
  1174.                                 subBuilder.MergeFrom(Int64List);
  1175.                             }
  1176.                             input.ReadMessage(subBuilder);
  1177.                             Int64List = subBuilder;
  1178.                             break;
  1179.                         }
  1180.                 }
  1181.             }
  1182.         }
  1183.  
  1184.     }
  1185.  
  1186.     public sealed partial class Features : pb::IMessage<Features>
  1187.     {
  1188.         private static readonly pb::MessageParser<Features> _parser = new pb::MessageParser<Features>(() => new Features());
  1189.         private pb::UnknownFieldSet _unknownFields;
  1190.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1191.         public static pb::MessageParser<Features> Parser { get { return _parser; } }
  1192.  
  1193.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1194.         public static pbr::MessageDescriptor Descriptor
  1195.         {
  1196.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[6]; }
  1197.         }
  1198.  
  1199.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1200.         pbr::MessageDescriptor pb::IMessage.Descriptor
  1201.         {
  1202.             get { return Descriptor; }
  1203.         }
  1204.  
  1205.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1206.         public Features()
  1207.         {
  1208.             OnConstruction();
  1209.         }
  1210.  
  1211.         partial void OnConstruction();
  1212.  
  1213.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1214.         public Features(Features other) : this()
  1215.         {
  1216.             feature_ = other.feature_.Clone();
  1217.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1218.         }
  1219.  
  1220.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1221.         public Features Clone()
  1222.         {
  1223.             return new Features(this);
  1224.         }
  1225.  
  1226.         /// <summary>Field number for the "feature" field.</summary>
  1227.         public const int FeatureFieldNumber = 1;
  1228.         private static readonly pbc::MapField<string, global::Tensorflow.Feature>.Codec _map_feature_codec
  1229.             = new pbc::MapField<string, global::Tensorflow.Feature>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Tensorflow.Feature.Parser), 10);
  1230.         private readonly pbc::MapField<string, global::Tensorflow.Feature> feature_ = new pbc::MapField<string, global::Tensorflow.Feature>();
  1231.         /// <summary>
  1232.         /// Map from feature name to feature.
  1233.         /// </summary>
  1234.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1235.         public pbc::MapField<string, global::Tensorflow.Feature> Feature
  1236.         {
  1237.             get { return feature_; }
  1238.         }
  1239.  
  1240.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1241.         public override bool Equals(object other)
  1242.         {
  1243.             return Equals(other as Features);
  1244.         }
  1245.  
  1246.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1247.         public bool Equals(Features other)
  1248.         {
  1249.             if (ReferenceEquals(other, null))
  1250.             {
  1251.                 return false;
  1252.             }
  1253.             if (ReferenceEquals(other, this))
  1254.             {
  1255.                 return true;
  1256.             }
  1257.             if (!Feature.Equals(other.Feature)) return false;
  1258.             return Equals(_unknownFields, other._unknownFields);
  1259.         }
  1260.  
  1261.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1262.         public override int GetHashCode()
  1263.         {
  1264.             int hash = 1;
  1265.             hash ^= Feature.GetHashCode();
  1266.             if (_unknownFields != null)
  1267.             {
  1268.                 hash ^= _unknownFields.GetHashCode();
  1269.             }
  1270.             return hash;
  1271.         }
  1272.  
  1273.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1274.         public override string ToString()
  1275.         {
  1276.             return pb::JsonFormatter.ToDiagnosticString(this);
  1277.         }
  1278.  
  1279.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1280.         public void WriteTo(pb::CodedOutputStream output)
  1281.         {
  1282.             feature_.WriteTo(output, _map_feature_codec);
  1283.             if (_unknownFields != null)
  1284.             {
  1285.                 _unknownFields.WriteTo(output);
  1286.             }
  1287.         }
  1288.  
  1289.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1290.         public int CalculateSize()
  1291.         {
  1292.             int size = 0;
  1293.             size += feature_.CalculateSize(_map_feature_codec);
  1294.             if (_unknownFields != null)
  1295.             {
  1296.                 size += _unknownFields.CalculateSize();
  1297.             }
  1298.             return size;
  1299.         }
  1300.  
  1301.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1302.         public void MergeFrom(Features other)
  1303.         {
  1304.             if (other == null)
  1305.             {
  1306.                 return;
  1307.             }
  1308.             feature_.Add(other.feature_);
  1309.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1310.         }
  1311.  
  1312.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1313.         public void MergeFrom(pb::CodedInputStream input)
  1314.         {
  1315.             uint tag;
  1316.             while ((tag = input.ReadTag()) != 0)
  1317.             {
  1318.                 switch (tag)
  1319.                 {
  1320.                     default:
  1321.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1322.                         break;
  1323.                     case 10:
  1324.                         {
  1325.                             feature_.AddEntriesFrom(input, _map_feature_codec);
  1326.                             break;
  1327.                         }
  1328.                 }
  1329.             }
  1330.         }
  1331.  
  1332.     }
  1333.  
  1334.     /// <summary>
  1335.     /// Containers for sequential data.
  1336.     ///
  1337.     /// A FeatureList contains lists of Features.  These may hold zero or more
  1338.     /// Feature values.
  1339.     ///
  1340.     /// FeatureLists are organized into categories by name.  The FeatureLists message
  1341.     /// contains the mapping from name to FeatureList.
  1342.     /// </summary>
  1343.     public sealed partial class FeatureList : pb::IMessage<FeatureList>
  1344.     {
  1345.         private static readonly pb::MessageParser<FeatureList> _parser = new pb::MessageParser<FeatureList>(() => new FeatureList());
  1346.         private pb::UnknownFieldSet _unknownFields;
  1347.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1348.         public static pb::MessageParser<FeatureList> Parser { get { return _parser; } }
  1349.  
  1350.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1351.         public static pbr::MessageDescriptor Descriptor
  1352.         {
  1353.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[7]; }
  1354.         }
  1355.  
  1356.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1357.         pbr::MessageDescriptor pb::IMessage.Descriptor
  1358.         {
  1359.             get { return Descriptor; }
  1360.         }
  1361.  
  1362.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1363.         public FeatureList()
  1364.         {
  1365.             OnConstruction();
  1366.         }
  1367.  
  1368.         partial void OnConstruction();
  1369.  
  1370.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1371.         public FeatureList(FeatureList other) : this()
  1372.         {
  1373.             feature_ = other.feature_.Clone();
  1374.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1375.         }
  1376.  
  1377.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1378.         public FeatureList Clone()
  1379.         {
  1380.             return new FeatureList(this);
  1381.         }
  1382.  
  1383.         /// <summary>Field number for the "feature" field.</summary>
  1384.         public const int FeatureFieldNumber = 1;
  1385.         private static readonly pb::FieldCodec<global::Tensorflow.Feature> _repeated_feature_codec
  1386.             = pb::FieldCodec.ForMessage(10, global::Tensorflow.Feature.Parser);
  1387.         private readonly pbc::RepeatedField<global::Tensorflow.Feature> feature_ = new pbc::RepeatedField<global::Tensorflow.Feature>();
  1388.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1389.         public pbc::RepeatedField<global::Tensorflow.Feature> Feature
  1390.         {
  1391.             get { return feature_; }
  1392.         }
  1393.  
  1394.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1395.         public override bool Equals(object other)
  1396.         {
  1397.             return Equals(other as FeatureList);
  1398.         }
  1399.  
  1400.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1401.         public bool Equals(FeatureList other)
  1402.         {
  1403.             if (ReferenceEquals(other, null))
  1404.             {
  1405.                 return false;
  1406.             }
  1407.             if (ReferenceEquals(other, this))
  1408.             {
  1409.                 return true;
  1410.             }
  1411.             if (!feature_.Equals(other.feature_)) return false;
  1412.             return Equals(_unknownFields, other._unknownFields);
  1413.         }
  1414.  
  1415.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1416.         public override int GetHashCode()
  1417.         {
  1418.             int hash = 1;
  1419.             hash ^= feature_.GetHashCode();
  1420.             if (_unknownFields != null)
  1421.             {
  1422.                 hash ^= _unknownFields.GetHashCode();
  1423.             }
  1424.             return hash;
  1425.         }
  1426.  
  1427.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1428.         public override string ToString()
  1429.         {
  1430.             return pb::JsonFormatter.ToDiagnosticString(this);
  1431.         }
  1432.  
  1433.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1434.         public void WriteTo(pb::CodedOutputStream output)
  1435.         {
  1436.             feature_.WriteTo(output, _repeated_feature_codec);
  1437.             if (_unknownFields != null)
  1438.             {
  1439.                 _unknownFields.WriteTo(output);
  1440.             }
  1441.         }
  1442.  
  1443.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1444.         public int CalculateSize()
  1445.         {
  1446.             int size = 0;
  1447.             size += feature_.CalculateSize(_repeated_feature_codec);
  1448.             if (_unknownFields != null)
  1449.             {
  1450.                 size += _unknownFields.CalculateSize();
  1451.             }
  1452.             return size;
  1453.         }
  1454.  
  1455.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1456.         public void MergeFrom(FeatureList other)
  1457.         {
  1458.             if (other == null)
  1459.             {
  1460.                 return;
  1461.             }
  1462.             feature_.Add(other.feature_);
  1463.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1464.         }
  1465.  
  1466.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1467.         public void MergeFrom(pb::CodedInputStream input)
  1468.         {
  1469.             uint tag;
  1470.             while ((tag = input.ReadTag()) != 0)
  1471.             {
  1472.                 switch (tag)
  1473.                 {
  1474.                     default:
  1475.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1476.                         break;
  1477.                     case 10:
  1478.                         {
  1479.                             feature_.AddEntriesFrom(input, _repeated_feature_codec);
  1480.                             break;
  1481.                         }
  1482.                 }
  1483.             }
  1484.         }
  1485.  
  1486.     }
  1487.  
  1488.     public sealed partial class FeatureLists : pb::IMessage<FeatureLists>
  1489.     {
  1490.         private static readonly pb::MessageParser<FeatureLists> _parser = new pb::MessageParser<FeatureLists>(() => new FeatureLists());
  1491.         private pb::UnknownFieldSet _unknownFields;
  1492.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1493.         public static pb::MessageParser<FeatureLists> Parser { get { return _parser; } }
  1494.  
  1495.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1496.         public static pbr::MessageDescriptor Descriptor
  1497.         {
  1498.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[8]; }
  1499.         }
  1500.  
  1501.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1502.         pbr::MessageDescriptor pb::IMessage.Descriptor
  1503.         {
  1504.             get { return Descriptor; }
  1505.         }
  1506.  
  1507.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1508.         public FeatureLists()
  1509.         {
  1510.             OnConstruction();
  1511.         }
  1512.  
  1513.         partial void OnConstruction();
  1514.  
  1515.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1516.         public FeatureLists(FeatureLists other) : this()
  1517.         {
  1518.             featureList_ = other.featureList_.Clone();
  1519.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1520.         }
  1521.  
  1522.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1523.         public FeatureLists Clone()
  1524.         {
  1525.             return new FeatureLists(this);
  1526.         }
  1527.  
  1528.         /// <summary>Field number for the "feature_list" field.</summary>
  1529.         public const int FeatureListFieldNumber = 1;
  1530.         private static readonly pbc::MapField<string, global::Tensorflow.FeatureList>.Codec _map_featureList_codec
  1531.             = new pbc::MapField<string, global::Tensorflow.FeatureList>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Tensorflow.FeatureList.Parser), 10);
  1532.         private readonly pbc::MapField<string, global::Tensorflow.FeatureList> featureList_ = new pbc::MapField<string, global::Tensorflow.FeatureList>();
  1533.         /// <summary>
  1534.         /// Map from feature name to feature list.
  1535.         /// </summary>
  1536.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1537.         public pbc::MapField<string, global::Tensorflow.FeatureList> FeatureList
  1538.         {
  1539.             get { return featureList_; }
  1540.         }
  1541.  
  1542.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1543.         public override bool Equals(object other)
  1544.         {
  1545.             return Equals(other as FeatureLists);
  1546.         }
  1547.  
  1548.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1549.         public bool Equals(FeatureLists other)
  1550.         {
  1551.             if (ReferenceEquals(other, null))
  1552.             {
  1553.                 return false;
  1554.             }
  1555.             if (ReferenceEquals(other, this))
  1556.             {
  1557.                 return true;
  1558.             }
  1559.             if (!FeatureList.Equals(other.FeatureList)) return false;
  1560.             return Equals(_unknownFields, other._unknownFields);
  1561.         }
  1562.  
  1563.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1564.         public override int GetHashCode()
  1565.         {
  1566.             int hash = 1;
  1567.             hash ^= FeatureList.GetHashCode();
  1568.             if (_unknownFields != null)
  1569.             {
  1570.                 hash ^= _unknownFields.GetHashCode();
  1571.             }
  1572.             return hash;
  1573.         }
  1574.  
  1575.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1576.         public override string ToString()
  1577.         {
  1578.             return pb::JsonFormatter.ToDiagnosticString(this);
  1579.         }
  1580.  
  1581.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1582.         public void WriteTo(pb::CodedOutputStream output)
  1583.         {
  1584.             featureList_.WriteTo(output, _map_featureList_codec);
  1585.             if (_unknownFields != null)
  1586.             {
  1587.                 _unknownFields.WriteTo(output);
  1588.             }
  1589.         }
  1590.  
  1591.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1592.         public int CalculateSize()
  1593.         {
  1594.             int size = 0;
  1595.             size += featureList_.CalculateSize(_map_featureList_codec);
  1596.             if (_unknownFields != null)
  1597.             {
  1598.                 size += _unknownFields.CalculateSize();
  1599.             }
  1600.             return size;
  1601.         }
  1602.  
  1603.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1604.         public void MergeFrom(FeatureLists other)
  1605.         {
  1606.             if (other == null)
  1607.             {
  1608.                 return;
  1609.             }
  1610.             featureList_.Add(other.featureList_);
  1611.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1612.         }
  1613.  
  1614.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1615.         public void MergeFrom(pb::CodedInputStream input)
  1616.         {
  1617.             uint tag;
  1618.             while ((tag = input.ReadTag()) != 0)
  1619.             {
  1620.                 switch (tag)
  1621.                 {
  1622.                     default:
  1623.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1624.                         break;
  1625.                     case 10:
  1626.                         {
  1627.                             featureList_.AddEntriesFrom(input, _map_featureList_codec);
  1628.                             break;
  1629.                         }
  1630.                 }
  1631.             }
  1632.         }
  1633.  
  1634.     }
  1635.  
  1636.     /// <summary>
  1637.     /// Specifies one or more fully independent input Examples.
  1638.     /// See examples at:
  1639.     ///     https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto
  1640.     /// </summary>
  1641.     public sealed partial class ExampleList : pb::IMessage<ExampleList>
  1642.     {
  1643.         private static readonly pb::MessageParser<ExampleList> _parser = new pb::MessageParser<ExampleList>(() => new ExampleList());
  1644.         private pb::UnknownFieldSet _unknownFields;
  1645.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1646.         public static pb::MessageParser<ExampleList> Parser { get { return _parser; } }
  1647.  
  1648.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1649.         public static pbr::MessageDescriptor Descriptor
  1650.         {
  1651.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[9]; }
  1652.         }
  1653.  
  1654.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1655.         pbr::MessageDescriptor pb::IMessage.Descriptor
  1656.         {
  1657.             get { return Descriptor; }
  1658.         }
  1659.  
  1660.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1661.         public ExampleList()
  1662.         {
  1663.             OnConstruction();
  1664.         }
  1665.  
  1666.         partial void OnConstruction();
  1667.  
  1668.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1669.         public ExampleList(ExampleList other) : this()
  1670.         {
  1671.             examples_ = other.examples_.Clone();
  1672.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1673.         }
  1674.  
  1675.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1676.         public ExampleList Clone()
  1677.         {
  1678.             return new ExampleList(this);
  1679.         }
  1680.  
  1681.         /// <summary>Field number for the "examples" field.</summary>
  1682.         public const int ExamplesFieldNumber = 1;
  1683.         private static readonly pb::FieldCodec<global::Tensorflow.Example> _repeated_examples_codec
  1684.             = pb::FieldCodec.ForMessage(10, global::Tensorflow.Example.Parser);
  1685.         private readonly pbc::RepeatedField<global::Tensorflow.Example> examples_ = new pbc::RepeatedField<global::Tensorflow.Example>();
  1686.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1687.         public pbc::RepeatedField<global::Tensorflow.Example> Examples
  1688.         {
  1689.             get { return examples_; }
  1690.         }
  1691.  
  1692.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1693.         public override bool Equals(object other)
  1694.         {
  1695.             return Equals(other as ExampleList);
  1696.         }
  1697.  
  1698.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1699.         public bool Equals(ExampleList other)
  1700.         {
  1701.             if (ReferenceEquals(other, null))
  1702.             {
  1703.                 return false;
  1704.             }
  1705.             if (ReferenceEquals(other, this))
  1706.             {
  1707.                 return true;
  1708.             }
  1709.             if (!examples_.Equals(other.examples_)) return false;
  1710.             return Equals(_unknownFields, other._unknownFields);
  1711.         }
  1712.  
  1713.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1714.         public override int GetHashCode()
  1715.         {
  1716.             int hash = 1;
  1717.             hash ^= examples_.GetHashCode();
  1718.             if (_unknownFields != null)
  1719.             {
  1720.                 hash ^= _unknownFields.GetHashCode();
  1721.             }
  1722.             return hash;
  1723.         }
  1724.  
  1725.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1726.         public override string ToString()
  1727.         {
  1728.             return pb::JsonFormatter.ToDiagnosticString(this);
  1729.         }
  1730.  
  1731.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1732.         public void WriteTo(pb::CodedOutputStream output)
  1733.         {
  1734.             examples_.WriteTo(output, _repeated_examples_codec);
  1735.             if (_unknownFields != null)
  1736.             {
  1737.                 _unknownFields.WriteTo(output);
  1738.             }
  1739.         }
  1740.  
  1741.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1742.         public int CalculateSize()
  1743.         {
  1744.             int size = 0;
  1745.             size += examples_.CalculateSize(_repeated_examples_codec);
  1746.             if (_unknownFields != null)
  1747.             {
  1748.                 size += _unknownFields.CalculateSize();
  1749.             }
  1750.             return size;
  1751.         }
  1752.  
  1753.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1754.         public void MergeFrom(ExampleList other)
  1755.         {
  1756.             if (other == null)
  1757.             {
  1758.                 return;
  1759.             }
  1760.             examples_.Add(other.examples_);
  1761.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1762.         }
  1763.  
  1764.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1765.         public void MergeFrom(pb::CodedInputStream input)
  1766.         {
  1767.             uint tag;
  1768.             while ((tag = input.ReadTag()) != 0)
  1769.             {
  1770.                 switch (tag)
  1771.                 {
  1772.                     default:
  1773.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1774.                         break;
  1775.                     case 10:
  1776.                         {
  1777.                             examples_.AddEntriesFrom(input, _repeated_examples_codec);
  1778.                             break;
  1779.                         }
  1780.                 }
  1781.             }
  1782.         }
  1783.  
  1784.     }
  1785.  
  1786.     /// <summary>
  1787.     /// Specifies one or more independent input Examples, with a common context
  1788.     /// Example.
  1789.     ///
  1790.     /// The common use case for context is to cleanly and optimally specify some
  1791.     /// features that are common across multiple examples.
  1792.     ///
  1793.     /// See example below with a search query as the context and multiple restaurants
  1794.     /// to perform some inference on.
  1795.     ///
  1796.     /// context: {
  1797.     ///   features: {
  1798.     ///     feature: {
  1799.     ///       key  : "query"
  1800.     ///       value: {
  1801.     ///         bytes_list: {
  1802.     ///           value: [ "pizza" ]
  1803.     ///         }
  1804.     ///       }
  1805.     ///     }
  1806.     ///   }
  1807.     /// }
  1808.     /// examples: {
  1809.     ///   features: {
  1810.     ///     feature: {
  1811.     ///       key  : "cuisine"
  1812.     ///       value: {
  1813.     ///         bytes_list: {
  1814.     ///           value: [ "Pizzeria" ]
  1815.     ///         }
  1816.     ///       }
  1817.     ///     }
  1818.     ///   }
  1819.     /// }
  1820.     /// examples: {
  1821.     ///   features: {
  1822.     ///     feature: {
  1823.     ///       key  : "cuisine"
  1824.     ///       value: {
  1825.     ///         bytes_list: {
  1826.     ///           value: [ "Taqueria" ]
  1827.     ///         }
  1828.     ///       }
  1829.     ///     }
  1830.     ///   }
  1831.     /// }
  1832.     ///
  1833.     /// Implementations of ExampleListWithContext merge the context Example into each
  1834.     /// of the Examples. Note that feature keys must not be duplicated between the
  1835.     /// Examples and context Example, or the behavior is undefined.
  1836.     ///
  1837.     /// See also:
  1838.     ///     tensorflow/core/example/example.proto
  1839.     ///     https://developers.google.com/protocol-buffers/docs/proto3#maps
  1840.     /// </summary>
  1841.     public sealed partial class ExampleListWithContext : pb::IMessage<ExampleListWithContext>
  1842.     {
  1843.         private static readonly pb::MessageParser<ExampleListWithContext> _parser = new pb::MessageParser<ExampleListWithContext>(() => new ExampleListWithContext());
  1844.         private pb::UnknownFieldSet _unknownFields;
  1845.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1846.         public static pb::MessageParser<ExampleListWithContext> Parser { get { return _parser; } }
  1847.  
  1848.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1849.         public static pbr::MessageDescriptor Descriptor
  1850.         {
  1851.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[10]; }
  1852.         }
  1853.  
  1854.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1855.         pbr::MessageDescriptor pb::IMessage.Descriptor
  1856.         {
  1857.             get { return Descriptor; }
  1858.         }
  1859.  
  1860.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1861.         public ExampleListWithContext()
  1862.         {
  1863.             OnConstruction();
  1864.         }
  1865.  
  1866.         partial void OnConstruction();
  1867.  
  1868.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1869.         public ExampleListWithContext(ExampleListWithContext other) : this()
  1870.         {
  1871.             examples_ = other.examples_.Clone();
  1872.             context_ = other.context_ != null ? other.context_.Clone() : null;
  1873.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1874.         }
  1875.  
  1876.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1877.         public ExampleListWithContext Clone()
  1878.         {
  1879.             return new ExampleListWithContext(this);
  1880.         }
  1881.  
  1882.         /// <summary>Field number for the "examples" field.</summary>
  1883.         public const int ExamplesFieldNumber = 1;
  1884.         private static readonly pb::FieldCodec<global::Tensorflow.Example> _repeated_examples_codec
  1885.             = pb::FieldCodec.ForMessage(10, global::Tensorflow.Example.Parser);
  1886.         private readonly pbc::RepeatedField<global::Tensorflow.Example> examples_ = new pbc::RepeatedField<global::Tensorflow.Example>();
  1887.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1888.         public pbc::RepeatedField<global::Tensorflow.Example> Examples
  1889.         {
  1890.             get { return examples_; }
  1891.         }
  1892.  
  1893.         /// <summary>Field number for the "context" field.</summary>
  1894.         public const int ContextFieldNumber = 2;
  1895.         private global::Tensorflow.Example context_;
  1896.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1897.         public global::Tensorflow.Example Context
  1898.         {
  1899.             get { return context_; }
  1900.             set
  1901.             {
  1902.                 context_ = value;
  1903.             }
  1904.         }
  1905.  
  1906.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1907.         public override bool Equals(object other)
  1908.         {
  1909.             return Equals(other as ExampleListWithContext);
  1910.         }
  1911.  
  1912.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1913.         public bool Equals(ExampleListWithContext other)
  1914.         {
  1915.             if (ReferenceEquals(other, null))
  1916.             {
  1917.                 return false;
  1918.             }
  1919.             if (ReferenceEquals(other, this))
  1920.             {
  1921.                 return true;
  1922.             }
  1923.             if (!examples_.Equals(other.examples_)) return false;
  1924.             if (!object.Equals(Context, other.Context)) return false;
  1925.             return Equals(_unknownFields, other._unknownFields);
  1926.         }
  1927.  
  1928.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1929.         public override int GetHashCode()
  1930.         {
  1931.             int hash = 1;
  1932.             hash ^= examples_.GetHashCode();
  1933.             if (context_ != null) hash ^= Context.GetHashCode();
  1934.             if (_unknownFields != null)
  1935.             {
  1936.                 hash ^= _unknownFields.GetHashCode();
  1937.             }
  1938.             return hash;
  1939.         }
  1940.  
  1941.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1942.         public override string ToString()
  1943.         {
  1944.             return pb::JsonFormatter.ToDiagnosticString(this);
  1945.         }
  1946.  
  1947.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1948.         public void WriteTo(pb::CodedOutputStream output)
  1949.         {
  1950.             examples_.WriteTo(output, _repeated_examples_codec);
  1951.             if (context_ != null)
  1952.             {
  1953.                 output.WriteRawTag(18);
  1954.                 output.WriteMessage(Context);
  1955.             }
  1956.             if (_unknownFields != null)
  1957.             {
  1958.                 _unknownFields.WriteTo(output);
  1959.             }
  1960.         }
  1961.  
  1962.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1963.         public int CalculateSize()
  1964.         {
  1965.             int size = 0;
  1966.             size += examples_.CalculateSize(_repeated_examples_codec);
  1967.             if (context_ != null)
  1968.             {
  1969.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Context);
  1970.             }
  1971.             if (_unknownFields != null)
  1972.             {
  1973.                 size += _unknownFields.CalculateSize();
  1974.             }
  1975.             return size;
  1976.         }
  1977.  
  1978.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1979.         public void MergeFrom(ExampleListWithContext other)
  1980.         {
  1981.             if (other == null)
  1982.             {
  1983.                 return;
  1984.             }
  1985.             examples_.Add(other.examples_);
  1986.             if (other.context_ != null)
  1987.             {
  1988.                 if (context_ == null)
  1989.                 {
  1990.                     Context = new global::Tensorflow.Example();
  1991.                 }
  1992.                 Context.MergeFrom(other.Context);
  1993.             }
  1994.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1995.         }
  1996.  
  1997.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1998.         public void MergeFrom(pb::CodedInputStream input)
  1999.         {
  2000.             uint tag;
  2001.             while ((tag = input.ReadTag()) != 0)
  2002.             {
  2003.                 switch (tag)
  2004.                 {
  2005.                     default:
  2006.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2007.                         break;
  2008.                     case 10:
  2009.                         {
  2010.                             examples_.AddEntriesFrom(input, _repeated_examples_codec);
  2011.                             break;
  2012.                         }
  2013.                     case 18:
  2014.                         {
  2015.                             if (context_ == null)
  2016.                             {
  2017.                                 Context = new global::Tensorflow.Example();
  2018.                             }
  2019.                             input.ReadMessage(Context);
  2020.                             break;
  2021.                         }
  2022.                 }
  2023.             }
  2024.         }
  2025.  
  2026.     }
  2027.  
  2028.     public sealed partial class Input : pb::IMessage<Input>
  2029.     {
  2030.         private static readonly pb::MessageParser<Input> _parser = new pb::MessageParser<Input>(() => new Input());
  2031.         private pb::UnknownFieldSet _unknownFields;
  2032.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2033.         public static pb::MessageParser<Input> Parser { get { return _parser; } }
  2034.  
  2035.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2036.         public static pbr::MessageDescriptor Descriptor
  2037.         {
  2038.             get { return global::Tensorflow.MyReflection.Descriptor.MessageTypes[11]; }
  2039.         }
  2040.  
  2041.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2042.         pbr::MessageDescriptor pb::IMessage.Descriptor
  2043.         {
  2044.             get { return Descriptor; }
  2045.         }
  2046.  
  2047.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2048.         public Input()
  2049.         {
  2050.             OnConstruction();
  2051.         }
  2052.  
  2053.         partial void OnConstruction();
  2054.  
  2055.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2056.         public Input(Input other) : this()
  2057.         {
  2058.             switch (other.KindCase)
  2059.             {
  2060.                 case KindOneofCase.ExampleList:
  2061.                     ExampleList = other.ExampleList.Clone();
  2062.                     break;
  2063.                 case KindOneofCase.ExampleListWithContext:
  2064.                     ExampleListWithContext = other.ExampleListWithContext.Clone();
  2065.                     break;
  2066.             }
  2067.  
  2068.             _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2069.         }
  2070.  
  2071.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2072.         public Input Clone()
  2073.         {
  2074.             return new Input(this);
  2075.         }
  2076.  
  2077.         /// <summary>Field number for the "example_list" field.</summary>
  2078.         public const int ExampleListFieldNumber = 1;
  2079.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2080.         public global::Tensorflow.ExampleList ExampleList
  2081.         {
  2082.             get { return kindCase_ == KindOneofCase.ExampleList ? (global::Tensorflow.ExampleList)kind_ : null; }
  2083.             set
  2084.             {
  2085.                 kind_ = value;
  2086.                 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.ExampleList;
  2087.             }
  2088.         }
  2089.  
  2090.         /// <summary>Field number for the "example_list_with_context" field.</summary>
  2091.         public const int ExampleListWithContextFieldNumber = 2;
  2092.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2093.         public global::Tensorflow.ExampleListWithContext ExampleListWithContext
  2094.         {
  2095.             get { return kindCase_ == KindOneofCase.ExampleListWithContext ? (global::Tensorflow.ExampleListWithContext)kind_ : null; }
  2096.             set
  2097.             {
  2098.                 kind_ = value;
  2099.                 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.ExampleListWithContext;
  2100.             }
  2101.         }
  2102.  
  2103.         private object kind_;
  2104.         /// <summary>Enum of possible cases for the "kind" oneof.</summary>
  2105.         public enum KindOneofCase
  2106.         {
  2107.             None = 0,
  2108.             ExampleList = 1,
  2109.             ExampleListWithContext = 2,
  2110.         }
  2111.         private KindOneofCase kindCase_ = KindOneofCase.None;
  2112.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2113.         public KindOneofCase KindCase
  2114.         {
  2115.             get { return kindCase_; }
  2116.         }
  2117.  
  2118.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2119.         public void ClearKind()
  2120.         {
  2121.             kindCase_ = KindOneofCase.None;
  2122.             kind_ = null;
  2123.         }
  2124.  
  2125.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2126.         public override bool Equals(object other)
  2127.         {
  2128.             return Equals(other as Input);
  2129.         }
  2130.  
  2131.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2132.         public bool Equals(Input other)
  2133.         {
  2134.             if (ReferenceEquals(other, null))
  2135.             {
  2136.                 return false;
  2137.             }
  2138.             if (ReferenceEquals(other, this))
  2139.             {
  2140.                 return true;
  2141.             }
  2142.             if (!object.Equals(ExampleList, other.ExampleList)) return false;
  2143.             if (!object.Equals(ExampleListWithContext, other.ExampleListWithContext)) return false;
  2144.             if (KindCase != other.KindCase) return false;
  2145.             return Equals(_unknownFields, other._unknownFields);
  2146.         }
  2147.  
  2148.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2149.         public override int GetHashCode()
  2150.         {
  2151.             int hash = 1;
  2152.             if (kindCase_ == KindOneofCase.ExampleList) hash ^= ExampleList.GetHashCode();
  2153.             if (kindCase_ == KindOneofCase.ExampleListWithContext) hash ^= ExampleListWithContext.GetHashCode();
  2154.             hash ^= (int)kindCase_;
  2155.             if (_unknownFields != null)
  2156.             {
  2157.                 hash ^= _unknownFields.GetHashCode();
  2158.             }
  2159.             return hash;
  2160.         }
  2161.  
  2162.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2163.         public override string ToString()
  2164.         {
  2165.             return pb::JsonFormatter.ToDiagnosticString(this);
  2166.         }
  2167.  
  2168.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2169.         public void WriteTo(pb::CodedOutputStream output)
  2170.         {
  2171.             if (kindCase_ == KindOneofCase.ExampleList)
  2172.             {
  2173.                 output.WriteRawTag(10);
  2174.                 output.WriteMessage(ExampleList);
  2175.             }
  2176.             if (kindCase_ == KindOneofCase.ExampleListWithContext)
  2177.             {
  2178.                 output.WriteRawTag(18);
  2179.                 output.WriteMessage(ExampleListWithContext);
  2180.             }
  2181.             if (_unknownFields != null)
  2182.             {
  2183.                 _unknownFields.WriteTo(output);
  2184.             }
  2185.         }
  2186.  
  2187.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2188.         public int CalculateSize()
  2189.         {
  2190.             int size = 0;
  2191.             if (kindCase_ == KindOneofCase.ExampleList)
  2192.             {
  2193.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExampleList);
  2194.             }
  2195.             if (kindCase_ == KindOneofCase.ExampleListWithContext)
  2196.             {
  2197.                 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExampleListWithContext);
  2198.             }
  2199.             if (_unknownFields != null)
  2200.             {
  2201.                 size += _unknownFields.CalculateSize();
  2202.             }
  2203.             return size;
  2204.         }
  2205.  
  2206.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2207.         public void MergeFrom(Input other)
  2208.         {
  2209.             if (other == null)
  2210.             {
  2211.                 return;
  2212.             }
  2213.             switch (other.KindCase)
  2214.             {
  2215.                 case KindOneofCase.ExampleList:
  2216.                     if (ExampleList == null)
  2217.                     {
  2218.                         ExampleList = new global::Tensorflow.ExampleList();
  2219.                     }
  2220.                     ExampleList.MergeFrom(other.ExampleList);
  2221.                     break;
  2222.                 case KindOneofCase.ExampleListWithContext:
  2223.                     if (ExampleListWithContext == null)
  2224.                     {
  2225.                         ExampleListWithContext = new global::Tensorflow.ExampleListWithContext();
  2226.                     }
  2227.                     ExampleListWithContext.MergeFrom(other.ExampleListWithContext);
  2228.                     break;
  2229.             }
  2230.  
  2231.             _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2232.         }
  2233.  
  2234.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2235.         public void MergeFrom(pb::CodedInputStream input)
  2236.         {
  2237.             uint tag;
  2238.             while ((tag = input.ReadTag()) != 0)
  2239.             {
  2240.                 switch (tag)
  2241.                 {
  2242.                     default:
  2243.                         _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2244.                         break;
  2245.                     case 10:
  2246.                         {
  2247.                             global::Tensorflow.ExampleList subBuilder = new global::Tensorflow.ExampleList();
  2248.                             if (kindCase_ == KindOneofCase.ExampleList)
  2249.                             {
  2250.                                 subBuilder.MergeFrom(ExampleList);
  2251.                             }
  2252.                             input.ReadMessage(subBuilder);
  2253.                             ExampleList = subBuilder;
  2254.                             break;
  2255.                         }
  2256.                     case 18:
  2257.                         {
  2258.                             global::Tensorflow.ExampleListWithContext subBuilder = new global::Tensorflow.ExampleListWithContext();
  2259.                             if (kindCase_ == KindOneofCase.ExampleListWithContext)
  2260.                             {
  2261.                                 subBuilder.MergeFrom(ExampleListWithContext);
  2262.                             }
  2263.                             input.ReadMessage(subBuilder);
  2264.                             ExampleListWithContext = subBuilder;
  2265.                             break;
  2266.                         }
  2267.                 }
  2268.             }
  2269.         }
  2270.  
  2271.     }
  2272.  
  2273.     #endregion
  2274.  
  2275. }
  2276.  
  2277. #endregion Designer generated code
  2278.  
Add Comment
Please, Sign In to add comment