mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Fix sample code block formatting
Add missing colon to format sample code as a code block rather than a quote.
This commit is contained in:
parent
480efcf0ee
commit
86a1a6b1ee
@ -700,7 +700,7 @@ If you define a function that processes the input using operations that depend o
|
||||
the relative ordering of inputs (e.g. ``max``, ``greater``, ``argsort``, etc.) then
|
||||
you may be surprised to find that the gradient is everywhere zero.
|
||||
Here is an example, where we define `f(x)` to be a step function that returns
|
||||
`0` when `x` is negative, and `1` when `x` is positive:
|
||||
`0` when `x` is negative, and `1` when `x` is positive::
|
||||
|
||||
import jax
|
||||
import numpy as np
|
||||
|
Loading…
x
Reference in New Issue
Block a user