MCPcopy Create free account
hub / github.com/microsoft/Cream / __init__

Method __init__

TinyViT/models/tiny_vit.py:54–56  ·  view source on GitHub ↗
(self, drop_prob=None)

Source from the content-addressed store, hash-verified

52
53class DropPath(TimmDropPath):
54 def __init__(self, drop_prob=None):
55 super().__init__(drop_prob=drop_prob)
56 self.drop_prob = drop_prob
57
58 def __repr__(self):
59 msg = super().__repr__()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected