Home
last modified time | relevance | path

Searched refs:input_tokens (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/kernels/xla/
Dhost_compute_ops.cc139 std::vector<xla::XlaOp> input_tokens; in Compile() local
143 input_tokens.push_back(token_or.ValueOrDie()); in Compile()
145 xla::XlaOp token = xla::AfterAll(b, input_tokens); in Compile()
410 std::vector<xla::XlaOp> input_tokens; in Compile() local
414 input_tokens.push_back(token_or.ValueOrDie()); in Compile()
416 xla::XlaOp token = xla::AfterAll(b, input_tokens); in Compile()
462 std::vector<xla::XlaOp> input_tokens; in Compile() local
466 input_tokens.push_back(token_or.ValueOrDie()); in Compile()
468 xla::XlaOp token = xla::AfterAll(b, input_tokens); in Compile()
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/
Dnl_classifier.cc216 std::vector<int> input_tokens(max_sentence_length, pad_token_id); in Preprocess() local
220 input_tokens[0] = start_token_id; in Preprocess()
230 input_tokens[input_token_index] = token_id; in Preprocess()
232 input_tokens[input_token_index] = unknown_token_id; in Preprocess()
236 PopulateTensor(input_tokens, input_tensor); in Preprocess()