onnx / onnx-tensorflow

Tensorflow Backend for ONNX
Other
1.26k stars 298 forks source link

[question] Why using `tf.compact.v1`? #1052

Closed IaroslavElistratov closed 1 year ago

IaroslavElistratov commented 1 year ago

Could anyone please clarify what is the reason for using tf.compact.v1.Session() in this training example? Could the same example be done in TF 2, or if this is not supported could you please explain why?