Skip to content

Commit

Permalink
Add no_value into the hide_op
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Google AI Edge authored and copybara-github committed Nov 5, 2024
1 parent a48865d commit 4fe64cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/services/settings_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit 4fe64cd

Please sign in to comment.