Raffi Khatchadourian
Raffi Khatchadourian
Assume the following file structure from https://github.com/YunYang1994/TensorFlow2.0-Examples: ``` $ find . -name main.py ./3-Neural_Network_Architecture/main.py ./4-Object_Detection/mAP/main.py ./4-Object_Detection/MTCNN/main.py ``` AFAICT, a call graph for only one of the `main.py` scripts is being...
Missing [`experimental_distribute_datasets_from_function`](https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/distribute/Strategy#experimental_distribute_values_from_function) Called here: https://github.com/mead-ml/mead-baseline/blob/5d7632bb151c2d09501ebf49f36ba8c4204df4c8/mead/api_examples/pretrain_discrim_tf.py#L307 The callback function is `dataset_test_fn`, defined here: https://github.com/mead-ml/mead-baseline/blob/master/mead/api_examples/pretrain_discrim_tf.py#L301-L306 But that function doesn't show up in the call graph. The method reference should be: `< PythonLoader,...
We should have a seperate list for each of these attributes. https://github.com/wala/ML/blob/16acfbcf22c66a220176c1b95d30e7026c7231b2/com.ibm.wala.cast.python.ml/data/tensorflow.xml#L749-L755
Replacing `com.ibm.wala.cast.python.jython.test` with `com.ibm.wala.cast.python.jython3.test` as a dependency in `com.ibm.wala.cast.python.ml.test/pom.xml` causes `com.ibm.wala.cast.python.ml.test.TestNeuroImageExamples.testEx1CG` to fail. Specifically, tensor dimensions aren't being calculated because Jython3 is not doing a constant propagation that Jython is...
For [`experimental_distribute_datasets_from_function`](https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/distribute/Strategy#experimental_distribute_values_from_function), that function: > Generates [tf.distribute.DistributedValues](https://www.tensorflow.org/api_docs/python/tf/distribute/DistributedValues) from value_fn. Tracking `DistributedValues` isn't currently supported. _Originally posted by @khatchad in https://github.com/wala/ML/issues/92#issuecomment-1839575322_
I am getting a class cast exception when trying to use `TypeInference` on Python code. The instruction causing the exception is as follows: ``` s PythonInvokeInstruction (id=106) 10 = invokeFunction...
I am seeing in the logs multiple SSA variables corresponding to a single Python variable being added as tensor dataset sources. This might be okay; dataset sources aren't really the...
There are situations where a TF API, e.g., `tf.nn.relu()`, can "generate" a tensor and have one just "pass through." In the summary representation, there isn't a way to express this,...
Related to https://github.com/wala/ML/issues/89. We actually mention this problem in #89: ```python import tensorflow as tf def add(a, b): return a + b list = list() list.append(tf.ones([1, 2])) list.append(tf.ones([2, 2])) for...
Consider the following code: ```python # From https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/GradientTape#gradient x = tf.ragged.constant([[1.0, 2.0], [3.0]]) with tf.GradientTape() as g: g.watch(x) y = x * x # HERE g.gradient(y, x) ``` Consider the...