How to efficiently assign to a slice of a tensor in TensorFlow
How to efficiently assign to a slice of a tensor in TensorFlow Question: I want to assign some values to slices of an input tensor in one of my model in TensorFlow 2.x (I am using 2.2 but ready to accept a solution for 2.1). A non-working template of what I am trying to do …