adabn
AdaBN
¶
Bases: BaseAdapter
Wraps AdaBNHook.
Container | Required keys |
---|---|
models | ["G", "C"] |
Source code in pytorch_adapt\adapters\adabn.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
__init__(*args, inference_fn=None, **kwargs)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inference_fn |
Default is adabn_fn |
None
|
Source code in pytorch_adapt\adapters\adabn.py
17 18 19 20 21 22 23 |
|