public class ReshapeInfo
extends java.lang.Object
| Constructor and Description |
|---|
ReshapeInfo(java.lang.String array_name,
int dimension,
java.util.List<java.lang.Integer> kept_dimensions)
Constructs a new ReshapeInfo object with all its needed information.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArrayName()
Get the extracted array name.
|
java.util.List<java.lang.Integer> |
getKeptDimensions()
Get the extracted kept dimension as a list of strings.
|
int |
getTargetDimension()
Get the target dimension extracted from the reshape clause.
|
public ReshapeInfo(java.lang.String array_name,
int dimension,
java.util.List<java.lang.Integer> kept_dimensions)
array_name - Identifier of the array.dimension - Number of dimension after reshape transformation.kept_dimensions - Optional, if target dimension is bigger than 0 then
this list informs which dimension is preserved.public java.lang.String getArrayName()
public int getTargetDimension()
public java.util.List<java.lang.Integer> getKeptDimensions()