Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
feifei-111 committed Sep 25, 2023
1 parent 84ae86e commit bc351d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sot/opcode_translator/executor/variable_dispatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def dispatch_dict_fromkeys(seq: ListVariable | TupleVariable, default: VariableB
# len
Dispatcher.register(
len,
("ContainerVariable | PaddleLayerVariable",),
("ContainerVariable | UserDefinedLayerVariable",),
lambda var: var.len(),
)
# hasattr
Expand Down

0 comments on commit bc351d2

Please sign in to comment.