ProGamerGov
ProGamerGov
@SSeanHsu > It is really an interesting way to add mask. It is fun to think about Yea, it's definitely an upgrade over the black and white only masks that...
@SSeanHsu How the progress coming with the Receptive Field Spatial Control? Is it the same thing as the "eroded guidance channels" talked about in Gatys' "[Controlling Perceptual Factors in Neural...
Was a solution ever found for this issue?
We might have to implement it ourselves via a PR. This looks like the code for the extension: https://github.com/sphinx-doc/sphinx/blob/5.x/sphinx/ext/intersphinx.py
> Here's another workaround... You could attach to [`autodoc-process-docstring`](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#event-autodoc-process-docstring) and find `"np."` and replace it with `"numpy."`. That would then add a link to `numpy.ndarray` in your docs. Do you...
@mhostetter Thank you! Is there an easy way to do something similar in the doc string and parameter descriptions as well? Like making this: ``` """ :func:`F.interpolate` """ ``` Equivalent...
@mhostetter Ah, okay. Thanks for the help! ``` from typing import Callable import torch import torch.nn as nn def test_func(x: torch.Tensor, test_module: nn.Module, test_fn: Callable) -> torch.Tensor: """ Description of...
@mhostetter You don't need to use `autodoc_typehints = "short"`, and you can change the link to say whatever you want. For example: ``` lines[i] = lines[i].replace("Callable", ":obj:`Callable `") lines[i] =...
I've discovered a new issue. When manually adding `:obj:` or `:class:` to the docstring types, they are no longer formatted as italics. Yet somehow Sphinx is able to implicitly hyperlink...