blob: 4e6ab570fd0cb3477c933432dd14bc401ac93760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from polymatrix.expression.impl.reshapeexprmixin import ReshapeExprImpl
from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin
def init_reshape_expr(
underlying: ExpressionBaseMixin,
new_shape: tuple,
):
return ReshapeExprImpl(
underlying=underlying,
new_shape=new_shape,
)
|