Skip to content

Commit 1f463b4

Browse files
committed
Merge branch 'master' into 267-initial-tensor-dimensions-arent-always-accurate
2 parents 5e102b5 + 871c50a commit 1f463b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4613,8 +4613,8 @@ private void test(
46134613
Map<Integer, Set<TensorType>> expectedTensorParameterValueNumberToTypes)
46144614
throws ClassHierarchyException, CancelException, IOException {
46154615
List<File> pathFiles = this.getPathFiles(pythonPath);
4616-
PythonTensorAnalysisEngine E = makeEngine(pathFiles, projectFilenames);
4617-
PythonSSAPropagationCallGraphBuilder builder = E.defaultCallGraphBuilder();
4616+
PythonTensorAnalysisEngine engine = makeEngine(pathFiles, projectFilenames);
4617+
PythonSSAPropagationCallGraphBuilder builder = engine.defaultCallGraphBuilder();
46184618

46194619
addPytestEntrypoints(builder);
46204620

@@ -4630,10 +4630,10 @@ private void test(
46304630
LOGGER.fine("Call graph:\n" + CG);
46314631
}
46324632

4633-
TensorTypeAnalysis analysis = E.performAnalysis(builder);
4633+
TensorTypeAnalysis analysis = engine.performAnalysis(builder);
46344634
LOGGER.info("Tensor analysis: " + analysis);
46354635

4636-
Map<PointerKey, AnalysisError> errors = E.getErrors();
4636+
Map<PointerKey, AnalysisError> errors = engine.getErrors();
46374637

46384638
errors.forEach(
46394639
(k, v) ->

0 commit comments

Comments
 (0)