Skip to content

Commit 0448b14

Browse files
committed
Merge branch 'master' of https://github.com/tech-srl/code2vec
2 parents 29a4c46 + 14a7224 commit 0448b14

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

JavaExtractor/JPredict/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<dependency>
5656
<groupId>com.fasterxml.jackson.core</groupId>
5757
<artifactId>jackson-databind</artifactId>
58-
<version>2.9.8</version>
58+
<version>2.9.10.1</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>args4j</groupId>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ If used with the `--predict` flag, the code vector will be printed to console.
256256

257257
This project currently supports Java and C\# as the input languages.
258258

259-
_**June 2019** - an extractor for **C** that is compatible with our model was developed by [CMU SEI team](https://github.com/cmu-sei/code2vec-c)._
259+
~~_**June 2019** - an extractor for **C** that is compatible with our model was developed by [CMU SEI team](https://github.com/cmu-sei/code2vec-c)._~~ - removed by CMU SEI team.
260260

261-
_**June 2019** - an extractor for **Python** is available here: [PathMiner](https://github.com/vovak/astminer)._
261+
_**June 2019** - an extractor for **Python, Java, C, C++** is available here: [PathMiner](https://github.com/vovak/astminer)._
262262

263263
In order to extend code2vec to work with other languages, a new extractor (similar to the [JavaExtractor](JavaExtractor))
264264
should be implemented, and be called by [preprocess.sh](preprocess.sh).

keras_attention_layer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tensorflow as tf
22
from tensorflow.python import keras
33
from tensorflow.python.keras.layers import Layer
4-
import tensorflow.python.keras.backend as K
4+
from tensorflow.python.keras import backend as K
55
from typing import Optional
66

77

0 commit comments

Comments
 (0)