-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade presets for SentencePiece 0.2.0, TensorFlow Lite 2.16.1, T…
…ensorRT 10.0.1.6, Triton Inference Server 2.44.0
- Loading branch information
Showing
401 changed files
with
7,924 additions
and
7,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/ImmutableNBestSentencePieceText.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/ImmutableSentencePieceText.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...en/java/org/bytedeco/sentencepiece/ImmutableSentencePieceText_ImmutableSentencePiece.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/IntVector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/IntVectorFloatPairVector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/ModelProto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/NBestSentencePieceText.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/NormalizerSpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/PretokenizerForTrainingInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/SentencePieceNormalizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.sentencepiece; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.sentencepiece.global.sentencepiece.*; | ||
|
||
|
||
@Namespace("sentencepiece") @NoOffset @Properties(inherit = org.bytedeco.sentencepiece.presets.sentencepiece.class) | ||
public class SentencePieceNormalizer extends Pointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public SentencePieceNormalizer(Pointer p) { super(p); } | ||
/** Native array allocator. Access with {@link Pointer#position(long)}. */ | ||
public SentencePieceNormalizer(long size) { super((Pointer)null); allocateArray(size); } | ||
private native void allocateArray(long size); | ||
@Override public SentencePieceNormalizer position(long position) { | ||
return (SentencePieceNormalizer)super.position(position); | ||
} | ||
@Override public SentencePieceNormalizer getPointer(long i) { | ||
return new SentencePieceNormalizer((Pointer)this).offsetAddress(i); | ||
} | ||
|
||
public SentencePieceNormalizer() { super((Pointer)null); allocate(); } | ||
private native void allocate(); | ||
|
||
|
||
|
||
|
||
|
||
public native @ByVal Status LoadFromSerializedProto(@StdString String serialized); | ||
|
||
public native @ByVal Status LoadFromRuleTSV(@StdString String filename); | ||
|
||
public native @ByVal Status LoadFromRuleName(@StdString String name); | ||
|
||
public native @ByVal Status Normalize(@StdString String input, | ||
@StdString @Cast({"char*", "std::string*"}) BytePointer normalized); | ||
|
||
public native @ByVal Status Normalize(@StdString String input, | ||
@StdString @Cast({"char*", "std::string*"}) BytePointer normalized, | ||
@Cast("size_t*") @StdVector SizeTPointer norm_to_orig); | ||
|
||
public native @StdString String Normalize(@StdString String input); | ||
|
||
public native NormalizerSpec mutable_normalizer_spec(); | ||
|
||
public native @StdString String serialized_model_proto(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/SentencePieceText.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sentencepiece/src/gen/java/org/bytedeco/sentencepiece/SentencePieceText_SentencePiece.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.