Open Gryfit opened 4 years ago
As in Java API: https://github.com/tensorflow/tensorflow/issues/8244
For the specific reason (not mentioned in tensorflow/tensorflow#8244) why Tensor#create(Object) is so slow:
Tensor#create(Object)
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Tensor.java#L142
which points to recursion invoked in loop:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Tensor.java#L759
As in Java API: https://github.com/tensorflow/tensorflow/issues/8244