/external/tensorflow/tensorflow/examples/saved_model/integration_tests/ |
use_text_rnn_model.py | 33 sentences = [ 38 model.train(tf.constant(sentences))
|
export_simple_text_embedding.py | 50 A text embeddings model that takes a sentences on input and outputs the 69 def _tokenize(self, sentences): 73 input=sentences, pattern=r"\pP", rewrite="") 79 # Deal with a corner case: all sentences are empty. 86 def __call__(self, sentences): 87 token_ids, token_values, token_dense_shape = self._tokenize(sentences)
|
export_text_rnn_model.py | 34 A full generative text RNN model that can train and decode sentences from a 48 def _tokenize(self, sentences): 52 input=sentences, pattern=r"\pP", rewrite="") 57 # Deal with a corner case: all sentences are empty. 81 def train(self, sentences): 82 token_ids, token_values, token_dense_shape = self._tokenize(sentences) 173 sentences = ["<S> hello there <E>", "<S> how are you doing today <E>"] 181 _ = module.train(tf.constant(sentences))
|
/external/tensorflow/tensorflow/lite/models/smartreply/ |
predictor.cc | 87 std::vector<std::string> sentences; local 90 sentences.insert(sentences.end(), splitted_str.begin(), splitted_str.end()); 92 for (const auto& sentence : sentences) {
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/ |
data.py | 87 def pad_and_reverse_word_ids(sentences): 88 """Pad a list of sentences to the common maximum length + 1. 91 sentences: A list of sentences as a list of list of integers. Each integer 99 max_len = max(len(sent) for sent in sentences) 100 for sent in sentences: 104 sentences = np.fliplr(np.array(sentences, dtype=np.int64)) 105 sentences = np.concatenate( 106 [np.ones([sentences.shape[0], 1], dtype=np.int64), sentences], axis=1 [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CaseMap.java | 202 * titlecases sentences rather than words. 211 public Title sentences() { method in class:CaseMap.Title
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CaseMap.java | 217 * titlecases sentences rather than words. 227 public Title sentences() { method in class:CaseMap.Title
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
CheckHtmlFiles.java | 643 List<String> sentences = new ArrayList<String>(); field in class:CheckHtmlFiles.Data [all...] |
/external/cldr/tools/java/libs/ |
icu4j.jar | |