mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 00:06:58 +08:00
pylint code refine & Fix nested example (#848)
* refine code by CI * fix argument error * fix nested eample
This commit is contained in:
@@ -554,7 +554,7 @@ class AdaRNN(nn.Module):
|
||||
return fc_out
|
||||
|
||||
|
||||
class TransferLoss(object):
|
||||
class TransferLoss:
|
||||
def __init__(self, loss_type="cosine", input_dim=512):
|
||||
"""
|
||||
Supported loss_type: mmd(mmd_lin), mmd_rbf, coral, cosine, kl, js, mine, adv
|
||||
|
||||
Reference in New Issue
Block a user