"vscode:/vscode.git/clone" did not exist on "1717edaa8cddf5068df97e30404d85654f0b55f4"
Commit 3c419086 authored by Yeqing Li's avatar Yeqing Li Committed by A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 431983261
parent c44482ab
......@@ -61,7 +61,7 @@ def register(registered_collection, reg_key):
"Duplicate registeration of beta module "
"name %r new %r old %r", reg_key, collection[leaf_reg_key],
fn_or_cls.__module__)
return
return fn_or_cls
else:
raise KeyError("Function or class {} registered multiple times.".format(
leaf_reg_key))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment