How to combine models and save weights of the single combined model
Say i have
```
enc = Enc()
enc.compile()
enc.load_weights()
dec= Enc()
dec.compile()
dec.load_weights()
inp = Input()
x = enc(inp)
out = dec(x)
auto_enc = Model(inp , out )
auto_enc.save_weights()
```
is there any way to do this in NNC?
关闭于 2023-12-09 4 条评论