RubixML / ML

A high-level machine learning and deep learning library for the PHP language.
https://rubixml.com
MIT License
2.03k stars 182 forks source link

rubix/tensor uses same classes as scienide/tensor #183

Open marcuus opened 3 years ago

marcuus commented 3 years ago

Kia ora Im trying to install rubix/tensor but get the following warnings and error.

Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorAddOptimizer" was found 2x: in "D:/www/hippodromus/vendor/scienide/tensor/optimizers/TensorAddOptimizer.php" and "D:/www/hippodromus/vendor/rubix/tensor/optimizers\TensorAddOptimizer.php", the first will be used.

[ErrorException] Constant tensor\EPSILON already defined

Is scienide/tensor a replacement for rubix/tensor?

Thanks Nga mihi Mark

andrewdalpino commented 3 years ago

Is scienide/tensor a replacement for rubix/tensor?

We've moved the development of Tensor to a repository outside of Rubix since it can apply to many areas of computing not just machine learning. Since ML 1.1, the library uses the Scienide fork of Tensor.

https://github.com/RubixML/ML/releases/tag/1.1.0