mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-22 04:56:41 +08:00
reformatted by pre-commit black
This commit is contained in:
parent
4d3c451b3f
commit
6c3c16e07b
@ -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