Files
Raptor/src/PIM/Conversion/ONNXToSpatial/Common/ContractionProblem.hpp
T
NiccoloN 10b6ee6c32
Validate Operations / validate-operations (push) Has been cancelled
big refactor
2026-08-04 11:28:05 +02:00

27 lines
529 B
C++

#pragma once
#include "mlir/IR/BuiltinTypes.h"
#include "llvm/ADT/SmallVector.h"
#include <cstdint>
namespace onnx_mlir {
struct ContractionProblem {
llvm::SmallVector<int64_t> lhsBatchShape;
llvm::SmallVector<int64_t> rhsBatchShape;
llvm::SmallVector<int64_t> outputBatchShape;
int64_t lhsBatch = 1;
int64_t rhsBatch = 1;
int64_t batch = 1;
int64_t m = 0;
int64_t k = 0;
int64_t n = 0;
mlir::Type lhsElementType;
mlir::Type rhsElementType;
mlir::Type resultElementType;
};
} // namespace onnx_mlir