Home
last modified time | relevance | path

Searched refs:reshapeOutputShape (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaMakeBroadcastable.cpp44 SmallVectorImpl<int64_t> &reshapeOutputShape) { in computeReshapeOutput() argument
49 reshapeOutputShape.assign(higherRank, 1); in computeReshapeOutput()
60 reshapeOutputShape[i] = 1; in computeReshapeOutput()
63 reshapeOutputShape[i] = lowerRankDim; in computeReshapeOutput()
107 SmallVector<int64_t, 4> reshapeOutputShape; in reshapeLowerToHigher() local
109 if (computeReshapeOutput(higherRankShape, lowerRankShape, reshapeOutputShape) in reshapeLowerToHigher()
115 ArrayRef<int64_t>(reshapeOutputShape), reshapeInputType.getElementType()); in reshapeLowerToHigher()
119 if (outputType.getShape().size() != reshapeOutputShape.size() || in reshapeLowerToHigher()
126 rewriter.getI64ArrayAttr(reshapeOutputShape)); in reshapeLowerToHigher()