forked from mindspore-Ecosystem/mindspore
fix linear merge error for pangu model
This commit is contained in:
parent
dbbe870036
commit
d1123c9b20
|
@ -319,7 +319,7 @@ class _Linear(Cell):
|
|||
``Ascend`` ``GPU``
|
||||
"""
|
||||
|
||||
@cell_attr_register(attrs=['has_bias', 'in_channels', 'out_channels', 'shard_output', 'activation'])
|
||||
@cell_attr_register
|
||||
def __init__(self,
|
||||
in_channels,
|
||||
out_channels,
|
||||
|
|
Loading…
Reference in New Issue