Closed TeaPoly closed 3 years ago
Is it possible to implement the function of gather log_probs [B,T,U,V]
,blank
and labels [B, U-1]
inside gather_log_probs [B,T,U,2]
with the CUDA C++ program?
@TeaPoly thank you! Sorry for long delay. gather_log_probs
looks amazing, and I think you have to use TF primitives which automatically support derivatives functions for training purpose.
I had implemented gather
log_probs
operation inside the warprnnt loss function. But it is really too complicated now. Because TensorFlow does not have any function liketorch.gather
, and this part will continue to be optimized in the future.