Closed alvinsunyixiao closed 3 years ago
@alvinsunyixiao Those tensorlist ops has been added, you might need to wait for next release, hopeful it can be done this week.
Closing this , feel free to reopen if you see any issue after the release happens.
TensorFlow.js
2.0.1
Browser
Chrome 83.0.4103.116
Problem Description
I am trying to implement a real-time interactive high-dimensional ODE simulation tool with
tfjs
. My approach is by defining the complicated computation in Python and generate TF Model as computation graphs, and then trigger the simulation step in JavaScript by performing inference on the saved graph (TF Saved Model). I run into this error when runningtensorflowjs_converter
on a custom model. I believetensorflow_probability.math.ode.DormandPrince.solve
in my model introduced those unsupported ops.Feature Request
I am hoping if
TensorListFromTensor
can be supported. However, I am not entirely sure if the root cause of the problem isTensorListFromTensor
. According to this, it seems like the other 2 ops (TensorListStack
andTensorListReserve
) are actually supported by the latest release, but the error message still indicates that they are unsupportedCode to reproduce the Problem
Below is an ODE for simulating a toy version microfluidic equation. The code will save the computation graph to
<saved_model_path>
.And then calling the following conversion script triggers this error.