I've just merged a prototype for direct tensorflow...
# mathematics
a
I've just merged a prototype for direct tensorflow integration with KMath. Here is the example test: https://github.com/mipt-npm/kmath/blob/dev/kmath-tensorflow/src/test/kotlin/space/kscience/kmath/tensorflow/DoubleTensorFlowOps.kt. It allows to perform lazy (graph) operations on tensors without passing objects through the native boundary on each operation. It also allows seamless integration with other KMath StructureND bindings. It is bare-bones right now, so we are looking forward to contributions. It is very easy to add operations as extensions (https://github.com/mipt-npm/kmath/blob/dev/kmath-tensorflow/src/main/kotlin/space/kscience/kmath/tensorflow/tfOperations.kt)
🔥 3
K 2
tensorflow 2