Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="cell code_cell rendered selected" tabindex="2"><div class="input"><div class="prompt input_prompt">In [8]:</div><div class="inner_cell"><div class="ctb_hideshow"><div class="celltoolbar"></div></div><div class="input_area"><div class="CodeMirror cm-s-ipython"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 56.5938px; left: 72.5938px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" cm-not-content="true" style="height: 18px; pointer-events: none;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-width: 196px; margin-bottom: 0px; border-right-width: 30px; min-height: 113px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors" style="visibility: hidden;"><div class="CodeMirror-cursor" style="left: 67px; top: 51px; height: 17px;"> </div></div><div class="CodeMirror-code CodeMirror-crosshair"><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-keyword">import</span> <span class="cm-variable">tensorflow</span> <span class="cm-keyword">as</span> <span class="cm-variable">tf</span></span></pre><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-keyword">import</span> <span class="cm-variable">numpy</span> <span class="cm-keyword">as</span> <span class="cm-variable">np</span></span></pre><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-variable">a</span> = <span class="cm-variable">tf</span>.<span class="cm-property">ones</span>(())</span></pre><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-variable">b</span> = <span class="cm-variable">tf</span>.<span class="cm-property">ones</span>(())</span></pre><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-variable">c</span> = <span class="cm-variable">a</span> <span class="cm-operator">+</span> <span class="cm-variable">b</span> </span></pre><pre class=" CodeMirror-line "><span style="padding-right: 0.1px;"><span class="cm-variable">show_graph</span>()</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 113px;"></div><div class="CodeMirror-gutters" style="display: none; height: 143px;"></div></div></div></div></div></div><div class="output_wrapper"><div class="out_prompt_overlay prompt" title="click to scroll output; double click to hide" style=""></div><div class="output" style=""><div class="output_area"><div class="prompt"></div><div class="output_subarea output_html rendered_html">
- <iframe seamless="" style="width:1200px;height:800px;border:0" srcdoc="
- <script>
- function load() {
- document.getElementById("graph0.25707819463204806").pbtxt = 'node {\n name: "ones"\n op: "Const"\n attr {\n key: "dtype"\n value {\n type: DT_FLOAT\n }\n }\n attr {\n key: "value"\n value {\n tensor {\n dtype: DT_FLOAT\n tensor_shape {\n }\n float_val: 1.0\n }\n }\n }\n}\nnode {\n name: "ones_1"\n op: "Const"\n attr {\n key: "dtype"\n value {\n type: DT_FLOAT\n }\n }\n attr {\n key: "value"\n value {\n tensor {\n dtype: DT_FLOAT\n tensor_shape {\n }\n float_val: 1.0\n }\n }\n }\n}\nnode {\n name: "add"\n op: "Add"\n input: "ones"\n input: "ones_1"\n attr {\n key: "T"\n value {\n type: DT_FLOAT\n }\n }\n}\nnode {\n name: "ones_2"\n op: "Const"\n attr {\n key: "dtype"\n value {\n type: DT_FLOAT\n }\n }\n attr {\n key: "value"\n value {\n tensor {\n dtype: DT_FLOAT\n tensor_shape {\n }\n float_val: 1.0\n }\n }\n }\n}\nnode {\n name: "ones_3"\n op: "Const"\n attr {\n key: "dtype"\n value {\n type: DT_FLOAT\n }\n }\n attr {\n key: "value"\n value {\n tensor {\n dtype: DT_FLOAT\n tensor_shape {\n }\n float_val: 1.0\n }\n }\n }\n}\nnode {\n name: "add_1"\n op: "Add"\n input: "ones_2"\n input: "ones_3"\n attr {\n key: "T"\n value {\n type: DT_FLOAT\n }\n }\n}\n';
- }
- </script>
- <link rel="import" href="https://tensorboard.appspot.com/tf-graph-basic.build.html" onload=load()>
- <div style="height:600px">
- <tf-graph-basic id="graph0.25707819463204806"></tf-graph-basic>
- </div>
- "></iframe>
- </div></div></div><div class="btn btn-default output_collapsed" title="click to expand output" style="display: none;">. . .</div></div></div><div style="height:600px">
- <tf-graph-basic id="graph0.25707819463204806">
- <div class="all style-scope tf-graph-basic">
- <div class="side style-scope tf-graph-basic">
- <tf-graph-controls class="style-scope tf-graph-basic x-scope tf-graph-controls-0">
- <div class="allcontrols style-scope tf-graph-controls">
- <div class="control-holder style-scope tf-graph-controls">
- <paper-icon-button id="fit" icon="aspect-ratio" class="fit-button style-scope tf-graph-controls x-scope paper-icon-button-0" alt="Fit to screen" role="button" tabindex="0" aria-disabled="false" aria-label="Fit to screen">
- <iron-icon id="icon" class="style-scope paper-icon-button x-scope iron-icon-0" alt="Fit to screen"><svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;"><g class="style-scope iron-icon"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z" class="style-scope iron-icon"></path></g></svg>
- </iron-icon>
- </paper-icon-button>
- <paper-button class="fit-button-text style-scope tf-graph-controls x-scope paper-button-0" role="button" tabindex="0" animated="" aria-disabled="false">
- Fit to screen
- </paper-button>
- </div>
- <div class="control-holder style-scope tf-graph-controls">
- <div class="title style-scope tf-graph-controls">Run</div>
- <paper-dropdown-menu no-label-float="" no-animations="" noink="" class="run-dropdown style-scope tf-graph-controls x-scope paper-dropdown-menu-0" role="group" aria-haspopup="true" aria-disabled="false">
- <paper-menu-button id="menuButton" vertical-align="top" horizontal-align="right" class="style-scope paper-dropdown-menu x-scope paper-menu-button-0" role="group" aria-haspopup="true" aria-disabled="false">
- <div id="trigger" class="style-scope paper-menu-button">
- <div class="dropdown-trigger style-scope paper-dropdown-menu">
- <paper-ripple class="style-scope paper-dropdown-menu">
- <div id="background" class="style-scope paper-ripple"></div>
- <div id="waves" class="style-scope paper-ripple"></div>
- </paper-ripple>
- <paper-input readonly="" class="style-scope paper-dropdown-menu x-scope paper-input-0" aria-disabled="false">
- <paper-input-container class="style-scope paper-input x-scope paper-input-container-0">
- <template is="dom-if" class="style-scope paper-input-container"></template>
- <div class="input-content style-scope paper-input-container">
- <div class="label-and-input-container style-scope paper-input-container" id="labelAndInputContainer">
- <label class="style-scope paper-input" id="paper-input-label-86"> </label><input is="iron-input" id="input" class="style-scope paper-input" autocomplete="off" placeholder="" readonly="" autocapitalize="none" autocorrect="off" aria-describedby="" aria-labelledby="paper-input-label-86"><template is="dom-if" class="style-scope paper-input"></template><template is="dom-if" class="style-scope paper-input"></template>
- </div>
- <iron-icon icon="arrow-drop-down" suffix="" class="style-scope paper-dropdown-menu x-scope iron-icon-1"><svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;"><g class="style-scope iron-icon"><path d="M7 10l5 5 5-5z" class="style-scope iron-icon"></path></g></svg>
- </iron-icon>
- </div>
- <div class="underline style-scope paper-input-container">
- <div class="unfocused-line fit style-scope paper-input-container"></div>
- <div class="focused-line fit style-scope paper-input-container"></div>
- </div>
- <div class="add-on-content style-scope paper-input-container">
- </div>
- </paper-input-container>
- </paper-input>
- </div>
- </div>
- <iron-dropdown id="dropdown" class="style-scope paper-menu-button" aria-disabled="false" aria-hidden="true" horizontal-align="right" vertical-align="top" style="outline: none; display: none; right: 961.5px; top: 45px;">
- <div id="contentWrapper" class="style-scope iron-dropdown">
- <paper-material class="dropdown-content style-scope paper-menu-button x-scope paper-material-0" elevation="1">
- <paper-menu id="select" class="dropdown-content style-scope tf-graph-controls x-scope paper-menu-0" role="menu" tabindex="0">
- <div class="selectable-content style-scope paper-menu">
- <template is="dom-repeat" class="style-scope tf-graph-controls"></template>
- </div>
- </paper-menu>
- </paper-material>
- </div>
- </iron-dropdown>
- </paper-menu-button>
- </paper-dropdown-menu>
- </div>
- <div class="control-holder style-scope tf-graph-controls">
- <div class="title style-scope tf-graph-controls">Upload</div>
- <paper-button raised="" class="text-button upload-button style-scope tf-graph-controls x-scope paper-button-0" role="button" tabindex="0" animated="" aria-disabled="false" elevation="1">
- Choose File
- </paper-button>
- <div class="hidden-input style-scope tf-graph-controls">
- <input type="file" id="file" name="file" class="style-scope tf-graph-controls">
- </div>
- </div>
- <div class="control-holder style-scope tf-graph-controls">
- <div class="title style-scope tf-graph-controls">Color</div>
- <paper-dropdown-menu no-label-float="" no-animations="" noink="" class="color-dropdown style-scope tf-graph-controls x-scope paper-dropdown-menu-0" role="group" aria-haspopup="true" aria-disabled="false">
- <paper-menu-button id="menuButton" vertical-align="top" horizontal-align="right" class="style-scope paper-dropdown-menu x-scope paper-menu-button-0" role="group" aria-haspopup="true" aria-disabled="false">
- <div id="trigger" class="style-scope paper-menu-button">
- <div class="dropdown-trigger style-scope paper-dropdown-menu">
- <paper-ripple class="style-scope paper-dropdown-menu">
- <div id="background" class="style-scope paper-ripple"></div>
- <div id="waves" class="style-scope paper-ripple"></div>
- </paper-ripple>
- <paper-input readonly="" class="style-scope paper-dropdown-menu x-scope paper-input-0" aria-disabled="false">
- <paper-input-container class="style-scope paper-input x-scope paper-input-container-1">
- <template is="dom-if" class="style-scope paper-input-container"></template>
- <div class="input-content label-is-hidden style-scope paper-input-container">
- <div class="label-and-input-container style-scope paper-input-container" id="labelAndInputContainer">
- <label class="style-scope paper-input" id="paper-input-label-91"> </label><input is="iron-input" id="input" class="style-scope paper-input" autocomplete="off" placeholder="" readonly="" autocapitalize="none" autocorrect="off" aria-describedby="" aria-labelledby="paper-input-label-91"><template is="dom-if" class="style-scope paper-input"></template><template is="dom-if" class="style-scope paper-input"></template>
- </div>
- <iron-icon icon="arrow-drop-down" suffix="" class="style-scope paper-dropdown-menu x-scope iron-icon-1"><svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;"><g class="style-scope iron-icon"><path d="M7 10l5 5 5-5z" class="style-scope iron-icon"></path></g></svg>
- </iron-icon>
- </div>
- <div class="underline style-scope paper-input-container">
- <div class="unfocused-line fit style-scope paper-input-container"></div>
- <div class="focused-line fit style-scope paper-input-container"></div>
- </div>
- <div class="add-on-content style-scope paper-input-container">
- </div>
- </paper-input-container>
- </paper-input>
- </div>
- </div>
- <iron-dropdown id="dropdown" class="style-scope paper-menu-button" aria-disabled="false" aria-hidden="true" horizontal-align="right" vertical-align="top" style="outline: none; display: none; right: 963.031px; top: 115px;">
- <div id="contentWrapper" class="style-scope iron-dropdown">
- <paper-material class="dropdown-content style-scope paper-menu-button x-scope paper-material-0" elevation="1">
- <paper-menu class="dropdown-content style-scope tf-graph-controls x-scope paper-menu-0" role="menu" tabindex="0">
- <div class="selectable-content style-scope paper-menu">
- <paper-item class="style-scope tf-graph-controls x-scope paper-item-0 iron-selected" role="option" tabindex="-1" aria-disabled="false" aria-selected="true">
- Structure
- </paper-item>
- <paper-item class="style-scope tf-graph-controls x-scope paper-item-0" role="option" tabindex="-1" aria-disabled="false">
- Device
- </paper-item>
- <template is="dom-if" class="style-scope tf-graph-controls"></template>
- </div>
- </paper-menu>
- </paper-material>
- </div>
- </iron-dropdown>
- </paper-menu-button>
- </paper-dropdown-menu>
- </div>
- <div class="style-scope tf-graph-controls">
- <template is="dom-if" class="style-scope tf-graph-controls"></template>
- <div class="color-text style-scope tf-graph-controls">
- color: same substructure<br class="style-scope tf-graph-controls">
- gray: unique substructure
- </div>
- <template is="dom-if" class="style-scope tf-graph-controls"></template>
- <template is="dom-if" class="style-scope tf-graph-controls"></template>
- </div>
- <div class="legend-holder style-scope tf-graph-controls">
- <table class="style-scope tf-graph-controls">
- <tbody class="style-scope tf-graph-controls"><tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls"><div class="title style-scope tf-graph-controls">Graph</div></td>
- <td class="style-scope tf-graph-controls">(* = expandable)</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls">
- <rect transform="translate(3, 1)" height="14" width="35" rx="5" ry="5" class="style-scope tf-graph-controls"></rect>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Namespace<span class="gray style-scope tf-graph-controls">*</span></td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" preserveAspectRatio="xMinYMid meet" viewBox="0 0 10 10">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" fill="white" stroke="#ccc" x="9.5" y="6" class="style-scope tf-graph-controls"></use>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">OpNode</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" height="15px" preserveAspectRatio="xMinYMid meet" viewBox="0 0 12 12">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-series-horizontal-stamp" fill="white" stroke="#ccc" x="2" y="2" class="style-scope tf-graph-controls"></use>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Unconnected series<span class="gray style-scope tf-graph-controls">*</span></td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" height="15px" preserveAspectRatio="xMinYMid meet" viewBox="0 0 15 15">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-series-vertical-stamp" fill="white" stroke="#ccc" x="2" y="2" class="style-scope tf-graph-controls"></use>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Connected series<span class="gray style-scope tf-graph-controls">*</span></td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls">
- <circle fill="white" stroke="#848484" cx="10" cy="10" r="5" class="style-scope tf-graph-controls"></circle>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Constant</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="image-icon style-scope tf-graph-controls">
- <image id="summary-icon" width="24" height="24" x="0" y="0" class="image-icon style-scope tf-graph-controls" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tensorboard.appspot.com/tensorboard/lib/svg/summary-icon.svg"></image>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Summary</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" height="15px" preserveAspectRatio="xMinYMid meet" viewBox="0 0 15 15">
- <defs class="style-scope tf-graph-controls">
- <marker id="arrowhead-legend" fill="#bbb" markerWidth="10" markerHeight="10" refX="9" refY="5" orient="auto" class="style-scope tf-graph-controls">
- <path d="M 0,0 L 10,5 L 0,10 C 3,7 3,3 0,0" class="style-scope tf-graph-controls"></path>
- </marker>
- <marker id="ref-arrowhead-legend" fill="#bbb" markerWidth="10" markerHeight="10" refX="1" refY="5" orient="auto" class="style-scope tf-graph-controls">
- <path d="M 10,0 L 0,5 L 10,10 C 7,7 7,3 10,0" class="style-scope tf-graph-controls"></path>
- </marker>
- </defs>
- <path marker-end="url(#arrowhead-legend)" stroke="#bbb" d="M2 9 l 23 0" stroke-linecap="round" class="style-scope tf-graph-controls"></path>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Dataflow edge</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" height="15px" preserveAspectRatio="xMinYMid meet" viewBox="0 0 15 15">
- <path marker-end="url(#arrowhead-legend)" stroke="#bbb" d="M2 9 l 23 0" stroke-linecap="round" stroke-dasharray="2, 2" class="style-scope tf-graph-controls"></path>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Control dependency edge</td>
- </tr>
- <tr class="style-scope tf-graph-controls">
- <td class="style-scope tf-graph-controls">
- <svg class="icon style-scope tf-graph-controls" height="15px" preserveAspectRatio="xMinYMid meet" viewBox="0 0 15 15">
- <path marker-start="url(#ref-arrowhead-legend)" marker-end="url(#arrowhead-legend)" stroke="#bbb" d="M2 9 l 23 0" stroke-linecap="round" class="style-scope tf-graph-controls"></path>
- </svg>
- </td>
- <td class="style-scope tf-graph-controls">Reference edge</td>
- </tr>
- </tbody></table>
- </div>
- </div>
- </tf-graph-controls>
- <tf-graph-loader id="loader" class="style-scope tf-graph-basic"></tf-graph-loader>
- </div>
- <div class="main style-scope tf-graph-basic">
- <tf-graph-board id="graphboard" class="style-scope tf-graph-basic x-scope tf-graph-board-0">
- <div id="progress-bar" class="style-scope tf-graph-board" style="display: none;">
- <div id="progress-msg" class="style-scope tf-graph-board">Namespace hierarchy : Finding similar subgraphs</div>
- <paper-progress class="style-scope tf-graph-board x-scope paper-progress-0" role="progressbar" value="100" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" aria-disabled="false">
- <div id="progressContainer" class="style-scope paper-progress">
- <div id="secondaryProgress" class="style-scope paper-progress" hidden="" style="transform: scaleX(0);"></div>
- <div id="primaryProgress" class="style-scope paper-progress" style="transform: scaleX(1);"></div>
- </div>
- </paper-progress>
- </div><template is="dom-if" class="style-scope tf-graph-board"></template>
- <div class="container style-scope tf-graph-board">
- <div id="main" class="style-scope tf-graph-board">
- <tf-graph id="graph" class="style-scope tf-graph-board x-scope tf-graph-0">
- <div class="container style-scope tf-graph">
- <tf-graph-params id="graphParams" class="style-scope tf-graph"></tf-graph-params>
- <div class="vertical style-scope tf-graph">
- <h2 class="style-scope tf-graph"> </h2>
- <tf-graph-scene id="scene" class="auto style-scope tf-graph">
- <div class="titleContainer style-scope tf-graph-scene">
- <div id="title" class="title style-scope tf-graph-scene" style="display: none; left: 20px;">Main Graph</div>
- <div id="auxTitle" class="auxTitle style-scope tf-graph-scene" style="display: none; left: 110px;">Auxiliary nodes</div>
- </div>
- <svg id="svg" class="style-scope tf-graph-scene">
- <defs class="style-scope tf-graph-scene">
- <marker id="arrowhead" markerWidth="10" markerHeight="10" refX="9" refY="5" orient="auto" class="style-scope tf-graph-scene">
- <path d="M 0,0 L 10,5 L 0,10 C 3,7 3,3 0,0" class="style-scope tf-graph-scene"></path>
- </marker>
- <marker id="ref-arrowhead" markerWidth="10" markerHeight="10" refX="1" refY="5" orient="auto" class="style-scope tf-graph-scene">
- <path d="M 10,0 L 0,5 L 10,10 C 7,7 7,3 10,0" class="style-scope tf-graph-scene"></path>
- </marker>
- <marker id="annotation-arrowhead" markerWidth="5" markerHeight="5" refX="5" refY="2.5" orient="auto" class="style-scope tf-graph-scene">
- <path d="M 0,0 L 5,2.5 L 0,5 L 0,0" class="style-scope tf-graph-scene"></path>
- </marker>
- <marker id="ref-annotation-arrowhead" markerWidth="5" markerHeight="5" refX="0" refY="2.5" orient="auto" class="style-scope tf-graph-scene">
- <path d="M 5,0 L 0,2.5 L 5,5 L 5,0" class="style-scope tf-graph-scene"></path>
- </marker>
- <ellipse id="op-node-stamp" rx="7.5" ry="3" stroke="inherit" fill="inherit" class="style-scope tf-graph-scene"></ellipse>
- <ellipse id="op-node-annotation-stamp" rx="5" ry="2" stroke="inherit" fill="inherit" class="style-scope tf-graph-scene"></ellipse>
- <g id="op-series-vertical-stamp" class="style-scope tf-graph-scene">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="8" y="9" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="8" y="6" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="8" y="3" class="style-scope tf-graph-scene"></use>
- </g>
- <g id="op-series-horizontal-stamp" class="style-scope tf-graph-scene">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="16" y="4" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="12" y="4" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" x="8" y="4" class="style-scope tf-graph-scene"></use>
- </g>
- <g id="op-series-annotation-stamp" class="style-scope tf-graph-scene">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-annotation-stamp" x="9" y="2" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-annotation-stamp" x="7" y="2" class="style-scope tf-graph-scene"></use>
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-annotation-stamp" x="5" y="2" class="style-scope tf-graph-scene"></use>
- </g>
- <g id="linearGradients" class="style-scope tf-graph-scene"></g>
- </defs>
- <rect fill="white" width="10000" height="10000" class="style-scope tf-graph-scene"></rect>
- <g id="root" class="style-scope tf-graph-scene" transform="translate(436.00000000000006,40.00000000000003)scale(1.7999999999999994)"><g class="scene" opacity="1"><g class="core" transform="translate(0,20)"><g class="edges"></g><g class="nodes"></g></g><g class="out-extract" transform="translate(50,20)"><g class="nodes"><g data-name="add" class="node op extract selected"><g class="in-annotations"><g data-name="ones" class="annotation constant op"><path class="annotation-edge" d="M15.5,2L25.5,5.5"></path><text class="annotation-label" dy=".35em" text-anchor="end" y="2" x="9.5">ones<title>ones</title></text><g class="annotation-node"><ellipse class="nodecolortarget" ry="2" rx="2" cy="2" cx="13.5"></ellipse><title>ones</title></g></g><g data-name="ones_1" class="annotation constant op"><path class="annotation-edge" d="M15.5,9L25.5,5.5"></path><text class="annotation-label" dy=".35em" text-anchor="end" y="9" x="9.5">ones_1<title>ones_1</title></text><g class="annotation-node"><ellipse class="nodecolortarget" ry="2" rx="2" cy="9" cx="13.5"></ellipse><title>ones_1</title></g></g></g><g class="out-annotations"></g><g class="nodeshape"><ellipse class="nodecolortarget" ry="3" rx="7.5" cy="5.5" cx="33" style="fill: white;"></ellipse></g><text class="nodelabel" dy=".35em" text-anchor="middle" y="-2.5" x="33">add</text></g><g data-name="add_1" class="node op extract"><g class="in-annotations"><g data-name="ones_2" class="annotation constant op"><path class="annotation-edge" d="M15.5,33L25.5,36.5"></path><text class="annotation-label" dy=".35em" text-anchor="end" y="33" x="9.5">ones_2<title>ones_2</title></text><g class="annotation-node"><ellipse class="nodecolortarget" ry="2" rx="2" cy="33" cx="13.5"></ellipse><title>ones_2</title></g></g><g data-name="ones_3" class="annotation constant op"><path class="annotation-edge" d="M15.5,40L25.5,36.5"></path><text class="annotation-label" dy=".35em" text-anchor="end" y="40" x="9.5">ones_3<title>ones_3</title></text><g class="annotation-node"><ellipse class="nodecolortarget" ry="2" rx="2" cy="40" cx="13.5"></ellipse><title>ones_3</title></g></g></g><g class="out-annotations"></g><g class="nodeshape"><ellipse class="nodecolortarget" ry="3" rx="7.5" cy="36.5" cx="33" style="fill: white; stroke: rgb(178, 178, 178);"></ellipse></g><text class="nodelabel" dy=".35em" text-anchor="middle" y="28.5" x="33">add_1</text></g></g></g></g></g>
- </svg>
- <tf-graph-minimap id="minimap" class="style-scope tf-graph-scene hidden">
- <svg class="style-scope tf-graph-minimap" width="103.6307762349192" height="150">
- <defs class="style-scope tf-graph-minimap">
- <filter id="minimapDropShadow" x="-20%" y="-20%" width="150%" height="150%" class="style-scope tf-graph-minimap">
- <feOffset result="offOut" in="SourceGraphic" dx="1" dy="1" class="style-scope tf-graph-minimap"></feOffset>
- <feColorMatrix result="matrixOut" in="offOut" type="matrix" values="0.1 0 0 0 0 0 0.1 0 0 0 0 0 0.1 0 0 0 0 0 0.5 0" class="style-scope tf-graph-minimap"></feColorMatrix>
- <feGaussianBlur result="blurOut" in="matrixOut" stdDeviation="2" class="style-scope tf-graph-minimap"></feGaussianBlur>
- <feBlend in="SourceGraphic" in2="blurOut" mode="normal" class="style-scope tf-graph-minimap"></feBlend>
- </filter>
- </defs>
- <rect class="style-scope tf-graph-minimap" x="-529.3269595568711" y="-48.56210638136435" width="1133.9251840048566" height="680.097124212763"></rect>
- </svg>
- <canvas class="first style-scope tf-graph-minimap" width="103.6307762349192" height="150"></canvas>
- <canvas class="second style-scope tf-graph-minimap" width="103.6307762349192" height="150" style="display: none;"></canvas>
- </tf-graph-minimap>
- </tf-graph-scene>
- </div>
- </div>
- </tf-graph>
- </div>
- <div id="info" class="style-scope tf-graph-board">
- <tf-graph-info id="graph-info" title="selected" class="style-scope tf-graph-board">
- <paper-material elevation="1" class="card style-scope tf-graph-info x-scope paper-material-0">
- <tf-node-info class="style-scope tf-graph-info">
- <paper-item class="style-scope tf-node-info x-scope paper-item-1" role="option" tabindex="0" aria-disabled="false">
- <paper-item-body two-line="" class="style-scope tf-node-info x-scope paper-item-body-0">
- <div class="style-scope tf-node-info">
- <paper-icon-button class="toggle-button style-scope tf-node-info x-scope paper-icon-button-0" role="button" tabindex="0" aria-disabled="false">
- <iron-icon id="icon" class="style-scope paper-icon-button x-scope iron-icon-0"><svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;"><g class="style-scope iron-icon"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z" class="style-scope iron-icon"></path></g></svg>
- </iron-icon>
- </paper-icon-button>
- <div class="node-name style-scope tf-node-info">add</div>
- </div>
- <div secondary="" class="style-scope tf-node-info">
- <tf-graph-icon class="node-icon style-scope tf-node-info">
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 16 8" class="style-scope tf-graph-icon" height="20">
- <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#op-node-stamp" fill="white" stroke="#ccc" x="8" y="4" class="style-scope tf-graph-icon"></use>
- </svg>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- </tf-graph-icon>
- <div class="subtitle style-scope tf-node-info">
- Operation:
- <span class="style-scope tf-node-info">Add</span>
- </div>
- <template is="dom-if" class="style-scope tf-node-info"></template>
- <template is="dom-if" class="style-scope tf-node-info"></template>
- </div>
- </paper-item-body>
- </paper-item>
- <iron-collapse class="style-scope tf-node-info iron-collapse-opened" role="group" aria-expanded="true" aria-hidden="false" style="transition-property: height; transition-duration: 0s; height: auto;">
- <div class="expandedInfo style-scope tf-node-info">
- <div class="sub-list-group attributes style-scope tf-node-info">
- Attributes
- (<span class="style-scope tf-node-info">1</span>)
- <iron-list class="sub-list style-scope tf-node-info x-scope iron-list-0 has-scroller" id="attributesList">
- <array-selector id="selector" class="style-scope iron-list">
- </array-selector>
- <div id="items" class="style-scope iron-list" style="height: 19px;">
- <template class="style-scope tf-node-info"></template>
- <div class="style-scope tf-node-info" style="transform: translate3d(0px, 0px, 0px);">
- <div class="attr-left style-scope tf-node-info">T</div>
- <div class="attr-right style-scope tf-node-info">{"type":"DT_FLOAT"}</div>
- </div>
- </div>
- </iron-list>
- </div>
- <template is="dom-if" class="style-scope tf-node-info"></template>
- <div class="sub-list-group predecessors style-scope tf-node-info">
- Inputs
- (<span class="style-scope tf-node-info">2</span>)
- <iron-list class="sub-list style-scope tf-node-info x-scope iron-list-0 has-scroller" id="inputsList">
- <array-selector id="selector" class="style-scope iron-list">
- </array-selector>
- <div id="items" class="style-scope iron-list" style="height: 36px;">
- <template class="style-scope tf-node-info"></template>
- <tf-node-list-item item-type="predecessors" class="style-scope tf-node-info x-scope tf-node-list-item-0" style="transform: translate3d(0px, 0px, 0px);">
- <div id="list-item" class="style-scope tf-node-list-item clickable">
- <tf-graph-icon class="node-icon style-scope tf-node-list-item" height="12">
- <svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 10 10" class="style-scope tf-graph-icon" height="12">
- <circle fill="white" stroke="#848484" cx="5" cy="5" r="3" class="style-scope tf-graph-icon"></circle>
- </svg>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- </tf-graph-icon>
- <span class="style-scope tf-node-list-item" title="ones">ones</span>
- </div>
- </tf-node-list-item>
- <tf-node-list-item item-type="predecessors" class="style-scope tf-node-info x-scope tf-node-list-item-0" style="transform: translate3d(0px, 18px, 0px);">
- <div id="list-item" class="style-scope tf-node-list-item clickable">
- <tf-graph-icon class="node-icon style-scope tf-node-list-item" height="12">
- <svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 10 10" class="style-scope tf-graph-icon" height="12">
- <circle fill="white" stroke="#848484" cx="5" cy="5" r="3" class="style-scope tf-graph-icon"></circle>
- </svg>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- </tf-graph-icon>
- <span class="style-scope tf-node-list-item" title="ones_1">ones_1</span>
- </div>
- </tf-node-list-item>
- </div>
- </iron-list>
- <template is="dom-if" class="style-scope tf-node-info"></template>
- </div>
- <div class="sub-list-group successors style-scope tf-node-info">
- Outputs
- (<span class="style-scope tf-node-info">0</span>)
- <iron-list class="sub-list style-scope tf-node-info x-scope iron-list-0 has-scroller" id="outputsList">
- <array-selector id="selector" class="style-scope iron-list">
- </array-selector>
- <div id="items" class="style-scope iron-list" style="height: 0px;">
- <template class="style-scope tf-node-info"></template>
- <tf-node-list-item item-type="successor" class="style-scope tf-node-info x-scope tf-node-list-item-0" hidden="" style="transform: translate3d(0px, 0px, 0px);">
- <div id="list-item" class="style-scope tf-node-list-item clickable">
- <tf-graph-icon class="node-icon style-scope tf-node-list-item" height="12">
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- <template is="dom-if" class="style-scope tf-graph-icon"></template>
- </tf-graph-icon>
- <span class="style-scope tf-node-list-item"> </span>
- </div>
- </tf-node-list-item>
- </div>
- </iron-list>
- <template is="dom-if" class="style-scope tf-node-info"></template>
- </div>
- </div>
- <template is="dom-if" restamp="true" class="style-scope tf-node-info"></template>
- </iron-collapse>
- </tf-node-info>
- </paper-material>
- <template is="dom-if" class="style-scope tf-graph-info"></template>
- </tf-graph-info>
- </div>
- </div>
- </tf-graph-board>
- </div>
- </div>
- </tf-graph-basic>
- </divp>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement