This file contains hidden or 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 functools | |
| import warnings | |
| from collections.abc import Callable | |
| from typing import Any, NamedTuple, Optional, Union | |
| import chex | |
| import jax | |
| import jax.numpy as jnp | |
| import optax.tree | |
| from jax import nn |
This file contains hidden or 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 | |
| import subprocess | |
| import os | |
| import sys | |
| def launch(): | |
| # Ensure python binary and script path are correct | |
| cmd = [sys.executable, 'telnet_shell.py'] | |
| # start_new_session=True → child is in a new session group | |
| # stdout/stderr can go to log files or /dev/null |
OlderNewer