Skip to content

Commit 834d5da

Browse files
authored
Update NativeLibrary.java
delete unversioned lib judge
1 parent 5d7d8ca commit 834d5da

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/NativeLibrary.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ private static boolean resourceExists(String baseName) {
132132
}
133133

134134
private static String getVersionedLibraryName(String libFilename) {
135-
// If the resource exists as an unversioned file, return that.
136-
// if (resourceExists(libFilename)) {
137-
// return libFilename;
138-
// }
139-
140135
final String versionName = getMajorVersionNumber();
141136

142137
// If we're on darwin, the versioned libraries look like blah.1.dylib.

0 commit comments

Comments
 (0)