Initial commit

This commit is contained in:
github-classroom[bot] 2023-10-09 11:37:31 +00:00 committed by GitHub
commit 1122cdd8b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22764 changed files with 68115 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
tensorflow/** filter=lfs diff=lfs merge=lfs -text

14
README.md Normal file
View file

@ -0,0 +1,14 @@
# Project 02: Multi-source code search
### About the Project
This project has the goal of developing a search engine able to query a large Python code repository using multiple sources of information.
It is part of the Knowledge Analysis & Management - 2022 course from the Università della Svizzera italiana.
In this repository, you can find the following files:
- tensor flow: a code repository to be used during this project
- ground-truth-unique: a file containing the references triples necessary to evaluate the search engine (step 3)
For more information, see the Project-02 slides (available on iCourse)
Note: Feel free to modify this file according to the project's necessities.

39
ground-truth-unique.txt Normal file
View file

@ -0,0 +1,39 @@
AST Visitor that looks for specific API usage without editing anything
PastaAnalyzeVisitor
./tensorflow/tensorflow/tools/compatibility/ast_edits.py
Convert a TensorShape to a list
TensorShapeProtoToList
./tensorflow/tensorflow/python/framework/tensor_util.py
The most basic RNN cell
BasicRNNCell
./tensorflow/tensorflow/python/keras/layers/legacy_rnn/rnn_cell_impl.py
Reverses variable length slices
reverse_sequence
./tensorflow/tensorflow/python/ops/array_ops.py
Gather gpu device info
gather_gpu_devices
./tensorflow/tensorflow/tools/test/gpu_info_lib.py
Extracts a strided slice of a tensor generalized python array indexing
strided_slice
./tensorflow/tensorflow/python/ops/array_ops.py
Represents the shape of a Tensor
TensorShape
./tensorflow/tensorflow/python/framework/tensor_shape.py
Decorator to define a function with a custom gradient
custom_gradient
./tensorflow/tensorflow/python/ops/custom_gradient.py
Layer normalization layer
LayerNormalization
./tensorflow/tensorflow/python/keras/layers/normalization.py
loss function
get_loss_function
./tensorflow/tensorflow/python/keras/engine/training_utils.py

BIN
tensorflow/.bazelrc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/.bazelversion (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/.gitignore (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
tensorflow/.pylintrc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/ACKNOWLEDGMENTS (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/ADOPTERS.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/AUTHORS (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/CODEOWNERS (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/CODE_OF_CONDUCT.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/CONTRIBUTING.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/ISSUES.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/ISSUE_TEMPLATE.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/LICENSE (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/README.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/RELEASE.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/SECURITY.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/WORKSPACE (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/arm_compiler.BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/configure (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
tensorflow/configure.cmd (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/configure.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/models.BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/.clang-format (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/__init__.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/api_template.__init__.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/api_template_v1.__init__.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/README.md (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_experimental.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_experimental.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_experimental_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_function.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_function_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_internal.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_macros.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_api_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_test.c (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_test_util.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/c_test_util.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/checkpoint_reader.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/checkpoint_reader.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/conversion_macros.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/BUILD (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/abstract_context.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/abstract_function.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/abstract_operation.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/abstract_tensor_handle.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_cluster_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_debug.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_debug_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_distributed_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_experimental.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_experimental.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_experimental_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_internal.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_remote_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_test_util.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_test_util.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_unified_experimental.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/c_api_unified_experimental.h (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/custom_device_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/custom_device_testutil.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/custom_device_testutil.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/dlpack.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/dlpack.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/gradients.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/gradients.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/gradients_internal.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/gradients_test.cc (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/immediate_execution_context.h (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/parallel_device/BUILD (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/tape.h (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/tfe_context_internal.h (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tensorflow/tensorflow/c/eager/tfe_executor_internal.h (Stored with Git LFS) Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more