Open ytgui opened 5 years ago
// function define
func @mul(%A: tensor<100x?xf32>, %B: tensor<?x50xf32>) -> (tensor<100x50xf32>) {
...
}
// Compute the inner dimension of %A using the dim operation. %n = dim %A, 1 : tensor<100x?xf32>
// Allocate addressable "buffers" and copy tensors %A and %B into them. %A_m = alloc(%n) : memref<100x?xf32> tensor_store %A to %A_m : memref<100x?xf32>
No time and interest on this project, so close it.
https://github.com/tensorflow/mlir
https://github.com/bosskwei/temp/issues/29 https://github.com/bosskwei/temp/issues/31 https://github.com/bosskwei/temp/issues/35
2020.01 now mlir become part of llvm, reopen this issue