Skip to content

Instantly share code, notes, and snippets.

@endolith
endolith / FIR_filter_NN.py
Last active February 6, 2024 19:15
Neural network learning FIR filter
"""
Train a neural network to learn an FIR filter.
Created on Fri Aug 3 15:00:40 2018
"""
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
from tensorflow.keras.callbacks import Callback
import numpy as np
from scipy import signal