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,EAAE,QAAQ;gBAChB,MAAM,EAAE,QAAQ;gBAChB,cAAc,EAAE,IAAI;aACrB;YACD;gBACE,QAAQ,EAAE,WAAW;gBACrB,MAAM,EAAE,WAAW;gBACnB,MAAM,EAAE,QAAQ;gBAChB,cAAc,EAAE,CAAC;aAClB;SACF;KACF;IACD,EAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAC,EAAE;QACvD,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,OAAO;QACnB,QAAQ,EAAE,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAC,CAAC;KACxD;IACD;QACE,UAAU,EAAE,yBAAyB;QACrC,UAAU,EAAE,OAAO;QACnB,QAAQ,EAAE;YACR,EAAC,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAC;SAC5C;QACD,OAAO,EAAE;YACP,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAC;YAClD,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAC;SACnD;KACF;CACF,CAAC","sourcesContent":["import {OpMapper} from '../types';\n\n/**\n * @license\n * Copyright 2018 Google LLC. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * =============================================================================\n */\n\nexport const json: OpMapper[] = [\n {\n 'tfOpName': 'PlaceholderWithDefault',\n 'category': 'graph',\n 'inputs': [\n {'start': 0, 'name': 'default', 'type': 'tensor'},\n ],\n 'attrs': [\n {'tfName': 'shape', 'name': 'shape', 'type': 'shape'},\n {'tfName': 'dtype', 'name': 'dtype', 'type': 'dtype'}\n ]\n },\n {\n 'tfOpName': 'Placeholder',\n 'category': 'graph',\n 'attrs': [\n {'tfName': 'shape', 'name': 'shape', 'type': 'shape'},\n {'tfName': 'dtype', 'name': 'dtype', 'type': 'dtype'}\n ]\n },\n {'tfOpName': 'Const', 'category': 'graph'}, {\n 'tfOpName': 'Identity',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'IdentityN',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'end': 0, 'name': 'x', 'type': 'tensors'}]\n },\n {\n 'tfOpName': 'Snapshot',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'Rank',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'Size',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'Shape',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'ShapeN',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'end': 0, 'name': 'x', 'type': 'tensors'}]\n },\n {\n 'tfOpName': 'Print',\n 'category': 'graph',\n 'inputs': [\n {'start': 0, 'name': 'x', 'type': 'tensor'},\n {'start': 1, 'name': 'data', 'type': 'tensors'},\n ],\n 'attrs': [\n {'tfName': 'message', 'name': 'message', 'type': 'string'}, {\n 'tfName': 'first_n',\n 'name': 'firstN',\n 'type': 'number',\n 'notSupported': true\n },\n {\n 'tfName': 'summarize',\n 'name': 'summarize',\n 'type': 'number',\n 'defaultValue': 3\n }\n ]\n },\n {'tfOpName': 'NoOp', 'category': 'graph', 'inputs': []}, {\n 'tfOpName': 'StopGradient',\n 'category': 'graph',\n 'inputs': [{'start': 0, 'name': 'x', 'type': 'tensor'}]\n },\n {\n 'tfOpName': 'FakeQuantWithMinMaxVars',\n 'category': 'graph',\n 'inputs': [\n {'start': 0, 'name': 'x', 'type': 'tensor'},\n ],\n 'attrs': [\n {'tfName': 'min', 'name': 'min', 'type': 'number'},\n {'tfName': 'max', 'name': 'max', 'type': 'number'}\n ]\n }\n];\n"]}
\No newline at end of file