Remove some undefined behavior in DynamicStitchOp
Zero-sized tensors ended up dereferencing and immediately taking the address of a null pointer, then not using the result. Removes the dereference to appease ubsan. (Previously the indexing was &element(0, 0), which regardless of row/column major should map to index 0) PiperOrigin-RevId: 211989827
Loading
Please sign in to comment