mirror of https://github.com/llvm/torch-mlir
Add tosa::getConstTensor with int8_t template (#3845)
Add tosa::getConstTensor with int8_t template used in https://github.com/llvm/torch-mlir/pull/3827pull/3849/head
parent
3104b66560
commit
6aa46967b6
|
@ -369,6 +369,10 @@ template std::optional<Value>
|
|||
getConstTensor<bool>(PatternRewriter &, Operation *, ArrayRef<bool> vec,
|
||||
ArrayRef<int64_t> shape, std::optional<Type> dtype);
|
||||
|
||||
template std::optional<Value>
|
||||
getConstTensor<int8_t>(PatternRewriter &, Operation *, ArrayRef<int8_t> vec,
|
||||
ArrayRef<int64_t> shape, std::optional<Type> dtype);
|
||||
|
||||
template std::optional<Value>
|
||||
getConstTensor<int32_t>(PatternRewriter &, Operation *, ArrayRef<int32_t> vec,
|
||||
ArrayRef<int64_t> shape, std::optional<Type> dtype);
|
||||
|
|
Loading…
Reference in New Issue