tensorflow-coder
Advanced tools
| # Copyright 2020 The TF-Coder Authors. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| """Version for TF-Coder.""" | ||
| __version__ = '0.0.2' |
+3
-3
| Metadata-Version: 2.1 | ||
| Name: tensorflow-coder | ||
| Version: 0.0.1 | ||
| Version: 0.0.2 | ||
| Summary: TensorFlow Coder (TF-Coder): A Program Synthesis Tool for TensorFlow | ||
@@ -70,4 +70,4 @@ Home-page: https://github.com/google-research/tensorflow-coder | ||
| TF-Coder currently does not support complex or string tensors, or RaggedTensors. | ||
| The full list of supported operations can be found here(TODO: link to the list | ||
| in Colab). | ||
| The full list of supported operations can be found in the | ||
| [Colab notebook](https://colab.research.google.com/github/google-research/tensorflow-coder/blob/master/TF-Coder_Colab.ipynb#scrollTo=Q6uRr4x9WHRC). | ||
@@ -74,0 +74,0 @@ In addition, TF-Coder only guarantees that its solutions work for the given |
+2
-2
@@ -62,4 +62,4 @@ # TensorFlow Coder (TF-Coder) | ||
| TF-Coder currently does not support complex or string tensors, or RaggedTensors. | ||
| The full list of supported operations can be found here(TODO: link to the list | ||
| in Colab). | ||
| The full list of supported operations can be found in the | ||
| [Colab notebook](https://colab.research.google.com/github/google-research/tensorflow-coder/blob/master/TF-Coder_Colab.ipynb#scrollTo=Q6uRr4x9WHRC). | ||
@@ -66,0 +66,0 @@ In addition, TF-Coder only guarantees that its solutions work for the given |
| Metadata-Version: 2.1 | ||
| Name: tensorflow-coder | ||
| Version: 0.0.1 | ||
| Version: 0.0.2 | ||
| Summary: TensorFlow Coder (TF-Coder): A Program Synthesis Tool for TensorFlow | ||
@@ -70,4 +70,4 @@ Home-page: https://github.com/google-research/tensorflow-coder | ||
| TF-Coder currently does not support complex or string tensors, or RaggedTensors. | ||
| The full list of supported operations can be found here(TODO: link to the list | ||
| in Colab). | ||
| The full list of supported operations can be found in the | ||
| [Colab notebook](https://colab.research.google.com/github/google-research/tensorflow-coder/blob/master/TF-Coder_Colab.ipynb#scrollTo=Q6uRr4x9WHRC). | ||
@@ -74,0 +74,0 @@ In addition, TF-Coder only guarantees that its solutions work for the given |
@@ -17,2 +17,3 @@ README.md | ||
| tf_coder/tf_functions_test.py | ||
| tf_coder/version.py | ||
| tf_coder/benchmarks/__init__.py | ||
@@ -19,0 +20,0 @@ tf_coder/benchmarks/all_benchmarks.py |
@@ -17,2 +17,4 @@ # Copyright 2020 The TF-Coder Authors. | ||
| __version__ = '0.0.1' | ||
| from tf_coder import version | ||
| __version__ = version.__version__ |
@@ -252,13 +252,11 @@ # Copyright 2020 The TF-Coder Authors. | ||
| inputs=[ | ||
| [10, 20, 30, 40, 50, | ||
| 13, 17, 19, | ||
| 21, 22, 23], | ||
| [1, 1, 1, 1, 1, 0, 0, 0, 2, 2, 2], | ||
| [1, 1, 1, 0, 0, 2], | ||
| [10, 20, 30, 14, 15, 26], | ||
| ], | ||
| output=[13, 17, 19, 10, 20, 30, 40, 50, 21, 22, 23] | ||
| output=[14, 15, 10, 20, 30, 26] | ||
| ), | ||
| ] | ||
| constants = [] | ||
| description = 'reorder segments' | ||
| target_program = 'tf.gather(in1, tf.argsort(in2, stable=True))' | ||
| description = 'sort the segments' | ||
| target_program = 'tf.gather(in2, tf.argsort(in1, stable=True))' | ||
| source = 'Real task encountered by Googler, 8/9/2019' | ||
@@ -265,0 +263,0 @@ return benchmark.Benchmark(examples=examples, |
@@ -489,13 +489,13 @@ # Copyright 2020 The TF-Coder Authors. | ||
| inputs=[ | ||
| [[0.6, 0.1, 0.3], | ||
| [0.1, 0.2, 0.7], | ||
| [0.5, 0.4, 0.1], | ||
| [[0.7, 0.2, 0.1], | ||
| [0.4, 0.5, 0.1], | ||
| [0.4, 0.4, 0.2], | ||
| [0.3, 0.4, 0.3], | ||
| [0.0, 0.0, 1.0]], | ||
| ], | ||
| output=[[1., 0., 0.], | ||
| [0., 0., 1.], | ||
| [1., 0., 0.], | ||
| [0., 1., 0.], | ||
| [0., 0., 1.]] | ||
| output=[[1, 0, 0], | ||
| [0, 1, 0], | ||
| [1, 0, 0], | ||
| [0, 1, 0], | ||
| [0, 0, 1]] | ||
| ), | ||
@@ -505,3 +505,3 @@ ] | ||
| description = 'compute argmax in each tensor and set it to 1' | ||
| target_program = 'tf.one_hot(tf.argmax(in1, axis=1), 3)' | ||
| target_program = 'tf.cast(tf.one_hot(tf.argmax(in1, axis=1), 3), tf.int32)' | ||
| source = 'https://stackoverflow.com/questions/44834739/argmax-on-a-tensor-and-ceiling-in-tensorflow' | ||
@@ -508,0 +508,0 @@ return benchmark.Benchmark(examples=examples, |
@@ -30,5 +30,5 @@ # Copyright 2020 The TF-Coder Authors. | ||
| 'Value search, ' | ||
| 'Naive Bayes description handler (k=3, p=0.5), ' | ||
| 'TF-IDF (k=5, min_score=0.15), ' | ||
| 'tensor features model with F_1 loss and max weighting, ' | ||
| '2020/03/12') | ||
| '2020/08/26') | ||
@@ -35,0 +35,0 @@ # Time limit in seconds. |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
555397
0.17%75
1.35%11523
0.12%