   Copyright (c) 2017, The Android Open Source Project&#xA;&#xA;   Licensed under the Apache License, Version 2.0 (the &#34;License&#34;);&#xA;   you may not use this file except in compliance with the License.&#xA;&#xA;   Unless required by applicable law or agreed to in writing, software&#xA;   distributed under the License is distributed on an &#34;AS IS&#34; BASIS,&#xA;   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xA;   See the License for the specific language governing permissions and&#xA;   limitations under the License.&#xA;&#xA;&#xA;                                 Apache License&#xA;                           Version 2.0, January 2004&#xA;                        http://www.apache.org/licenses/&#xA;&#xA;   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION&#xA;&#xA;   1. Definitions.&#xA;&#xA;      &#34;License&#34; shall mean the terms and conditions for use, reproduction,&#xA;      and distribution as defined by Sections 1 through 9 of this document.&#xA;&#xA;      &#34;Licensor&#34; shall mean the copyright owner or entity authorized by&#xA;      the copyright owner that is granting the License.&#xA;&#xA;      &#34;Legal Entity&#34; shall mean the union of the acting entity and all&#xA;      other entities that control, are controlled by, or are under common&#xA;      control with that entity. For the purposes of this definition,&#xA;      &#34;control&#34; means (i) the power, direct or indirect, to cause the&#xA;      direction or management of such entity, whether by contract or&#xA;      otherwise, or (ii) ownership of fifty percent (50%) or more of the&#xA;      outstanding shares, or (iii) beneficial ownership of such entity.&#xA;&#xA;      &#34;You&#34; (or &#34;Your&#34;) shall mean an individual or Legal Entity&#xA;      exercising permissions granted by this License.&#xA;&#xA;      &#34;Source&#34; form shall mean the preferred form for making modifications,&#xA;      including but not limited to software source code, documentation&#xA;      source, and configuration files.&#xA;&#xA;      &#34;Object&#34; form shall mean any form resulting from mechanical&#xA;      transformation or translation of a Source form, including but&#xA;      not limited to compiled object code, generated documentation,&#xA;      and conversions to other media types.&#xA;&#xA;      &#34;Work&#34; shall mean the work of authorship, whether in Source or&#xA;      Object form, made available under the License, as indicated by a&#xA;      copyright notice that is included in or attached to the work&#xA;      (an example is provided in the Appendix below).&#xA;&#xA;      &#34;Derivative Works&#34; shall mean any work, whether in Source or Object&#xA;      form, that is based on (or derived from) the Work and for which the&#xA;      editorial revisions, annotations, elaborations, or other modifications&#xA;      represent, as a whole, an original work of authorship. For the purposes&#xA;      of this License, Derivative Works shall not include works that remain&#xA;      separable from, or merely link (or bind by name) to the interfaces of,&#xA;      the Work and Derivative Works thereof.&#xA;&#xA;      &#34;Contribution&#34; shall mean any work of authorship, including&#xA;      the original version of the Work and any modifications or additions&#xA;      to that Work or Derivative Works thereof, that is intentionally&#xA;      submitted to Licensor for inclusion in the Work by the copyright owner&#xA;      or by an individual or Legal Entity authorized to submit on behalf of&#xA;      the copyright owner. For the purposes of this definition, &#34;submitted&#34;&#xA;      means any form of electronic, verbal, or written communication sent&#xA;      to the Licensor or its representatives, including but not limited to&#xA;      communication on electronic mailing lists, source code control systems,&#xA;      and issue tracking systems that are managed by, or on behalf of, the&#xA;      Licensor for the purpose of discussing and improving the Work, but&#xA;      excluding communication that is conspicuously marked or otherwise&#xA;      designated in writing by the copyright owner as &#34;Not a Contribution.&#34;&#xA;&#xA;      &#34;Contributor&#34; shall mean Licensor and any individual or Legal Entity&#xA;      on behalf of whom a Contribution has been received by Licensor and&#xA;      subsequently incorporated within the Work.&#xA;&#xA;   2. Grant of Copyright License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      copyright license to reproduce, prepare Derivative Works of,&#xA;      publicly display, publicly perform, sublicense, and distribute the&#xA;      Work and such Derivative Works in Source or Object form.&#xA;&#xA;   3. Grant of Patent License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      (except as stated in this section) patent license to make, have made,&#xA;      use, offer to sell, sell, import, and otherwise transfer the Work,&#xA;      where such license applies only to those patent claims licensable&#xA;      by such Contributor that are necessarily infringed by their&#xA;      Contribution(s) alone or by combination of their Contribution(s)&#xA;      with the Work to which such Contribution(s) was submitted. If You&#xA;      institute patent litigation against any entity (including a&#xA;      cross-claim or counterclaim in a lawsuit) alleging that the Work&#xA;      or a Contribution incorporated within the Work constitutes direct&#xA;      or contributory patent infringement, then any patent licenses&#xA;      granted to You under this License for that Work shall terminate&#xA;      as of the date such litigation is filed.&#xA;&#xA;   4. Redistribution. You may reproduce and distribute copies of the&#xA;      Work or Derivative Works thereof in any medium, with or without&#xA;      modifications, and in Source or Object form, provided that You&#xA;      meet the following conditions:&#xA;&#xA;      (a) You must give any other recipients of the Work or&#xA;          Derivative Works a copy of this License; and&#xA;&#xA;      (b) You must cause any modified files to carry prominent notices&#xA;          stating that You changed the files; and&#xA;&#xA;      (c) You must retain, in the Source form of any Derivative Works&#xA;          that You distribute, all copyright, patent, trademark, and&#xA;          attribution notices from the Source form of the Work,&#xA;          excluding those notices that do not pertain to any part of&#xA;          the Derivative Works; and&#xA;&#xA;      (d) If the Work includes a &#34;NOTICE&#34; text file as part of its&#xA;          distribution, then any Derivative Works that You distribute must&#xA;          include a readable copy of the attribution notices contained&#xA;          within such NOTICE file, excluding those notices that do not&#xA;          pertain to any part of the Derivative Works, in at least one&#xA;          of the following places: within a NOTICE text file distributed&#xA;          as part of the Derivative Works; within the Source form or&#xA;          documentation, if provided along with the Derivative Works; or,&#xA;          within a display generated by the Derivative Works, if and&#xA;          wherever such third-party notices normally appear. The contents&#xA;          of the NOTICE file are for informational purposes only and&#xA;          do not modify the License. You may add Your own attribution&#xA;          notices within Derivative Works that You distribute, alongside&#xA;          or as an addendum to the NOTICE text from the Work, provided&#xA;          that such additional attribution notices cannot be construed&#xA;          as modifying the License.&#xA;&#xA;      You may add Your own copyright statement to Your modifications and&#xA;      may provide additional or different license terms and conditions&#xA;      for use, reproduction, or distribution of Your modifications, or&#xA;      for any such Derivative Works as a whole, provided Your use,&#xA;      reproduction, and distribution of the Work otherwise complies with&#xA;      the conditions stated in this License.&#xA;&#xA;   5. Submission of Contributions. Unless You explicitly state otherwise,&#xA;      any Contribution intentionally submitted for inclusion in the Work&#xA;      by You to the Licensor shall be under the terms and conditions of&#xA;      this License, without any additional terms or conditions.&#xA;      Notwithstanding the above, nothing herein shall supersede or modify&#xA;      the terms of any separate license agreement you may have executed&#xA;      with Licensor regarding such Contributions.&#xA;&#xA;   6. Trademarks. This License does not grant permission to use the trade&#xA;      names, trademarks, service marks, or product names of the Licensor,&#xA;      except as required for reasonable and customary use in describing the&#xA;      origin of the Work and reproducing the content of the NOTICE file.&#xA;&#xA;   7. Disclaimer of Warranty. Unless required by applicable law or&#xA;      agreed to in writing, Licensor provides the Work (and each&#xA;      Contributor provides its Contributions) on an &#34;AS IS&#34; BASIS,&#xA;      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or&#xA;      implied, including, without limitation, any warranties or conditions&#xA;      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A&#xA;      PARTICULAR PURPOSE. You are solely responsible for determining the&#xA;      appropriateness of using or redistributing the Work and assume any&#xA;      risks associated with Your exercise of permissions under this License.&#xA;&#xA;   8. Limitation of Liability. In no event and under no legal theory,&#xA;      whether in tort (including negligence), contract, or otherwise,&#xA;      unless required by applicable law (such as deliberate and grossly&#xA;      negligent acts) or agreed to in writing, shall any Contributor be&#xA;      liable to You for damages, including any direct, indirect, special,&#xA;      incidental, or consequential damages of any character arising as a&#xA;      result of this License or out of the use or inability to use the&#xA;      Work (including but not limited to damages for loss of goodwill,&#xA;      work stoppage, computer failure or malfunction, or any and all&#xA;      other commercial damages or losses), even if such Contributor&#xA;      has been advised of the possibility of such damages.&#xA;&#xA;   9. Accepting Warranty or Additional Liability. While redistributing&#xA;      the Work or Derivative Works thereof, You may choose to offer,&#xA;      and charge a fee for, acceptance of support, warranty, indemnity,&#xA;      or other liability obligations and/or rights consistent with this&#xA;      License. However, in accepting such obligations, You may act only&#xA;      on Your own behalf and on Your sole responsibility, not on behalf&#xA;      of any other Contributor, and only if You agree to indemnify,&#xA;      defend, and hold each Contributor harmless for any liability&#xA;      incurred by, or claims asserted against, such Contributor by reason&#xA;      of your accepting any such warranty or additional liability.&#xA;&#xA;   END OF TERMS AND CONDITIONS&#xA;&#xA;-------------------------------------------------------------------&#xA;* License for Tensorflow:&#xA;-------------------------------------------------------------------&#xA;Copyright 2018 The TensorFlow Authors.  All rights reserved.&#xA;&#xA;                                 Apache License&#xA;                           Version 2.0, January 2004&#xA;                        http://www.apache.org/licenses/&#xA;&#xA;   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION&#xA;&#xA;   1. Definitions.&#xA;&#xA;      &#34;License&#34; shall mean the terms and conditions for use, reproduction,&#xA;      and distribution as defined by Sections 1 through 9 of this document.&#xA;&#xA;      &#34;Licensor&#34; shall mean the copyright owner or entity authorized by&#xA;      the copyright owner that is granting the License.&#xA;&#xA;      &#34;Legal Entity&#34; shall mean the union of the acting entity and all&#xA;      other entities that control, are controlled by, or are under common&#xA;      control with that entity. For the purposes of this definition,&#xA;      &#34;control&#34; means (i) the power, direct or indirect, to cause the&#xA;      direction or management of such entity, whether by contract or&#xA;      otherwise, or (ii) ownership of fifty percent (50%) or more of the&#xA;      outstanding shares, or (iii) beneficial ownership of such entity.&#xA;&#xA;      &#34;You&#34; (or &#34;Your&#34;) shall mean an individual or Legal Entity&#xA;      exercising permissions granted by this License.&#xA;&#xA;      &#34;Source&#34; form shall mean the preferred form for making modifications,&#xA;      including but not limited to software source code, documentation&#xA;      source, and configuration files.&#xA;&#xA;      &#34;Object&#34; form shall mean any form resulting from mechanical&#xA;      transformation or translation of a Source form, including but&#xA;      not limited to compiled object code, generated documentation,&#xA;      and conversions to other media types.&#xA;&#xA;      &#34;Work&#34; shall mean the work of authorship, whether in Source or&#xA;      Object form, made available under the License, as indicated by a&#xA;      copyright notice that is included in or attached to the work&#xA;      (an example is provided in the Appendix below).&#xA;&#xA;      &#34;Derivative Works&#34; shall mean any work, whether in Source or Object&#xA;      form, that is based on (or derived from) the Work and for which the&#xA;      editorial revisions, annotations, elaborations, or other modifications&#xA;      represent, as a whole, an original work of authorship. For the purposes&#xA;      of this License, Derivative Works shall not include works that remain&#xA;      separable from, or merely link (or bind by name) to the interfaces of,&#xA;      the Work and Derivative Works thereof.&#xA;&#xA;      &#34;Contribution&#34; shall mean any work of authorship, including&#xA;      the original version of the Work and any modifications or additions&#xA;      to that Work or Derivative Works thereof, that is intentionally&#xA;      submitted to Licensor for inclusion in the Work by the copyright owner&#xA;      or by an individual or Legal Entity authorized to submit on behalf of&#xA;      the copyright owner. For the purposes of this definition, &#34;submitted&#34;&#xA;      means any form of electronic, verbal, or written communication sent&#xA;      to the Licensor or its representatives, including but not limited to&#xA;      communication on electronic mailing lists, source code control systems,&#xA;      and issue tracking systems that are managed by, or on behalf of, the&#xA;      Licensor for the purpose of discussing and improving the Work, but&#xA;      excluding communication that is conspicuously marked or otherwise&#xA;      designated in writing by the copyright owner as &#34;Not a Contribution.&#34;&#xA;&#xA;      &#34;Contributor&#34; shall mean Licensor and any individual or Legal Entity&#xA;      on behalf of whom a Contribution has been received by Licensor and&#xA;      subsequently incorporated within the Work.&#xA;&#xA;   2. Grant of Copyright License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      copyright license to reproduce, prepare Derivative Works of,&#xA;      publicly display, publicly perform, sublicense, and distribute the&#xA;      Work and such Derivative Works in Source or Object form.&#xA;&#xA;   3. Grant of Patent License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      (except as stated in this section) patent license to make, have made,&#xA;      use, offer to sell, sell, import, and otherwise transfer the Work,&#xA;      where such license applies only to those patent claims licensable&#xA;      by such Contributor that are necessarily infringed by their&#xA;      Contribution(s) alone or by combination of their Contribution(s)&#xA;      with the Work to which such Contribution(s) was submitted. If You&#xA;      institute patent litigation against any entity (including a&#xA;      cross-claim or counterclaim in a lawsuit) alleging that the Work&#xA;      or a Contribution incorporated within the Work constitutes direct&#xA;      or contributory patent infringement, then any patent licenses&#xA;      granted to You under this License for that Work shall terminate&#xA;      as of the date such litigation is filed.&#xA;&#xA;   4. Redistribution. You may reproduce and distribute copies of the&#xA;      Work or Derivative Works thereof in any medium, with or without&#xA;      modifications, and in Source or Object form, provided that You&#xA;      meet the following conditions:&#xA;&#xA;      (a) You must give any other recipients of the Work or&#xA;          Derivative Works a copy of this License; and&#xA;&#xA;      (b) You must cause any modified files to carry prominent notices&#xA;          stating that You changed the files; and&#xA;&#xA;      (c) You must retain, in the Source form of any Derivative Works&#xA;          that You distribute, all copyright, patent, trademark, and&#xA;          attribution notices from the Source form of the Work,&#xA;          excluding those notices that do not pertain to any part of&#xA;          the Derivative Works; and&#xA;&#xA;      (d) If the Work includes a &#34;NOTICE&#34; text file as part of its&#xA;          distribution, then any Derivative Works that You distribute must&#xA;          include a readable copy of the attribution notices contained&#xA;          within such NOTICE file, excluding those notices that do not&#xA;          pertain to any part of the Derivative Works, in at least one&#xA;          of the following places: within a NOTICE text file distributed&#xA;          as part of the Derivative Works; within the Source form or&#xA;          documentation, if provided along with the Derivative Works; or,&#xA;          within a display generated by the Derivative Works, if and&#xA;          wherever such third-party notices normally appear. The contents&#xA;          of the NOTICE file are for informational purposes only and&#xA;          do not modify the License. You may add Your own attribution&#xA;          notices within Derivative Works that You distribute, alongside&#xA;          or as an addendum to the NOTICE text from the Work, provided&#xA;          that such additional attribution notices cannot be construed&#xA;          as modifying the License.&#xA;&#xA;      You may add Your own copyright statement to Your modifications and&#xA;      may provide additional or different license terms and conditions&#xA;      for use, reproduction, or distribution of Your modifications, or&#xA;      for any such Derivative Works as a whole, provided Your use,&#xA;      reproduction, and distribution of the Work otherwise complies with&#xA;      the conditions stated in this License.&#xA;&#xA;   5. Submission of Contributions. Unless You explicitly state otherwise,&#xA;      any Contribution intentionally submitted for inclusion in the Work&#xA;      by You to the Licensor shall be under the terms and conditions of&#xA;      this License, without any additional terms or conditions.&#xA;      Notwithstanding the above, nothing herein shall supersede or modify&#xA;      the terms of any separate license agreement you may have executed&#xA;      with Licensor regarding such Contributions.&#xA;&#xA;   6. Trademarks. This License does not grant permission to use the trade&#xA;      names, trademarks, service marks, or product names of the Licensor,&#xA;      except as required for reasonable and customary use in describing the&#xA;      origin of the Work and reproducing the content of the NOTICE file.&#xA;&#xA;   7. Disclaimer of Warranty. Unless required by applicable law or&#xA;      agreed to in writing, Licensor provides the Work (and each&#xA;      Contributor provides its Contributions) on an &#34;AS IS&#34; BASIS,&#xA;      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or&#xA;      implied, including, without limitation, any warranties or conditions&#xA;      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A&#xA;      PARTICULAR PURPOSE. You are solely responsible for determining the&#xA;      appropriateness of using or redistributing the Work and assume any&#xA;      risks associated with Your exercise of permissions under this License.&#xA;&#xA;   8. Limitation of Liability. In no event and under no legal theory,&#xA;      whether in tort (including negligence), contract, or otherwise,&#xA;      unless required by applicable law (such as deliberate and grossly&#xA;      negligent acts) or agreed to in writing, shall any Contributor be&#xA;      liable to You for damages, including any direct, indirect, special,&#xA;      incidental, or consequential damages of any character arising as a&#xA;      result of this License or out of the use or inability to use the&#xA;      Work (including but not limited to damages for loss of goodwill,&#xA;      work stoppage, computer failure or malfunction, or any and all&#xA;      other commercial damages or losses), even if such Contributor&#xA;      has been advised of the possibility of such damages.&#xA;&#xA;   9. Accepting Warranty or Additional Liability. While redistributing&#xA;      the Work or Derivative Works thereof, You may choose to offer,&#xA;      and charge a fee for, acceptance of support, warranty, indemnity,&#xA;      or other liability obligations and/or rights consistent with this&#xA;      License. However, in accepting such obligations, You may act only&#xA;      on Your own behalf and on Your sole responsibility, not on behalf&#xA;      of any other Contributor, and only if You agree to indemnify,&#xA;      defend, and hold each Contributor harmless for any liability&#xA;      incurred by, or claims asserted against, such Contributor by reason&#xA;      of your accepting any such warranty or additional liability.&#xA;&#xA;   END OF TERMS AND CONDITIONS&#xA;&#xA;   APPENDIX: How to apply the Apache License to your work.&#xA;&#xA;      To apply the Apache License to your work, attach the following&#xA;      boilerplate notice, with the fields enclosed by brackets &#34;[]&#34;&#xA;      replaced with your own identifying information. (Don&#39;t include&#xA;      the brackets!)  The text should be enclosed in the appropriate&#xA;      comment syntax for the file format. We also recommend that a&#xA;      file or class name and description of purpose be included on the&#xA;      same &#34;printed page&#34; as the copyright notice for easier&#xA;      identification within third-party archives.&#xA;&#xA;   Copyright 2017, The TensorFlow Authors.&#xA;&#xA;   Licensed under the Apache License, Version 2.0 (the &#34;License&#34;);&#xA;   you may not use this file except in compliance with the License.&#xA;   You may obtain a copy of the License at&#xA;&#xA;       http://www.apache.org/licenses/LICENSE-2.0&#xA;&#xA;   Unless required by applicable law or agreed to in writing, software&#xA;   distributed under the License is distributed on an &#34;AS IS&#34; BASIS,&#xA;   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xA;   See the License for the specific language governing permissions and&#xA;   limitations under the License.&#xA;   -------------------------------------------------------------------&#xA;&#xA;-------------------------------------------------------------------&#xA;* License for Eigen:&#xA;-------------------------------------------------------------------&#xA;Mozilla Public License Version 2.0&#xA;==================================&#xA;&#xA;1. Definitions&#xA;--------------&#xA;&#xA;1.1. &#34;Contributor&#34;&#xA;    means each individual or legal entity that creates, contributes to&#xA;    the creation of, or owns Covered Software.&#xA;&#xA;1.2. &#34;Contributor Version&#34;&#xA;    means the combination of the Contributions of others (if any) used&#xA;    by a Contributor and that particular Contributor&#39;s Contribution.&#xA;&#xA;1.3. &#34;Contribution&#34;&#xA;    means Covered Software of a particular Contributor.&#xA;&#xA;1.4. &#34;Covered Software&#34;&#xA;    means Source Code Form to which the initial Contributor has attached&#xA;    the notice in Exhibit A, the Executable Form of such Source Code&#xA;    Form, and Modifications of such Source Code Form, in each case&#xA;    including portions thereof.&#xA;&#xA;1.5. &#34;Incompatible With Secondary Licenses&#34;&#xA;    means&#xA;&#xA;    (a) that the initial Contributor has attached the notice described&#xA;        in Exhibit B to the Covered Software; or&#xA;&#xA;    (b) that the Covered Software was made available under the terms of&#xA;        version 1.1 or earlier of the License, but not also under the&#xA;        terms of a Secondary License.&#xA;&#xA;1.6. &#34;Executable Form&#34;&#xA;    means any form of the work other than Source Code Form.&#xA;&#xA;1.7. &#34;Larger Work&#34;&#xA;    means a work that combines Covered Software with other material, in&#xA;    a separate file or files, that is not Covered Software.&#xA;&#xA;1.8. &#34;License&#34;&#xA;    means this document.&#xA;&#xA;1.9. &#34;Licensable&#34;&#xA;    means having the right to grant, to the maximum extent possible,&#xA;    whether at the time of the initial grant or subsequently, any and&#xA;    all of the rights conveyed by this License.&#xA;&#xA;1.10. &#34;Modifications&#34;&#xA;    means any of the following:&#xA;&#xA;    (a) any file in Source Code Form that results from an addition to,&#xA;        deletion from, or modification of the contents of Covered&#xA;        Software; or&#xA;&#xA;    (b) any new file in Source Code Form that contains any Covered&#xA;        Software.&#xA;&#xA;1.11. &#34;Patent Claims&#34; of a Contributor&#xA;    means any patent claim(s), including without limitation, method,&#xA;    process, and apparatus claims, in any patent Licensable by such&#xA;    Contributor that would be infringed, but for the grant of the&#xA;    License, by the making, using, selling, offering for sale, having&#xA;    made, import, or transfer of either its Contributions or its&#xA;    Contributor Version.&#xA;&#xA;1.12. &#34;Secondary License&#34;&#xA;    means either the GNU General Public License, Version 2.0, the GNU&#xA;    Lesser General Public License, Version 2.1, the GNU Affero General&#xA;    Public License, Version 3.0, or any later versions of those&#xA;    licenses.&#xA;&#xA;1.13. &#34;Source Code Form&#34;&#xA;    means the form of the work preferred for making modifications.&#xA;&#xA;1.14. &#34;You&#34; (or &#34;Your&#34;)&#xA;    means an individual or a legal entity exercising rights under this&#xA;    License. For legal entities, &#34;You&#34; includes any entity that&#xA;    controls, is controlled by, or is under common control with You. For&#xA;    purposes of this definition, &#34;control&#34; means (a) the power, direct&#xA;    or indirect, to cause the direction or management of such entity,&#xA;    whether by contract or otherwise, or (b) ownership of more than&#xA;    fifty percent (50%) of the outstanding shares or beneficial&#xA;    ownership of such entity.&#xA;&#xA;2. License Grants and Conditions&#xA;--------------------------------&#xA;&#xA;2.1. Grants&#xA;&#xA;Each Contributor hereby grants You a world-wide, royalty-free,&#xA;non-exclusive license:&#xA;&#xA;(a) under intellectual property rights (other than patent or trademark)&#xA;    Licensable by such Contributor to use, reproduce, make available,&#xA;    modify, display, perform, distribute, and otherwise exploit its&#xA;    Contributions, either on an unmodified basis, with Modifications, or&#xA;    as part of a Larger Work; and&#xA;&#xA;(b) under Patent Claims of such Contributor to make, use, sell, offer&#xA;    for sale, have made, import, and otherwise transfer either its&#xA;    Contributions or its Contributor Version.&#xA;&#xA;2.2. Effective Date&#xA;&#xA;The licenses granted in Section 2.1 with respect to any Contribution&#xA;become effective for each Contribution on the date the Contributor first&#xA;distributes such Contribution.&#xA;&#xA;2.3. Limitations on Grant Scope&#xA;&#xA;The licenses granted in this Section 2 are the only rights granted under&#xA;this License. No additional rights or licenses will be implied from the&#xA;distribution or licensing of Covered Software under this License.&#xA;Notwithstanding Section 2.1(b) above, no patent license is granted by a&#xA;Contributor:&#xA;&#xA;(a) for any code that a Contributor has removed from Covered Software;&#xA;    or&#xA;&#xA;(b) for infringements caused by: (i) Your and any other third party&#39;s&#xA;    modifications of Covered Software, or (ii) the combination of its&#xA;    Contributions with other software (except as part of its Contributor&#xA;    Version); or&#xA;&#xA;(c) under Patent Claims infringed by Covered Software in the absence of&#xA;    its Contributions.&#xA;&#xA;This License does not grant any rights in the trademarks, service marks,&#xA;or logos of any Contributor (except as may be necessary to comply with&#xA;the notice requirements in Section 3.4).&#xA;&#xA;2.4. Subsequent Licenses&#xA;&#xA;No Contributor makes additional grants as a result of Your choice to&#xA;distribute the Covered Software under a subsequent version of this&#xA;License (see Section 10.2) or under the terms of a Secondary License (if&#xA;permitted under the terms of Section 3.3).&#xA;&#xA;2.5. Representation&#xA;&#xA;Each Contributor represents that the Contributor believes its&#xA;Contributions are its original creation(s) or it has sufficient rights&#xA;to grant the rights to its Contributions conveyed by this License.&#xA;&#xA;2.6. Fair Use&#xA;&#xA;This License is not intended to limit any rights You have under&#xA;applicable copyright doctrines of fair use, fair dealing, or other&#xA;equivalents.&#xA;&#xA;2.7. Conditions&#xA;&#xA;Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted&#xA;in Section 2.1.&#xA;&#xA;3. Responsibilities&#xA;-------------------&#xA;&#xA;3.1. Distribution of Source Form&#xA;&#xA;All distribution of Covered Software in Source Code Form, including any&#xA;Modifications that You create or to which You contribute, must be under&#xA;the terms of this License. You must inform recipients that the Source&#xA;Code Form of the Covered Software is governed by the terms of this&#xA;License, and how they can obtain a copy of this License. You may not&#xA;attempt to alter or restrict the recipients&#39; rights in the Source Code&#xA;Form.&#xA;&#xA;3.2. Distribution of Executable Form&#xA;&#xA;If You distribute Covered Software in Executable Form then:&#xA;&#xA;(a) such Covered Software must also be made available in Source Code&#xA;    Form, as described in Section 3.1, and You must inform recipients of&#xA;    the Executable Form how they can obtain a copy of such Source Code&#xA;    Form by reasonable means in a timely manner, at a charge no more&#xA;    than the cost of distribution to the recipient; and&#xA;&#xA;(b) You may distribute such Executable Form under the terms of this&#xA;    License, or sublicense it under different terms, provided that the&#xA;    license for the Executable Form does not attempt to limit or alter&#xA;    the recipients&#39; rights in the Source Code Form under this License.&#xA;&#xA;3.3. Distribution of a Larger Work&#xA;&#xA;You may create and distribute a Larger Work under terms of Your choice,&#xA;provided that You also comply with the requirements of this License for&#xA;the Covered Software. If the Larger Work is a combination of Covered&#xA;Software with a work governed by one or more Secondary Licenses, and the&#xA;Covered Software is not Incompatible With Secondary Licenses, this&#xA;License permits You to additionally distribute such Covered Software&#xA;under the terms of such Secondary License(s), so that the recipient of&#xA;the Larger Work may, at their option, further distribute the Covered&#xA;Software under the terms of either this License or such Secondary&#xA;License(s).&#xA;&#xA;3.4. Notices&#xA;&#xA;You may not remove or alter the substance of any license notices&#xA;(including copyright notices, patent notices, disclaimers of warranty,&#xA;or limitations of liability) contained within the Source Code Form of&#xA;the Covered Software, except that You may alter any license notices to&#xA;the extent required to remedy known factual inaccuracies.&#xA;&#xA;3.5. Application of Additional Terms&#xA;&#xA;You may choose to offer, and to charge a fee for, warranty, support,&#xA;indemnity or liability obligations to one or more recipients of Covered&#xA;Software. However, You may do so only on Your own behalf, and not on&#xA;behalf of any Contributor. You must make it absolutely clear that any&#xA;such warranty, support, indemnity, or liability obligation is offered by&#xA;You alone, and You hereby agree to indemnify every Contributor for any&#xA;liability incurred by such Contributor as a result of warranty, support,&#xA;indemnity or liability terms You offer. You may include additional&#xA;disclaimers of warranty and limitations of liability specific to any&#xA;jurisdiction.&#xA;&#xA;4. Inability to Comply Due to Statute or Regulation&#xA;---------------------------------------------------&#xA;&#xA;If it is impossible for You to comply with any of the terms of this&#xA;License with respect to some or all of the Covered Software due to&#xA;statute, judicial order, or regulation then You must: (a) comply with&#xA;the terms of this License to the maximum extent possible; and (b)&#xA;describe the limitations and the code they affect. Such description must&#xA;be placed in a text file included with all distributions of the Covered&#xA;Software under this License. Except to the extent prohibited by statute&#xA;or regulation, such description must be sufficiently detailed for a&#xA;recipient of ordinary skill to be able to understand it.&#xA;&#xA;5. Termination&#xA;--------------&#xA;&#xA;5.1. The rights granted under this License will terminate automatically&#xA;if You fail to comply with any of its terms. However, if You become&#xA;compliant, then the rights granted under this License from a particular&#xA;Contributor are reinstated (a) provisionally, unless and until such&#xA;Contributor explicitly and finally terminates Your grants, and (b) on an&#xA;ongoing basis, if such Contributor fails to notify You of the&#xA;non-compliance by some reasonable means prior to 60 days after You have&#xA;come back into compliance. Moreover, Your grants from a particular&#xA;Contributor are reinstated on an ongoing basis if such Contributor&#xA;notifies You of the non-compliance by some reasonable means, this is the&#xA;first time You have received notice of non-compliance with this License&#xA;from such Contributor, and You become compliant prior to 30 days after&#xA;Your receipt of the notice.&#xA;&#xA;5.2. If You initiate litigation against any entity by asserting a patent&#xA;infringement claim (excluding declaratory judgment actions,&#xA;counter-claims, and cross-claims) alleging that a Contributor Version&#xA;directly or indirectly infringes any patent, then the rights granted to&#xA;You by any and all Contributors for the Covered Software under Section&#xA;2.1 of this License shall terminate.&#xA;&#xA;5.3. In the event of termination under Sections 5.1 or 5.2 above, all&#xA;end user license agreements (excluding distributors and resellers) which&#xA;have been validly granted by You or Your distributors under this License&#xA;prior to termination shall survive termination.&#xA;&#xA;************************************************************************&#xA;*                                                                      *&#xA;*  6. Disclaimer of Warranty                                           *&#xA;*  -------------------------                                           *&#xA;*                                                                      *&#xA;*  Covered Software is provided under this License on an &#34;as is&#34;       *&#xA;*  basis, without warranty of any kind, either expressed, implied, or  *&#xA;*  statutory, including, without limitation, warranties that the       *&#xA;*  Covered Software is free of defects, merchantable, fit for a        *&#xA;*  particular purpose or non-infringing. The entire risk as to the     *&#xA;*  quality and performance of the Covered Software is with You.        *&#xA;*  Should any Covered Software prove defective in any respect, You     *&#xA;*  (not any Contributor) assume the cost of any necessary servicing,   *&#xA;*  repair, or correction. This disclaimer of warranty constitutes an   *&#xA;*  essential part of this License. No use of any Covered Software is   *&#xA;*  authorized under this License except under this disclaimer.         *&#xA;*                                                                      *&#xA;************************************************************************&#xA;&#xA;************************************************************************&#xA;*                                                                      *&#xA;*  7. Limitation of Liability                                          *&#xA;*  --------------------------                                          *&#xA;*                                                                      *&#xA;*  Under no circumstances and under no legal theory, whether tort      *&#xA;*  (including negligence), contract, or otherwise, shall any           *&#xA;*  Contributor, or anyone who distributes Covered Software as          *&#xA;*  permitted above, be liable to You for any direct, indirect,         *&#xA;*  special, incidental, or consequential damages of any character      *&#xA;*  including, without limitation, damages for lost profits, loss of    *&#xA;*  goodwill, work stoppage, computer failure or malfunction, or any    *&#xA;*  and all other commercial damages or losses, even if such party      *&#xA;*  shall have been informed of the possibility of such damages. This   *&#xA;*  limitation of liability shall not apply to liability for death or   *&#xA;*  personal injury resulting from such party&#39;s negligence to the       *&#xA;*  extent applicable law prohibits such limitation. Some               *&#xA;*  jurisdictions do not allow the exclusion or limitation of           *&#xA;*  incidental or consequential damages, so this exclusion and          *&#xA;*  limitation may not apply to You.                                    *&#xA;*                                                                      *&#xA;************************************************************************&#xA;&#xA;8. Litigation&#xA;-------------&#xA;&#xA;Any litigation relating to this License may be brought only in the&#xA;courts of a jurisdiction where the defendant maintains its principal&#xA;place of business and such litigation shall be governed by laws of that&#xA;jurisdiction, without reference to its conflict-of-law provisions.&#xA;Nothing in this Section shall prevent a party&#39;s ability to bring&#xA;cross-claims or counter-claims.&#xA;&#xA;9. Miscellaneous&#xA;----------------&#xA;&#xA;This License represents the complete agreement concerning the subject&#xA;matter hereof. If any provision of this License is held to be&#xA;unenforceable, such provision shall be reformed only to the extent&#xA;necessary to make it enforceable. Any law or regulation which provides&#xA;that the language of a contract shall be construed against the drafter&#xA;shall not be used to construe this License against a Contributor.&#xA;&#xA;10. Versions of the License&#xA;---------------------------&#xA;&#xA;10.1. New Versions&#xA;&#xA;Mozilla Foundation is the license steward. Except as provided in Section&#xA;10.3, no one other than the license steward has the right to modify or&#xA;publish new versions of this License. Each version will be given a&#xA;distinguishing version number.&#xA;&#xA;10.2. Effect of New Versions&#xA;&#xA;You may distribute the Covered Software under the terms of the version&#xA;of the License under which You originally received the Covered Software,&#xA;or under the terms of any subsequent version published by the license&#xA;steward.&#xA;&#xA;10.3. Modified Versions&#xA;&#xA;If you create software not governed by this License, and you want to&#xA;create a new license for such software, you may create and use a&#xA;modified version of this License if you rename the license and remove&#xA;any references to the name of the license steward (except to note that&#xA;such modified license differs from this License).&#xA;&#xA;10.4. Distributing Source Code Form that is Incompatible With Secondary&#xA;Licenses&#xA;&#xA;If You choose to distribute Source Code Form that is Incompatible With&#xA;Secondary Licenses under the terms of this version of the License, the&#xA;notice described in Exhibit B of this License must be attached.&#xA;&#xA;Exhibit A - Source Code Form License Notice&#xA;-------------------------------------------&#xA;&#xA;  This Source Code Form is subject to the terms of the Mozilla Public&#xA;  License, v. 2.0. If a copy of the MPL was not distributed with this&#xA;  file, You can obtain one at http://mozilla.org/MPL/2.0/.&#xA;&#xA;If it is not possible or desirable to put the notice in a particular&#xA;file, then You may include the notice in a location (such as a LICENSE&#xA;file in a relevant directory) where a recipient would be likely to look&#xA;for such a notice.&#xA;&#xA;You may add additional accurate notices of copyright ownership.&#xA;&#xA;Exhibit B - &#34;Incompatible With Secondary Licenses&#34; Notice&#xA;---------------------------------------------------------&#xA;&#xA;  This Source Code Form is &#34;Incompatible With Secondary Licenses&#34;, as&#xA;  defined by the Mozilla Public License, v. 2.0.&#xA;&#xA;&#xA;-------------------------------------------------------------------&#xA;* License for Caffe2 (Some ops are derived from caffe2)&#xA;-------------------------------------------------------------------&#xA;&#xA;Copyright (c) 2016-present, Facebook Inc. All rights reserved.&#xA;&#xA;All contributions by Facebook:&#xA;Copyright (c) 2016 Facebook Inc.&#xA;&#xA;All contributions by Google:&#xA;Copyright (c) 2015 Google Inc.&#xA;All rights reserved.&#xA;&#xA;All contributions by Yangqing Jia:&#xA;Copyright (c) 2015 Yangqing Jia&#xA;All rights reserved.&#xA;&#xA;All contributions from Caffe:&#xA;Copyright(c) 2013, 2014, 2015, the respective contributors&#xA;All rights reserved.&#xA;&#xA;All other contributions:&#xA;Copyright(c) 2015, 2016 the respective contributors&#xA;All rights reserved.&#xA;&#xA;Caffe2 uses a copyright model similar to Caffe: each contributor holds&#xA;copyright over their contributions to Caffe2. The project versioning records&#xA;all such contribution and copyright details. If a contributor wants to further&#xA;mark their specific copyright on a particular contribution, they should&#xA;indicate their copyright solely in the commit message of the change when it is&#xA;committed.&#xA;&#xA;=======================================================================&#xA;Software under third_party&#xA;=======================================================================&#xA;Software libraries under third_party are provided as github submodule&#xA;links, and their content is not part of the Caffe2 codebase. Their&#xA;licences can be found under the respective software repositories.&#xA;&#xA;=======================================================================&#xA;Earlier BSD License&#xA;=======================================================================&#xA;Early development of Caffe2 in 2015 and early 2016 is licensed under the&#xA;BSD license. The license is attached below:&#xA;&#xA;All contributions by Facebook:&#xA;Copyright (c) 2016 Facebook Inc.&#xA;&#xA;All contributions by Google:&#xA;Copyright (c) 2015 Google Inc.&#xA;All rights reserved.&#xA;&#xA;All contributions by Yangqing Jia:&#xA;Copyright (c) 2015 Yangqing Jia&#xA;All rights reserved.&#xA;&#xA;All other contributions:&#xA;Copyright(c) 2015, 2016 the respective contributors&#xA;All rights reserved.&#xA;&#xA;Redistribution and use in source and binary forms, with or without&#xA;modification, are permitted provided that the following conditions are met:&#xA;&#xA;1. Redistributions of source code must retain the above copyright notice, this&#xA;   list of conditions and the following disclaimer.&#xA;2. Redistributions in binary form must reproduce the above copyright notice,&#xA;   this list of conditions and the following disclaimer in the documentation&#xA;   and/or other materials provided with the distribution.&#xA;&#xA;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#34;AS IS&#34; AND&#xA;ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED&#xA;WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&#xA;DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR&#xA;ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES&#xA;(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;&#xA;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND&#xA;ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&#xA;(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&#xA;SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&#xA;&#xA;&#xA;=======================================================================&#xA;Caffe&#39;s BSD License&#xA;=======================================================================&#xA;Some parts of the caffe2 code is derived from the original Caffe code, which is&#xA;created by Yangqing Jia and is now a BSD-licensed open-source project. The Caffe&#xA;license is as follows:&#xA;&#xA;COPYRIGHT&#xA;&#xA;All contributions by the University of California:&#xA;Copyright (c) 2014, The Regents of the University of California (Regents)&#xA;All rights reserved.&#xA;&#xA;All other contributions:&#xA;Copyright (c) 2014, the respective contributors&#xA;All rights reserved.&#xA;&#xA;Caffe uses a shared copyright model: each contributor holds copyright over&#xA;their contributions to Caffe. The project versioning records all such&#xA;contribution and copyright details. If a contributor wants to further mark&#xA;their specific copyright on a particular contribution, they should indicate&#xA;their copyright solely in the commit message of the change when it is&#xA;committed.&#xA;&#xA;LICENSE&#xA;&#xA;Redistribution and use in source and binary forms, with or without&#xA;modification, are permitted provided that the following conditions are met:&#xA;&#xA;1. Redistributions of source code must retain the above copyright notice, this&#xA;   list of conditions and the following disclaimer.&#xA;2. Redistributions in binary form must reproduce the above copyright notice,&#xA;   this list of conditions and the following disclaimer in the documentation&#xA;   and/or other materials provided with the distribution.&#xA;&#xA;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#34;AS IS&#34; AND&#xA;ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED&#xA;WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&#xA;DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR&#xA;ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES&#xA;(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;&#xA;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND&#xA;ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&#xA;(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&#xA;SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&#xA;&#xA;CONTRIBUTION AGREEMENT&#xA;&#xA;By contributing to the BVLC/caffe repository through pull-request, comment,&#xA;or otherwise, the contributor releases their content to the&#xA;license and copyright terms herein.&#xA;&#xA;&#xA;-------------------------------------------------------------------&#xA;* License for gemmlowp &amp; libtextclassifier&#xA;-------------------------------------------------------------------&#xA;&#xA;&#xA;                                 Apache License&#xA;                           Version 2.0, January 2004&#xA;                        http://www.apache.org/licenses/&#xA;&#xA;   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION&#xA;&#xA;   1. Definitions.&#xA;&#xA;      &#34;License&#34; shall mean the terms and conditions for use, reproduction,&#xA;      and distribution as defined by Sections 1 through 9 of this document.&#xA;&#xA;      &#34;Licensor&#34; shall mean the copyright owner or entity authorized by&#xA;      the copyright owner that is granting the License.&#xA;&#xA;      &#34;Legal Entity&#34; shall mean the union of the acting entity and all&#xA;      other entities that control, are controlled by, or are under common&#xA;      control with that entity. For the purposes of this definition,&#xA;      &#34;control&#34; means (i) the power, direct or indirect, to cause the&#xA;      direction or management of such entity, whether by contract or&#xA;      otherwise, or (ii) ownership of fifty percent (50%) or more of the&#xA;      outstanding shares, or (iii) beneficial ownership of such entity.&#xA;&#xA;      &#34;You&#34; (or &#34;Your&#34;) shall mean an individual or Legal Entity&#xA;      exercising permissions granted by this License.&#xA;&#xA;      &#34;Source&#34; form shall mean the preferred form for making modifications,&#xA;      including but not limited to software source code, documentation&#xA;      source, and configuration files.&#xA;&#xA;      &#34;Object&#34; form shall mean any form resulting from mechanical&#xA;      transformation or translation of a Source form, including but&#xA;      not limited to compiled object code, generated documentation,&#xA;      and conversions to other media types.&#xA;&#xA;      &#34;Work&#34; shall mean the work of authorship, whether in Source or&#xA;      Object form, made available under the License, as indicated by a&#xA;      copyright notice that is included in or attached to the work&#xA;      (an example is provided in the Appendix below).&#xA;&#xA;      &#34;Derivative Works&#34; shall mean any work, whether in Source or Object&#xA;      form, that is based on (or derived from) the Work and for which the&#xA;      editorial revisions, annotations, elaborations, or other modifications&#xA;      represent, as a whole, an original work of authorship. For the purposes&#xA;      of this License, Derivative Works shall not include works that remain&#xA;      separable from, or merely link (or bind by name) to the interfaces of,&#xA;      the Work and Derivative Works thereof.&#xA;&#xA;      &#34;Contribution&#34; shall mean any work of authorship, including&#xA;      the original version of the Work and any modifications or additions&#xA;      to that Work or Derivative Works thereof, that is intentionally&#xA;      submitted to Licensor for inclusion in the Work by the copyright owner&#xA;      or by an individual or Legal Entity authorized to submit on behalf of&#xA;      the copyright owner. For the purposes of this definition, &#34;submitted&#34;&#xA;      means any form of electronic, verbal, or written communication sent&#xA;      to the Licensor or its representatives, including but not limited to&#xA;      communication on electronic mailing lists, source code control systems,&#xA;      and issue tracking systems that are managed by, or on behalf of, the&#xA;      Licensor for the purpose of discussing and improving the Work, but&#xA;      excluding communication that is conspicuously marked or otherwise&#xA;      designated in writing by the copyright owner as &#34;Not a Contribution.&#34;&#xA;&#xA;      &#34;Contributor&#34; shall mean Licensor and any individual or Legal Entity&#xA;      on behalf of whom a Contribution has been received by Licensor and&#xA;      subsequently incorporated within the Work.&#xA;&#xA;   2. Grant of Copyright License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      copyright license to reproduce, prepare Derivative Works of,&#xA;      publicly display, publicly perform, sublicense, and distribute the&#xA;      Work and such Derivative Works in Source or Object form.&#xA;&#xA;   3. Grant of Patent License. Subject to the terms and conditions of&#xA;      this License, each Contributor hereby grants to You a perpetual,&#xA;      worldwide, non-exclusive, no-charge, royalty-free, irrevocable&#xA;      (except as stated in this section) patent license to make, have made,&#xA;      use, offer to sell, sell, import, and otherwise transfer the Work,&#xA;      where such license applies only to those patent claims licensable&#xA;      by such Contributor that are necessarily infringed by their&#xA;      Contribution(s) alone or by combination of their Contribution(s)&#xA;      with the Work to which such Contribution(s) was submitted. If You&#xA;      institute patent litigation against any entity (including a&#xA;      cross-claim or counterclaim in a lawsuit) alleging that the Work&#xA;      or a Contribution incorporated within the Work constitutes direct&#xA;      or contributory patent infringement, then any patent licenses&#xA;      granted to You under this License for that Work shall terminate&#xA;      as of the date such litigation is filed.&#xA;&#xA;   4. Redistribution. You may reproduce and distribute copies of the&#xA;      Work or Derivative Works thereof in any medium, with or without&#xA;      modifications, and in Source or Object form, provided that You&#xA;      meet the following conditions:&#xA;&#xA;      (a) You must give any other recipients of the Work or&#xA;          Derivative Works a copy of this License; and&#xA;&#xA;      (b) You must cause any modified files to carry prominent notices&#xA;          stating that You changed the files; and&#xA;&#xA;      (c) You must retain, in the Source form of any Derivative Works&#xA;          that You distribute, all copyright, patent, trademark, and&#xA;          attribution notices from the Source form of the Work,&#xA;          excluding those notices that do not pertain to any part of&#xA;          the Derivative Works; and&#xA;&#xA;      (d) If the Work includes a &#34;NOTICE&#34; text file as part of its&#xA;          distribution, then any Derivative Works that You distribute must&#xA;          include a readable copy of the attribution notices contained&#xA;          within such NOTICE file, excluding those notices that do not&#xA;          pertain to any part of the Derivative Works, in at least one&#xA;          of the following places: within a NOTICE text file distributed&#xA;          as part of the Derivative Works; within the Source form or&#xA;          documentation, if provided along with the Derivative Works; or,&#xA;          within a display generated by the Derivative Works, if and&#xA;          wherever such third-party notices normally appear. The contents&#xA;          of the NOTICE file are for informational purposes only and&#xA;          do not modify the License. You may add Your own attribution&#xA;          notices within Derivative Works that You distribute, alongside&#xA;          or as an addendum to the NOTICE text from the Work, provided&#xA;          that such additional attribution notices cannot be construed&#xA;          as modifying the License.&#xA;&#xA;      You may add Your own copyright statement to Your modifications and&#xA;      may provide additional or different license terms and conditions&#xA;      for use, reproduction, or distribution of Your modifications, or&#xA;      for any such Derivative Works as a whole, provided Your use,&#xA;      reproduction, and distribution of the Work otherwise complies with&#xA;      the conditions stated in this License.&#xA;&#xA;   5. Submission of Contributions. Unless You explicitly state otherwise,&#xA;      any Contribution intentionally submitted for inclusion in the Work&#xA;      by You to the Licensor shall be under the terms and conditions of&#xA;      this License, without any additional terms or conditions.&#xA;      Notwithstanding the above, nothing herein shall supersede or modify&#xA;      the terms of any separate license agreement you may have executed&#xA;      with Licensor regarding such Contributions.&#xA;&#xA;   6. Trademarks. This License does not grant permission to use the trade&#xA;      names, trademarks, service marks, or product names of the Licensor,&#xA;      except as required for reasonable and customary use in describing the&#xA;      origin of the Work and reproducing the content of the NOTICE file.&#xA;&#xA;   7. Disclaimer of Warranty. Unless required by applicable law or&#xA;      agreed to in writing, Licensor provides the Work (and each&#xA;      Contributor provides its Contributions) on an &#34;AS IS&#34; BASIS,&#xA;      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or&#xA;      implied, including, without limitation, any warranties or conditions&#xA;      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A&#xA;      PARTICULAR PURPOSE. You are solely responsible for determining the&#xA;      appropriateness of using or redistributing the Work and assume any&#xA;      risks associated with Your exercise of permissions under this License.&#xA;&#xA;   8. Limitation of Liability. In no event and under no legal theory,&#xA;      whether in tort (including negligence), contract, or otherwise,&#xA;      unless required by applicable law (such as deliberate and grossly&#xA;      negligent acts) or agreed to in writing, shall any Contributor be&#xA;      liable to You for damages, including any direct, indirect, special,&#xA;      incidental, or consequential damages of any character arising as a&#xA;      result of this License or out of the use or inability to use the&#xA;      Work (including but not limited to damages for loss of goodwill,&#xA;      work stoppage, computer failure or malfunction, or any and all&#xA;      other commercial damages or losses), even if such Contributor&#xA;      has been advised of the possibility of such damages.&#xA;&#xA;   9. Accepting Warranty or Additional Liability. While redistributing&#xA;      the Work or Derivative Works thereof, You may choose to offer,&#xA;      and charge a fee for, acceptance of support, warranty, indemnity,&#xA;      or other liability obligations and/or rights consistent with this&#xA;      License. However, in accepting such obligations, You may act only&#xA;      on Your own behalf and on Your sole responsibility, not on behalf&#xA;      of any other Contributor, and only if You agree to indemnify,&#xA;      defend, and hold each Contributor harmless for any liability&#xA;      incurred by, or claims asserted against, such Contributor by reason&#xA;      of your accepting any such warranty or additional liability.&#xA;&#xA;   END OF TERMS AND CONDITIONS&#xA;&#xA;   APPENDIX: How to apply the Apache License to your work.&#xA;&#xA;      To apply the Apache License to your work, attach the following&#xA;      boilerplate notice, with the fields enclosed by brackets &#34;[]&#34;&#xA;      replaced with your own identifying information. (Don&#39;t include&#xA;      the brackets!)  The text should be enclosed in the appropriate&#xA;      comment syntax for the file format. We also recommend that a&#xA;      file or class name and description of purpose be included on the&#xA;      same &#34;printed page&#34; as the copyright notice for easier&#xA;      identification within third-party archives.&#xA;&#xA;   Copyright [yyyy] [name of copyright owner]&#xA;&#xA;   Licensed under the Apache License, Version 2.0 (the &#34;License&#34;);&#xA;   you may not use this file except in compliance with the License.&#xA;   You may obtain a copy of the License at&#xA;&#xA;       http://www.apache.org/licenses/LICENSE-2.0&#xA;&#xA;   Unless required by applicable law or agreed to in writing, software&#xA;   distributed under the License is distributed on an &#34;AS IS&#34; BASIS,&#xA;   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xA;   See the License for the specific language governing permissions and&#xA;   limitations under the License.