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
# Copyright(C) 2022-2023 Gordian Edenhofer | |
# SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause | |
from functools import partial | |
import jax | |
from jax import lax | |
from jax import numpy as jnp | |
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
# %% | |
from functools import partial | |
from typing import NamedTuple, Optional, Tuple, Union | |
import jax | |
from jax import lax | |
from jax import numpy as jnp | |
N_RESET = 20 |
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
#!/usr/bin/env python3 | |
from functools import partial | |
from jax import vmap, jit | |
from jax import numpy as jnp | |
def _det(mat, n_dim=None): | |
import numpy as np |
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
#!/usr/bin/env python3 | |
from jax import numpy as jnp | |
import numpy as np | |
from scipy.interpolate import RegularGridInterpolator as _si_RegularGridInterpolator | |
class RegularGridInterpolator: | |
# Based on SciPy's implementation which in turn is originally based on an | |
# implementation by Johannes Buchner |
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
--- TLP 1.0 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
TLP_DEFAULT_MODE=AC | |
TLP_PERSISTENT_DEFAULT=0 | |
DISK_IDLE_SECS_ON_AC=0 | |
DISK_IDLE_SECS_ON_BAT=2 | |
MAX_LOST_WORK_SECS_ON_AC=15 | |
MAX_LOST_WORK_SECS_ON_BAT=60 |
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
#!/usr/bin/bash | |
# | |
# downgrade: downgrade packages using pacman's database and system log files | |
# | |
# Copyright (c) 2008 locci <carlocci_at_gmail_dot_com> | |
# Copyright (c) 2008-2016 Pacman Development Team <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |
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
From 9738b5ebd677ec5fff3be4ba83e76488b66f076b Mon Sep 17 00:00:00 2001 | |
From: Gordian Edenhofer <[email protected]> | |
Date: Tue, 26 Jul 2016 15:05:18 +0200 | |
Subject: [PATCH] Fix compilation errors encountered with kernel 4.6 | |
Inspired by Rene Ploetz's <[email protected]> patch for chenhaiq's repository. | |
Signed-off-by: Gordian Edenhofer <[email protected]> | |
--- | |
chips/mt76x0.c | 2 +- |