We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a479c commit 74b0ef4Copy full SHA for 74b0ef4
com.ibm.wala.cast.python.ml/source/com/ibm/wala/cast/python/ml/client/TensorGenerator.java
@@ -262,7 +262,7 @@ private Set<List<Dimension<?>>> getShapesOfValue(
262
for (InstanceKey valueIK : valuePointsToSet)
263
if (valueIK instanceof ConstantKey) ret.add(emptyList()); // Scalar value.
264
else if (valueIK instanceof AllocationSiteInNode) {
265
- AllocationSiteInNode asin = (AllocationSiteInNode) valueIK;
+ AllocationSiteInNode asin = getAllocationSiteInNode(valueIK);
266
TypeReference reference = asin.getConcreteType().getReference();
267
268
if (reference.equals(list)) {
0 commit comments