File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tensorboard/plugins/graph/tf_graph_common Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 173173 _getType : function ( inputNode , isSummary , isConst , inputType ) {
174174 const { GraphIconType} = tf . graph . icon ;
175175 if ( inputNode ) {
176- switch ( tf . graph . NodeType [ inputNode . type ] ) {
176+ switch ( inputNode . type ) {
177177 case tf . graph . NodeType . OP : {
178178 const opName = inputNode . op ;
179179 // TODO(tensorboarad-team): `op` should have a predictable type.
214214 const { node, renderInfo, colorBy, templateIndex} = this ;
215215 const ns = tf . graph . scene . node ;
216216 if ( newFill !== oldFill ) {
217- ns . removeGradientDefinitions ( this . $ . icon . getSvgDefineableElement ( ) ) ;
217+ ns . removeGradientDefinitions ( this . $ . icon . getSvgDefinableElement ( ) ) ;
218218 }
219219 if ( node && renderInfo && colorBy && templateIndex ) {
220220 const nsColorBy = ns . ColorBy [ colorBy . toUpperCase ( ) ] ;
223223 nsColorBy ,
224224 renderInfo ,
225225 false ,
226- this . $ . icon . getSvgDefineableElement ( )
226+ this . $ . icon . getSvgDefinableElement ( )
227227 ) ;
228228 }
229229 } ,
You can’t perform that action at this time.
0 commit comments