def const_shape_tensor(arg): return shape.ConstShapeOp( DenseElementsAttr.get(np.array([10, 20])))
def const_shape_tensor(arg): return shape.ConstShapeOp( DenseElementsAttr.get(np.array([10, 20], dtype=np.int64), type=IndexType.get()))
def const_shape_tensor(arg): return shape.ConstShapeOp( RankedTensorType.get((2, ), indexT), DenseElementsAttr.get(np.array([10, 20])))