File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
tensorboard/plugins/graph/tf_graph_controls Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1340,19 +1340,31 @@ class TfGraphControls extends LegacyElementMixin(
1340
1340
let minValue = params . minValue ;
1341
1341
let maxValue = params . maxValue ;
1342
1342
if ( colorBy === ColorBy . MEMORY ) {
1343
+ // TODO: go/ts51upgrade - Auto-added to unblock TS5.1 migration.
1344
+ // TS2322: Type 'string' is not assignable to type 'number'.
1345
+ // @ts -ignore
1343
1346
minValue = tf_graph_util . convertUnitsToHumanReadable (
1344
1347
minValue ,
1345
1348
tf_graph_util . MEMORY_UNITS
1346
1349
) ;
1350
+ // TODO: go/ts51upgrade - Auto-added to unblock TS5.1 migration.
1351
+ // TS2322: Type 'string' is not assignable to type 'number'.
1352
+ // @ts -ignore
1347
1353
maxValue = tf_graph_util . convertUnitsToHumanReadable (
1348
1354
maxValue ,
1349
1355
tf_graph_util . MEMORY_UNITS
1350
1356
) ;
1351
1357
} else if ( colorBy === ColorBy . COMPUTE_TIME ) {
1358
+ // TODO: go/ts51upgrade - Auto-added to unblock TS5.1 migration.
1359
+ // TS2322: Type 'string' is not assignable to type 'number'.
1360
+ // @ts -ignore
1352
1361
minValue = tf_graph_util . convertUnitsToHumanReadable (
1353
1362
minValue ,
1354
1363
tf_graph_util . TIME_UNITS
1355
1364
) ;
1365
+ // TODO: go/ts51upgrade - Auto-added to unblock TS5.1 migration.
1366
+ // TS2322: Type 'string' is not assignable to type 'number'.
1367
+ // @ts -ignore
1356
1368
maxValue = tf_graph_util . convertUnitsToHumanReadable (
1357
1369
maxValue ,
1358
1370
tf_graph_util . TIME_UNITS
You can’t perform that action at this time.
0 commit comments