Test page for show_doc when patching.
nbdev_build_docs
will fail for this nb
converting: /home/peter/github/pete88b/decision_tree/71_tensor_patch.ipynb
An error occurred while executing the following cell:
------------------
show_doc(Tensor.tsne)
------------------
NameError: name 'Tensor' is not defined
When converting a notebook, nbdev will run cells containing show_doc
or from LIB_NAME
style imports.
We can work around this by adding the following to imports.py
from fastai2.torch_basics import *
and putting this in the nb (anywhere before the show_doc
call)
from decision_tree.imports import *