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
model = tf.keras.models.Sequential([tf.keras.layers.Dense(units=26, input_shape=(X_train.shape[1],), activation=tf.keras.activations.relu), | |
tf.keras.layers.Dense(units=26, activation=tf.keras.activations.sigmoid) | |
]) |
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
#!/bin/bash | |
echo "Go to https://wiki.osdev.org/Cross-Compiler_Successful_Builds to view the successful versions of gcc and binutils that worked" | |
sudo apt update | |
sudo apt install build-essential | |
sudo apt install libgmp3-dev libmpfr-dev libmpc-dev gcc | |
export PREFIX="/home/$USER/i386elfgcc" | |
export TARGET=i386-elf | |
export PATH="$PREFIX/bin:$PATH" |
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
# INSIDE WSL, install gdb (one-time instruction) | |
sudo apt install gdb | |
# Add the following to your kernel Makefile CFLAGS, so that gcc will generate | |
# debug symbols that the debugger can use | |
# Note: The thing being added is -g, so as of lesson 12 it should look like this. | |
# Delete all the contents of the lib folder to force a recompile | |
CFLAGS = -ffreestanding -fshort-wchar -g | |
# Add the following to your qemu invocation and start QEmu: |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Kernel", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "${workspaceRoot}/kernel/bin/kernel.elf", | |
"args": [], | |
"stopAtEntry": false, |