Skip to content

Commit

Permalink
Update API_DESIGN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWood committed Jun 10, 2022
1 parent 3af1e34 commit 83af1fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/API_DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ New preprocessing layers should be consistent with these decisions.

- Import symbols from top level namespaces in code samples (usage docstring for example).

So, prefer:
Prefer:

```py
```python
import keras_cv.layers.StochasticDepth
```

Instead of:
to:

```py
```python
keras_cv.layers.regularization.stochastic_depth.StochasticDepth
```

0 comments on commit 83af1fc

Please sign in to comment.