Skip to content

ThePauliPrinciple/SymFlow

Repository files navigation

#SymFlow A library to use SymPy expressions to define Keras layers.

Installation

pip install symflow

###Get started

import tensorflow as tf
from symflow import SymLayer,AddLayer
add=AddLayer()

x=tf.keras.layers.Input(1)
y=tf.keras.layers.Input(1)

Model=tf.keras.models.Model(inputs=[x,y],outputs=add([x,y]))
print(Model([[3],[3]]))
print(add([2,2]))

About

SymFlow Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages