Mehdi Amini
308571074c
Mass update the MLIR license header to mention "Part of the LLVM project"
...
This is an artifact from merging MLIR into LLVM, the file headers are
now aligned with the rest of the project.
2020-01-26 03:58:30 +00:00
Mehdi Amini
56222a0694
Adjust License.txt file to use the LLVM license
...
PiperOrigin-RevId: 286906740
2019-12-23 15:33:37 -08:00
Lei Zhang
eeadfbc170
Change getBroadcastedShape() to return result shape via parameter
...
This is a more efficient way than returning SmallVector directly.
PiperOrigin-RevId: 239407024
2019-03-29 17:25:38 -07:00
Lei Zhang
7972dcef84
Pull shape broadcast out as a stand-alone utility function
...
So that we can use this function to deduce broadcasted shapes elsewhere.
Also added support for unknown dimensions, by following TensorFlow behavior.
PiperOrigin-RevId: 237846065
2019-03-29 17:12:11 -07:00