|
Safemotion Lib
|
Public Member Functions | |
| __init__ (self, h_ratio, w_ratio) | |
| forward (self, x) | |
Public Attributes | |
| h_ratio | |
| w_ratio | |
ref: https://github.com/daizuozhuo/batch-dropblock-network/blob/master/models/networks.py batch drop mask
Definition at line 12 of file batch_drop.py.
| fastreid.layers.batch_drop.BatchDrop.__init__ | ( | self, | |
| h_ratio, | |||
| w_ratio ) |
Definition at line 17 of file batch_drop.py.
| fastreid.layers.batch_drop.BatchDrop.forward | ( | self, | |
| x ) |
Definition at line 22 of file batch_drop.py.
| fastreid.layers.batch_drop.BatchDrop.h_ratio |
Definition at line 19 of file batch_drop.py.
| fastreid.layers.batch_drop.BatchDrop.w_ratio |
Definition at line 20 of file batch_drop.py.