Comments (5)
Add this test works:
I believe the problem is that the data sources are hard-coded:
from ml.
But, it could also have something to do with the way other APIs are being constructed. For example, the points-to set for tf.ones()
is empty.
from ml.
Looking at the summary of tf.reshape()
, I see that there's a data copy:
ML/com.ibm.wala.cast.python.ml/data/tensorflow.xml
Lines 379 to 388 in ddba21e
That may mean if the data source has something wrong with it, any copied data would also have the problem. Thus, the problem may not be with the tf.reshape()
operation itself but rather with how data sources other than MNIST are constructed.
from ml.
That being said, copy_data()
in the above summary doesn't use its argument.
from ml.
Thus, my best guess is that the problem involves a combination of the (new) XML summaries and the hard-coded initialization of the dataflow.
from ml.
Related Issues (20)
- `tf.Tensor` used as a type is coming up as a tensor instance
- Importing a module on the PYTHONPATH doesn't work
- Importing a module for a package on a PYTHONPATH doesn't work
- Resolving relative imports does not consider the entire module path HOT 2
- No argument expansion for custom decorators with function parameters HOT 1
- Missing custom decorators with decorator parameters HOT 4
- Missing decorated functions whose decorators simply return the function HOT 4
- Log decorators being used
- Decorated functions specifying a PYTHONPATH don't show up in the call graph HOT 1
- Support TensorFlow unit test entrypoints
- Combine Pytest analysis classes with basic Python analysis
- Module initialization code not reflected in importing script
- Potentially redundant global read in IR stemming from `__init__.py` HOT 1
- Incorrect result value
- Support for data classes/`NamedTuple`s HOT 1
- Callable identification should be further up the analysis
- Incorrect import when there are two files with the same name but in different directories
- Missing cases for importing scripts from package initialization code
- Intermodule importing using `import` not working (`from ... import ...` works fine)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml.