validate
validate_hook(hook, available_keys=None, depth=0, model_counts=None)
¶
  Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| hook | the hook to validate | required | |
| available_keys | a list of keys that the context will start with. | None | 
Returns:
| Type | Description | 
|---|---|
| Dict[str, int] | A dictionary with each model's  | 
Source code in pytorch_adapt\hooks\validate.py
        | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |  |