Sign inSign up

absalomedia/tensile

By absalomedia

•Updated about 10 years ago

Tensile: Tensorflow as PHP extension

Image
0

395

absalomedia/tensile repository overview

⁠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.12.0 Build Status Patreon

⁠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 off Tensorflow.
  • 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
  • Build PHP stub
  • Profit

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

about 10 years ago

docker pull absalomedia/tensile