Skip to content

Instantly share code, notes, and snippets.

View hxtruong6's full-sized avatar
🏠
Working from home

Hoàng Xuân Trường hxtruong6

🏠
Working from home
  • Ho Chi Minh City
View GitHub Profile
@hxtruong6
hxtruong6 / Screen commnd.md
Created November 14, 2023 02:56
Screen commnd

Screen

Screen package in Linux will create new terminal from current terminal and keep the connection without disconnect automatically.

install:

sudo apt-get update
sudo apt-get install screen

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

def net2deeper(weights):
'''
:param weights: numpy array has shape(inp_size, out_size). input_size and out_size are number of units from source
to destination layer
:return:
'''
_, out = weights.shape
new_weights = np.array(np.eye(out))
new_bias = np.zeros((out,))