This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://gist.githubusercontent.com/jpwiedekopf/8aed995d6f3e7912f815d0e7546b7f0d/raw/eeca3bba34e60dec54ae57fad42faad76310cd44/setup-terminfo-foot && chmod +x setup-terminfo-foot && ./setup-terminfo-foot && rm -v ./setup-terminfo-foot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
pki { | |
ca caddy { | |
name "SmICS App Local Authority" | |
root { | |
cert /caddy_ca/smics-uksh-ca.crt | |
key /caddy_ca/smics-uksh-ca.key | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
class CrossStitch(tf.keras.layers.Layer): | |
"""Cross-Stitch implementation according to arXiv:1604.03539 | |
Implementation adapted from https://github.com/helloyide/Cross-stitch-Networks-for-Multi-task-Learning""" | |
def __init__(self, num_tasks, *args, **kwargs): | |
"""initialize class variables""" |