Open borinstein opened 1 year ago
Hi, @borinstein
Apologize for the delayed response and I checked official documentation which ops we support currently for tensorflowjs_converter
and I see there is tf.unsortedSegmentSum op available I'm not sure whether it will fulfil requirement of this op SegmentSum
and for other op SparseReorder
at the moment we don't support so that op will be considered as feature request so May I know are you looking both the ops as feature request in the tensorflowjs_converter
? Thank you!
Hi, @gaikwadrahul8.
Thanks for the very rapid response!
Yes, we were hoping that adding both the SegmentSum
and SparseReorder
ops could be considered as a feature request in the tensorflowjs_converter
.
I believe that we encounter SegmentSum
in our graph by use of tf.nn.safe_embedding_lookup_sparse with sum
specified as the combiner; I'm not sure how we could eliminate the use of the SegmentSum
and still use that embedding approach, but I'd definitely be open to suggestions!
Hi, @borinstein
Alright, thank you for the confirmation and now I'm assigning this feature request to dedicated developer team and they'll take appropriate action from their end on the basis of priority and bandwidth so at the moment we're unable to give estimated time for this feature request. Thank you!
@gaikwadrahul8 thank you very much for considering this request!
System information
Describe the feature and the current behavior/state.
Unsupported Ops:
SegmentSum
andSparseReorder
Hi TF.js team,
We have a TF SavedModel which we'd like to convert, using the
tensorflowjs_converter
, for use with TF.js.When attempting to run the following code to convert the model...
...we get the following error:
Please see saved_model.zip for a toy model which can be used to reproduce the error.
Question: per the guidance at https://www.tensorflow.org/js/tutorials/conversion/import_saved_model#supported_operations, would it be possible to add support for these two ops to TensorFlow.js?
Please let me know if you need any more information.
Thanks in advance!
Will this change the current api? How? It will add SparseReorder and SegmentSum
Who will benefit with this feature? Anyone who wishes to convert and use a model contain SparseReorder or SegmentSum ops
Any Other info.