Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions circle-mlir/circle-mlir/lib/dialect/src/ops/Conv2DOp.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ LogicalResult ComputeConvWindowedOutputSize(int64_t input_size, int64_t filter_s
}

LogicalResult Conv2DOp::inferReturnTypes(MLIRContext *, std::optional<Location> location,
ValueRange operands, DictionaryAttr attr, OpaqueProperties,
RegionRange, SmallVectorImpl<Type> &inferredReturnTypes)
ValueRange operands, DictionaryAttr attr,
OpaqueProperties properties, RegionRange,
SmallVectorImpl<Type> &inferredReturnTypes)
{
Conv2DOpAdaptor op(operands, attr);
Conv2DOpAdaptor op(operands, attr, properties);

const Value input = op.getInput();
const Value filter = op.getFilter();
Expand Down
4 changes: 2 additions & 2 deletions circle-mlir/circle-mlir/lib/dialect/src/ops/ReshapeOp.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ mlir::LogicalResult ReshapeOp::verify()

LogicalResult ReshapeOp::inferReturnTypes(MLIRContext *context, std::optional<Location> location,
ValueRange operands, DictionaryAttr attr,
OpaqueProperties, RegionRange,
OpaqueProperties properties, RegionRange,
SmallVectorImpl<Type> &inferredReturnTypes)
{
ReshapeOpAdaptor op(operands, attr);
ReshapeOpAdaptor op(operands, attr, properties);
const Value input = op.getInput();
const Value shape = op.getShape();

Expand Down