java
java copied to clipboard
tensorflow-java tensor operand[T] need some feature could implicit convert to Breeze DenseMatrix like numpy in python?
Hi: In tensorflow-java ,some matrix operate methond is not support ,so need use breeze DenseMatrix ,but can not implicit convert to like numpy in python . Now we need to make tensorflow-java environment suitable with scala or java with the Matrix or Vector Operation.
You should be able to wrap a Breeze DenseMatrix around the array you get out of a tensor. If you want it to be extremely efficient then that will be tricky as Tensors are stored off heap and Breeze matricies are on heap (as far as I can tell).