fastbook
fastbook copied to clipboard
Update utils.py
Fix plot_function by adding a steps parameter to torch.linspace. Currently plot_function throws a TypeError: linspace() missing 1 required positional arguments: "steps"
This fixes the issue referenced in https://github.com/fastai/fastbook/issues/399 (init.py deprecation warning for linspace usage #399)