From 4fe64cda7490fa77d35419d239dee540501d7738 Mon Sep 17 00:00:00 2001 From: Google AI Edge Date: Tue, 5 Nov 2024 02:43:22 -0800 Subject: [PATCH] Add no_value into the hide_op The `no_value` op is commonly used in the bias of the fully_connected node. We should hide it as the pseudo_const op to simplify the output graph. PiperOrigin-RevId: 693272392 --- src/ui/src/services/settings_service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/src/services/settings_service.ts b/src/ui/src/services/settings_service.ts index e2199232..3c9dd30d 100644 --- a/src/ui/src/services/settings_service.ts +++ b/src/ui/src/services/settings_service.ts @@ -84,7 +84,7 @@ export const SETTING_HIDE_OP_NODES_WITH_LABELS: Setting = { label: 'Hide op nodes with labels below (comma separated)', key: SettingKey.HIDE_OP_NODES_WITH_LABELS, type: SettingType.TEXT_MULTILINE, - defaultValue: 'Const,pseudo_const,pseudo_qconst,ReadVariableOp', + defaultValue: 'Const,pseudo_const,pseudo_qconst,no_value,ReadVariableOp', help: 'Removes op nodes from model graphs if their label matches any ' + 'of the labels entered below.',