Skip to content

Commit

Permalink
[RELAY] Fix reshape header file (apache#7218)
Browse files Browse the repository at this point in the history
The header file definition of InferNewShape was
incorrect, this patch fixes it.

Change-Id: Id24b8eccb52323692fe88bdda46cc49cba54588c
  • Loading branch information
mbaret authored Jan 6, 2021
1 parent 040afb0 commit 1f931e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/relay/op/tensor/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,11 @@ static inline Array<Array<Layout>> ConcatenateLayout(const Attrs& attrs,
*
* \param data_shape The input data shape.
* \param attrs The attributes.
* \param reverse Whether to reverse the indices.
* \return Output shape.
*/
Array<IndexExpr> InferNewShape(const Array<IndexExpr>& data_shape, const Attrs& attrs);
Array<IndexExpr> InferNewShape(const Array<IndexExpr>& data_shape, const Attrs& attrs,
bool reverse);

} // namespace relay
} // namespace tvm
Expand Down

0 comments on commit 1f931e3

Please sign in to comment.