Skip to main content

Library for using SymPy expressions as Keras layers.

Project description

#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]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SymFlow-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SymFlow-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file SymFlow-0.1.0.tar.gz.

File metadata

  • Download URL: SymFlow-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for SymFlow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6ccc9eaf7ae82adaff26b810e0c2d64fde17fa92f9fbf318cbaca7537095dbc
MD5 0b84bd3582ebf139abc81148595ec556
BLAKE2b-256 dd96089898cd64f9c78edac341f7ae5daf9c2b1b01d3bceb32e355373dd949b1

See more details on using hashes here.

File details

Details for the file SymFlow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: SymFlow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for SymFlow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 558a0f1b5f66acd7f79a18ed380734da33c0a526bf1a5279c1a89180be623b4c
MD5 2fb4f24e16568bf0e3ce2659712c5ba3
BLAKE2b-256 695ce2ed2e69f43766c11b20446cc9cca4a8d1fede6e1cfaa0796fe97c11cc53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page