I hereby claim:
- I am roryofbyrne on github.
- I am rorytbyrne (https://keybase.io/rorytbyrne) on keybase.
- I have a public key ASBWDdK9KD1aeMiueUaxH2IeEm5MHkvp05AOHmkwKRgCAwo
To claim this, I am signing this object:
declare module '@xstyled/emotion' { | |
import styled_, { StyledComponent } from '@emotion/styled' | |
export * from '@emotion/core' | |
/// Theme Type /// | |
type Theme = object; // Default theme {} | |
// ** Uncomment to use your custom theme ** | |
// import customTheme from 'path/to/your/theme' |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<?latexml searchpaths="/home/rory/projects/personal/notpaper/docs,/home/rory/projects/personal/notpaper"?> | |
<!-- %This is a simple sample document. For more complicated documents take a look in the excersice tab. Note that everything that comes after a % symbol is treated as comment and ignored when the code is compiled. --><?latexml class="article"?> | |
<?latexml package="amsmath"?> | |
<!-- %Sets article title --><!-- %Sets authors name --><!-- %Sets date for date compiled --><!-- %The preamble ends with the command “begin–document˝ --><?latexml RelaxNGSchema="LaTeXML"?> | |
<document xmlns="http://dlmf.nist.gov/LaTeXML" class="ltx_authors_1line"> | |
<resource src="LaTeXML.css" type="text/css"/> | |
<resource src="ltx-article.css" type="text/css"/> | |
<title>Simple Sample</title> | |
<creator role="author"> |
"""A function to generate a modular connectivity mask. | |
You can use it to mask a weight matrix, and then mask the gradients using a hook to fully disable those connections. | |
self.hh = Parameter(torch.normal(...)) | |
mask = hierarchical_modular_mask(200, level=3, density=0.05, scale=2.0) | |
self.hh.data *= mask | |
self.hh.register_hook(lambda grad: grad * mask) | |
""" |