Home
last modified time | relevance | path

Searched refs:sentencepiece (Results 1 – 25 of 31) sorted by relevance

12

/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/
Dmodel_converter.cc29 namespace sentencepiece { namespace
33 const ::sentencepiece::NormalizerSpec& normalizer_spec) { in DecodePrecompiledCharsmap()
52 ::sentencepiece::ModelProto model_config; in ConvertSentencepieceModelToFlatBuffer()
69 case ::sentencepiece::ModelProto::SentencePiece::NORMAL: in ConvertSentencepieceModelToFlatBuffer()
70 case ::sentencepiece::ModelProto::SentencePiece::USER_DEFINED: in ConvertSentencepieceModelToFlatBuffer()
77 case ::sentencepiece::ModelProto::SentencePiece::UNKNOWN: in ConvertSentencepieceModelToFlatBuffer()
78 case ::sentencepiece::ModelProto::SentencePiece::CONTROL: in ConvertSentencepieceModelToFlatBuffer()
130 ::sentencepiece::ModelProto model_config; in ConvertSentencepieceModelToFlatBufferForDecoder()
144 case ::sentencepiece::ModelProto::SentencePiece::NORMAL: in ConvertSentencepieceModelToFlatBufferForDecoder()
145 case ::sentencepiece::ModelProto::SentencePiece::USER_DEFINED: in ConvertSentencepieceModelToFlatBufferForDecoder()
[all …]
Dsentencepiece_detokenizer_tflite.cc33 namespace sentencepiece { namespace
93 sentencepiece::detokenizer::Initialize, sentencepiece::detokenizer::Free, in Register_SENTENCEPIECE_DETOKENIZER()
94 sentencepiece::detokenizer::Prepare, sentencepiece::detokenizer::Eval}; in Register_SENTENCEPIECE_DETOKENIZER()
Dsentencepiece_tokenizer_tflite.cc32 namespace sentencepiece { namespace
122 sentencepiece::tokenizer::Initialize, sentencepiece::tokenizer::Free, in Register_SENTENCEPIECE_TOKENIZER()
123 sentencepiece::tokenizer::Prepare, sentencepiece::tokenizer::Eval}; in Register_SENTENCEPIECE_TOKENIZER()
Doptimized_decoder_test.cc30 namespace sentencepiece { namespace
67 ::sentencepiece::SentencePieceProcessor processor; in TEST()
71 ::sentencepiece::SentencePieceText reference_encoded; in TEST()
Dencoder_config.fbs14 include "tensorflow_lite_support/custom_ops/kernel/sentencepiece/config.fbs";
16 namespace tflite.ops.custom.sentencepiece;
26 // big negative weight,less than any other sentencepiece.
Doptimized_encoder_test.cc35 namespace sentencepiece { namespace
146 ::sentencepiece::SentencePieceProcessor processor; in TEST()
154 ::sentencepiece::SentencePieceText reference_encoded; in TEST()
Ddecoder_config.fbs16 include "tensorflow_lite_support/custom_ops/kernel/sentencepiece/config.fbs";
18 namespace tflite.ops.custom.sentencepiece;
Dsentencepiece_detokenizer_op.cc70 const auto res = tflite::ops::custom::sentencepiece::DecodeString( in Compute()
75 tflite::ops::custom::sentencepiece::DecoderResultType::SUCCESS, in Compute()
Dsentencepiece_tokenizer_op.cc83 const auto res = ::tflite::ops::custom::sentencepiece::EncodeString( in Compute()
88 ::tflite::ops::custom::sentencepiece::EncoderResultType::SUCCESS, in Compute()
Dsentencepiece_constants.h21 namespace sentencepiece {
Doptimized_decoder.h27 namespace sentencepiece {
Ddouble_array_trie_builder.h28 namespace sentencepiece {
Dmodel_converter.h25 namespace sentencepiece {
Doptimized_encoder.h30 namespace sentencepiece {
Doptimized_decoder.cc27 namespace sentencepiece { namespace
Dutils.h25 namespace sentencepiece {
Dconfig.fbs16 namespace tflite.ops.custom.sentencepiece;
Ddouble_array_trie_builder.cc26 namespace sentencepiece { namespace
Ddouble_array_trie.h28 namespace sentencepiece {
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
DBUILD21 "//tensorflow_lite_support/custom_ops/kernel/sentencepiece:sentencepiece_detokenizer_op.so",
22 "//tensorflow_lite_support/custom_ops/kernel/sentencepiece:sentencepiece_tokenizer_op.so",
27 "//tensorflow_lite_support/custom_ops/kernel/sentencepiece/py:pywrap_model_converter",
35 "//tensorflow_lite_support/custom_ops/kernel/sentencepiece:testdata",
42 "//tensorflow_lite_support/custom_ops/kernel/sentencepiece/py:pywrap_tflite_registerer",
/external/tflite-support/
DAndroid.bp40 "tensorflow_lite_support/custom_ops/kernel/sentencepiece/sentencepiece_tokenizer_tflite.cc",
41 "tensorflow_lite_support/custom_ops/kernel/sentencepiece/optimized_encoder.cc",
88 srcs: ["tensorflow_lite_support/custom_ops/kernel/sentencepiece/config.fbs"],
89 out: ["tensorflow_lite_support/custom_ops/kernel/sentencepiece/config_generated.h"],
95 srcs: ["tensorflow_lite_support/custom_ops/kernel/sentencepiece/encoder_config.fbs"],
96 out: ["tensorflow_lite_support/custom_ops/kernel/sentencepiece/encoder_config_generated.h"],
/external/oss-fuzz/projects/sentencepiece/
DDockerfile19 RUN git clone --depth 1 https://github.com/google/sentencepiece.git sentencepiece
20 WORKDIR sentencepiece
Dsample_encode_fuzzer.cc25 sentencepiece::SentencePieceProcessor fuzz_sp_processor; in LLVMFuzzerTestOneInput()
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dsentencepiece_tokenizer.h66 sentencepiece::SentencePieceProcessor sp_;
/external/tflite-support/tensorflow_lite_support/opensource/
Dopensource_only.files1 tensorflow_lite_support/custom_ops/kernel/sentencepiece/native.bzl

12