Skip to content

Instantly share code, notes, and snippets.

View Lqlsoftware's full-sized avatar
💻
I may be slow to respond.

Reginald Lu Lqlsoftware

💻
I may be slow to respond.
  • Tencent
  • Beijing
View GitHub Profile
# IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX
#
# WIP research. (This was edited to add more info after someone posted it to
# Hacker News. Click "Revisions" to see full changes.)
#
# Copyright (c) 2020 dougallj
# Based on Python port of VMX intrinsics plugin:
# Copyright (c) 2019 w4kfu - Synacktiv
@endolith
endolith / DFT_ANN.py
Last active November 11, 2025 11:25
Training neural network to implement discrete Fourier transform (DFT/FFT)
"""
Train a neural network to implement the discrete Fourier transform
"""
import matplotlib.pyplot as plt
import numpy as np
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential
N = 32
batch = 10000