|
32 | 32 | <putfield class="LRoot" field="distribute" fieldType="LRoot" ref="x" value="distribute" /> |
33 | 33 | <new def="nn" class="Lobject" /> |
34 | 34 | <putfield class="LRoot" field="nn" fieldType="LRoot" ref="x" value="nn" /> |
| 35 | + <new def="math" class="Lobject" /> |
| 36 | + <putfield class="LRoot" field="math" fieldType="LRoot" ref="x" value="math" /> |
35 | 37 | <new def="random" class="Lobject" /> |
36 | 38 | <putfield class="LRoot" field="random" fieldType="LRoot" ref="x" value="random" /> |
37 | 39 | <new def="sparse" class="Lobject" /> |
|
59 | 61 | <putfield class="LRoot" field="numpy_input_fn" fieldType="LRoot" ref="inputs" value="numpy_input_fn" /> |
60 | 62 | <new def="from_tensor_slices" class="Ltensorflow/data/Dataset/from_tensor_slices" /> |
61 | 63 | <putfield class="LRoot" field="from_tensor_slices" fieldType="LRoot" ref="Dataset" value="from_tensor_slices" /> |
| 64 | + <new def="from_generator" class="Ltensorflow/data/Dataset/from_generator" /> |
| 65 | + <putfield class="LRoot" field="from_generator" fieldType="LRoot" ref="Dataset" value="from_generator" /> |
62 | 66 | <new def="reshape" class="Ltensorflow/functions/reshape" /> |
63 | 67 | <putfield class="LRoot" field="reshape" fieldType="LRoot" ref="x" value="reshape" /> |
64 | 68 | <new def="conv2d" class="Ltensorflow/functions/conv2d" /> |
|
67 | 71 | <putfield class="LRoot" field="conv2d" fieldType="LRoot" ref="layers" value="conv2d" /> |
68 | 72 | <new def="conv3d" class="Ltensorflow/functions/conv3d" /> |
69 | 73 | <putfield class="LRoot" field="conv3d" fieldType="LRoot" ref="nn" value="conv3d" /> |
| 74 | + <new def="softmax" class="Ltensorflow/functions/softmax" /> |
| 75 | + <putfield class="LRoot" field="softmax" fieldType="LRoot" ref="nn" value="softmax" /> |
| 76 | + <new def="sigmoid" class="Ltensorflow/math/sigmoid" /> |
| 77 | + <putfield class="LRoot" field="sigmoid" fieldType="LRoot" ref="nn" value="sigmoid" /> |
| 78 | + <putfield class="LRoot" field="sigmoid" fieldType="LRoot" ref="math" value="sigmoid" /> |
| 79 | + <new def="add" class="Ltensorflow/math/add" /> |
| 80 | + <putfield class="LRoot" field="add" fieldType="LRoot" ref="x" value="add" /> |
| 81 | + <putfield class="LRoot" field="add" fieldType="LRoot" ref="math" value="add" /> |
70 | 82 | <new def="placeholder" class="Ltensorflow/functions/placeholder" /> |
71 | 83 | <putfield class="LRoot" field="placeholder" fieldType="LRoot" ref="x" value="placeholder" /> |
72 | 84 | <new def="examples" class="Lobject" /> |
|
120 | 132 | <new def="Input" class="Ltensorflow/functions/Input" /> |
121 | 133 | <putfield class="LRoot" field="Input" fieldType="LRoot" ref="keras" value="Input" /> |
122 | 134 | <putfield class="LRoot" field="Input" fieldType="LRoot" ref="layers" value="Input" /> |
| 135 | + <new def="Dense" class="Ltensorflow/keras/layers/Dense" /> |
| 136 | + <putfield class="LRoot" field="Dense" fieldType="LRoot" ref="layers" value="Dense" /> |
123 | 137 | <new def="Variable" class="Ltensorflow/functions/Variable" /> |
124 | 138 | <putfield class="LRoot" field="Variable" fieldType="LRoot" ref="x" value="Variable" /> |
125 | 139 | <putfield class="LRoot" field="Variable" fieldType="LRoot" ref="variables" value="Variable" /> |
|
247 | 261 | <package name="keras/objects"> |
248 | 262 | <class name="feature" allocatable="true" /> |
249 | 263 | </package> |
| 264 | + <package name="tensorflow/math"> |
| 265 | + <class name="sigmoid" allocatable="true"> |
| 266 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/nn/sigmoid --> |
| 267 | + <method name="do" descriptor="()LRoot;" numArgs="3" paramNames="self x name"> |
| 268 | + <return value="x" /> |
| 269 | + </method> |
| 270 | + </class> |
| 271 | + <class name="add" allocatable="true"> |
| 272 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/add --> |
| 273 | + <method name="read_data" descriptor="()LRoot;"> |
| 274 | + <new def="x" class="Ltensorflow/math/add" /> |
| 275 | + <return value="x" /> |
| 276 | + </method> |
| 277 | + <method name="do" descriptor="()LRoot;" numArgs="4" paramNames="self x y name"> |
| 278 | + <!-- Even though tf.add() isn't a tensor "generator," it can convert its non-tensor arguments to tensors. --> |
| 279 | + <call class="LRoot" name="read_data" descriptor="()LRoot;" type="virtual" arg0="arg0" def="xx" /> |
| 280 | + <return value="xx" /> |
| 281 | + </method> |
| 282 | + </class> |
| 283 | + </package> |
250 | 284 | <package name="tensorflow/functions"> |
251 | 285 | <class name="AdamOptimizer" allocatable="true"> |
252 | 286 | <method name="do" descriptor="()LRoot;"> |
|
631 | 665 | <return value="x" /> |
632 | 666 | </method> |
633 | 667 | </class> |
| 668 | + <class name="softmax" allocatable="true"> |
| 669 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/nn/softmax --> |
| 670 | + <method name="do" descriptor="()LRoot;" numArgs="4" paramNames="self logits axis name"> |
| 671 | + <return value="logits" /> |
| 672 | + </method> |
| 673 | + </class> |
634 | 674 | </package> |
635 | 675 | <package name="tensorflow/estimator"> |
636 | 676 | <class name="Estimator" allocatable="true"> |
|
650 | 690 | </method> |
651 | 691 | </class> |
652 | 692 | </package> |
| 693 | + <package name="tensorflow/keras/layers"> |
| 694 | + <class name="Dense" allocatable="true"> |
| 695 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/keras/layers/Dense --> |
| 696 | + <method name="do" descriptor="()LRoot;" numArgs="11" paramNames="self units activation use_bias kernel_initializer bias_initializer kernel_regularizer bias_regularizer activity_regularizer kernel_constraint bias_constraint"> |
| 697 | + <new def="__call__" class="Ltensorflow/keras/layers/__call__" /> |
| 698 | + <putfield class="LRoot" field="__call__" fieldType="LRoot" ref="arg0" value="__call__" /> |
| 699 | + <new def="call" class="Ltensorflow/keras/layers/call" /> |
| 700 | + <putfield class="LRoot" field="call" fieldType="LRoot" ref="arg0" value="call" /> |
| 701 | + <return value="arg0" /> |
| 702 | + </method> |
| 703 | + </class> |
| 704 | + <!-- FIXME: These methods must be called explicitly. The implicit cases blocked on https://github.com/wala/ML/issues/127. --> |
| 705 | + <class name="__call__" allocatable="true"> |
| 706 | + <!-- https://github.com/keras-team/keras/blob/07e13740fd181fc3ddec7d9a594d8a08666645f6/keras/layers/core/dense.py#L166-L240 --> |
| 707 | + <method name="do" descriptor="()LRoot;" numArgs="2" paramNames="self inputs"> |
| 708 | + <return value="inputs" /> |
| 709 | + </method> |
| 710 | + </class> |
| 711 | + <!-- FIXME: Workaround for https://github.com/wala/ML/issues/106. --> |
| 712 | + <class name="call" allocatable="true"> |
| 713 | + <!-- https://github.com/keras-team/keras/blob/07e13740fd181fc3ddec7d9a594d8a08666645f6/keras/layers/core/dense.py#L166-L240 --> |
| 714 | + <method name="do" descriptor="()LRoot;" numArgs="2" paramNames="self inputs"> |
| 715 | + <return value="inputs" /> |
| 716 | + </method> |
| 717 | + </class> |
| 718 | + </package> |
653 | 719 | <package name="tensorflow/data"> |
654 | 720 | <class name="Dataset" allocatable="true"> |
655 | 721 | <!-- "read_dataset" means that this function reads a tensor iterable. --> |
|
658 | 724 | <putfield class="LRoot" field="shuffle" fieldType="LRoot" ref="arg0" value="shuffle" /> |
659 | 725 | <new def="batch" class="Ltensorflow/data/batch" /> |
660 | 726 | <putfield class="LRoot" field="batch" fieldType="LRoot" ref="arg0" value="batch" /> |
| 727 | + <new def="repeat" class="Ltensorflow/data/repeat" /> |
| 728 | + <putfield class="LRoot" field="repeat" fieldType="LRoot" ref="arg0" value="repeat" /> |
| 729 | + <new def="prefetch" class="Ltensorflow/data/prefetch" /> |
| 730 | + <putfield class="LRoot" field="prefetch" fieldType="LRoot" ref="arg0" value="prefetch" /> |
| 731 | + <new def="take" class="Ltensorflow/data/take" /> |
| 732 | + <putfield class="LRoot" field="take" fieldType="LRoot" ref="arg0" value="take" /> |
661 | 733 | <return value="arg0" /> |
662 | 734 | </method> |
663 | 735 | <method name="do" descriptor="()LRoot;" numArgs="2" paramNames="self variant_tensor"> |
|
683 | 755 | <return value="xx" /> |
684 | 756 | </method> |
685 | 757 | </class> |
| 758 | + <class name="repeat" allocatable="true"> |
| 759 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/data/Dataset#repeat --> |
| 760 | + <method name="do" descriptor="()LRoot;" numArgs="6" paramNames="self count name"> |
| 761 | + <!-- FIXME: Workaround for https://github.com/wala/ML/issues/127. --> |
| 762 | + <new def="x" class="Ltensorflow/data/Dataset" /> |
| 763 | + <call class="Ltensorflow/data/Dataset" name="read_dataset" descriptor="()LRoot;" type="virtual" arg0="x" def="xx" /> |
| 764 | + <return value="xx" /> |
| 765 | + </method> |
| 766 | + </class> |
| 767 | + <class name="prefetch" allocatable="true"> |
| 768 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/data/Dataset#prefetch --> |
| 769 | + <method name="do" descriptor="()LRoot;" numArgs="3" paramNames="self buffer_size name"> |
| 770 | + <!-- FIXME: Workaround for https://github.com/wala/ML/issues/127. --> |
| 771 | + <new def="x" class="Ltensorflow/data/Dataset" /> |
| 772 | + <call class="Ltensorflow/data/Dataset" name="read_dataset" descriptor="()LRoot;" type="virtual" arg0="x" def="xx" /> |
| 773 | + <return value="xx" /> |
| 774 | + </method> |
| 775 | + </class> |
| 776 | + <class name="take" allocatable="true"> |
| 777 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/data/Dataset#take --> |
| 778 | + <method name="do" descriptor="()LRoot;" numArgs="3" paramNames="self count name"> |
| 779 | + <!-- FIXME: Workaround for https://github.com/wala/ML/issues/127. --> |
| 780 | + <new def="x" class="Ltensorflow/data/Dataset" /> |
| 781 | + <call class="Ltensorflow/data/Dataset" name="read_dataset" descriptor="()LRoot;" type="virtual" arg0="x" def="xx" /> |
| 782 | + <return value="xx" /> |
| 783 | + </method> |
| 784 | + </class> |
686 | 785 | </package> |
687 | 786 | <package name="tensorflow/data/Dataset"> |
688 | 787 | <class name="from_tensor_slices" allocatable="true"> |
| 788 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/data/Dataset#from_tensor_slices --> |
689 | 789 | <method name="do" descriptor="()LRoot;" numArgs="2" paramNames="tensors name"> |
690 | 790 | <new def="x" class="Ltensorflow/data/Dataset" /> |
691 | 791 | <call class="Ltensorflow/data/Dataset" name="read_dataset" descriptor="()LRoot;" type="virtual" arg0="x" def="xx" /> |
692 | 792 | <return value="xx" /> |
693 | 793 | </method> |
694 | 794 | </class> |
| 795 | + <class name="from_generator" allocatable="true"> |
| 796 | + <!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/data/Dataset#from_generator --> |
| 797 | + <method name="do" descriptor="()LRoot;" numArgs="6" paramNames="generator output_types output_shapes args output_signature name"> |
| 798 | + <new def="x" class="Ltensorflow/data/Dataset" /> |
| 799 | + <call class="Ltensorflow/data/Dataset" name="read_dataset" descriptor="()LRoot;" type="virtual" arg0="x" def="xx" /> |
| 800 | + <return value="xx" /> |
| 801 | + </method> |
| 802 | + </class> |
695 | 803 | </package> |
696 | 804 | <package name="tensorflow/estimator/train"> |
697 | 805 | <class name="train" allocatable="true"> |
|
0 commit comments