March 29, 2024, 4:15 a.m. | /u/R3nT3knikDK

Deep Learning www.reddit.com

I'm just experimenting with thoughts for fun and was wondering if this would work and if it might be useful?

[Dynamic Force Index Algorithm](https://www.reddit.com/r/deeplearning/comments/1bn69if/shedding_light_on_neural_networks_might_this/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button) to visualize the weights dynamics in each layer in real time?

# Implementations:

**Extraction and plotting of layer weights:**

DynamicWeightPlotting.py

import tensorflow as tf
import matplotlib.pyplot as plt
import numpy as np

class WeightExtractor(tf.keras.layers.Layer):
def __init__(self, **kwargs):
super(WeightExtractor, self).__init__(**kwargs)
self.supports_masking = True

def call(self, inputs, **kwargs):
return inputs # Pass through with no changes


def extract_and_flatten_weights(model): …

call class deeplearning dynamics extraction fun import keras layer matplotlib numpy plotting real-time tensorflow thoughts true work

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Data Architect

@ S&P Global | IN - HYDERABAD SKYVIEW

Data Architect I

@ S&P Global | US - VA - CHARLOTTESVILLE 212 7TH STREET