mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
Reformat through pre-commit/black
This commit is contained in:
parent
9ca34c6287
commit
5952ebcb92
@ -88,5 +88,3 @@ class Dropout2d(Module):
|
|||||||
|
|
||||||
mask = mx.random.bernoulli(p=self._p_1, shape=mask_shape)
|
mask = mx.random.bernoulli(p=self._p_1, shape=mask_shape)
|
||||||
return (1 / self._p_1) * mask * x
|
return (1 / self._p_1) * mask * x
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user