Skip to content

Tensorflow as a PHP extension (experimental)

License

Notifications You must be signed in to change notification settings

cenzige/tensile

 
 

Repository files navigation

Tensile

The tensile extension for PHP gives you an object-oriented system for utilising Google's Tensorflow Machine Learning (http://tensorflow.org) from within your PHP applications. Still not in fully working state & experimental builds.

Tensorflow 1.3.0-rc2 Build Status

Concept

The concept of this extension is to expose Tensorflow into PHP directly so you can run rules, training & the Tensorflow engine natively via PHP code. The coding structure replicates my work having SASS compile on the fly as a PHP extension.

Steps

  • Build a base test image to test this build process (Travis/Docker)
  • Build a shared library from Tensorflow that can then be wrapped into a PHP / Zend extension.
  • Refactor header classes from SASSPHP to deal with Tensorflow functions, variables & classes.
  • Refactor C/C++ code to allow PHP classes to talk directly / manage Tensorflow once it's wrapped in shared library
  • Build tests
  • Gnomes
  • Profit

About

Tensorflow as a PHP extension (experimental)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.9%
  • PHP 10.4%
  • C++ 1.4%
  • M4 0.3%