yzbrlan / simpleflow

A simple TensorFlow-like graph computation framework in Python for learning purpose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleFlow

A simple TensorFlow-like graph computation framework in Python for learning purpose

Quick Start

import simpleflow as sf

# Create a graph
with sf.Graph().as_default():
    a = sf.constant(1.0, name='a')
    b = sf.constant(2.0, name='b')
    result = sf.add(a, b, name='a+b')

    # Create a session to run the graph 
    with sf.Session() as sess:
        print(sess.run(result))

Examples

Features

  • Computational Graph
  • Feed forward propagation
  • Backpropagation
  • GradientDescent Optimizer
  • Linear Regression Example
  • MNIST classification Example

Blogs

About

A simple TensorFlow-like graph computation framework in Python for learning purpose

License:MIT License


Languages

Language:Python 52.6%Language:Jupyter Notebook 47.4%