Home
last modified time | relevance | path

Searched refs:texts (Results 1 – 25 of 119) sorted by relevance

12345

/external/tensorflow/tensorflow/python/kernel_tests/
Dunicode_decode_op_test.py133 def testBasicDecode(self, texts, ragged_rank=None): argument
135 _nested_encode(texts, "UTF-8"), ragged_rank=ragged_rank, dtype=bytes)
137 expected = _nested_codepoints(texts)
149 def testBasicDecodeWithOffsets(self, texts, ragged_rank=None): argument
151 _nested_encode(texts, "UTF-8"), ragged_rank=ragged_rank, dtype=bytes)
154 expected_codepoints = _nested_codepoints(texts)
155 expected_offsets = _nested_offsets(texts, "UTF-8")
160 texts = [s.encode("utf8") for s in [u"G\xf6\xf6dnight", u"\U0001f60a"]]
161 codepoints1 = ragged_string_ops.unicode_decode(texts, "UTF-8")
163 texts, "UTF-8")
[all …]
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dtext_test.py45 texts = [
51 tokenizer.fit_on_texts(texts)
54 for seq in tokenizer.texts_to_sequences_generator(texts):
62 matrix = tokenizer.texts_to_matrix(texts, mode)
97 texts = [
104 tokenizer.fit_on_texts(texts)
109 tokenizer.texts_to_matrix(texts)
133 texts = [
137 tokenizer.fit_on_texts(texts)
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestConvertingDeserializer.java99 public String[] texts; field in TestConvertingDeserializer.LowerCaseTextArray
161 …LowerCaseTextArray texts = objectReader(LowerCaseTextArray.class).readValue("{\"texts\":[\"ABC\"]}… in testPropertyAnnotationArrayLC() local
162 assertNotNull(texts); in testPropertyAnnotationArrayLC()
163 assertNotNull(texts.texts); in testPropertyAnnotationArrayLC()
164 assertEquals(1, texts.texts.length); in testPropertyAnnotationArrayLC()
165 assertEquals("abc", texts.texts[0]); in testPropertyAnnotationArrayLC()
/external/skia/modules/canvaskit/tests/
Dskottie.spec.js294 const texts = animation.getTextProps(); constant
295 expect(texts.length).toEqual(1);
296 expect(texts[0].key).toEqual('__text_layer');
297 expect(texts[0].value.text).toEqual('Foo Bar Baz');
298 expect(texts[0].value.size).toEqual(100);
316 const texts = animation.getTextProps(); constant
317 expect(texts.length).toEqual(1);
318 expect(texts[0].key).toEqual('__text_layer');
319 expect(texts[0].value.text).toEqual('baz bar foo');
320 expect(texts[0].value.size).toEqual(10);
/external/python/cpython2/Lib/
Dcmd.py392 texts = []
399 texts.append(x)
400 while texts and not texts[-1]:
401 del texts[-1]
402 for col in range(len(texts)):
403 texts[col] = texts[col].ljust(colwidths[col])
404 self.stdout.write("%s\n"%str(" ".join(texts)))
/external/python/cpython3/Lib/
Dcmd.py389 texts = []
396 texts.append(x)
397 while texts and not texts[-1]:
398 del texts[-1]
399 for col in range(len(texts)):
400 texts[col] = texts[col].ljust(colwidths[col])
401 self.stdout.write("%s\n"%str(" ".join(texts)))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.preprocessing.text.-tokenizer.pbtxt14 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
34 …argspec: "args=[\'self\', \'texts\', \'mode\'], varargs=None, keywords=None, defaults=[\'binary\']…
38 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
42 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.preprocessing.text.-tokenizer.pbtxt14 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
34 …argspec: "args=[\'self\', \'texts\', \'mode\'], varargs=None, keywords=None, defaults=[\'binary\']…
38 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
42 argspec: "args=[\'self\', \'texts\'], varargs=None, keywords=None, defaults=None"
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestSelection.java93 for (int i = 0; i < texts.length; i++) { in TestConversionUTF16()
94 List<String> result = sel.selectForString(texts[i]); in TestConversionUTF16()
95 … verifyResultUTF16(texts[i], testEncodings, result, excluded, CharsetICU.ROUNDTRIP_SET); in TestConversionUTF16()
148 private String[] texts = { field in TestSelection
/external/openscreen/discovery/mdns/testing/
Dmdns_test_util.cc15 std::vector<TxtRecordRdata::Entry> texts; in MakeTxtRecord() local
17 texts.push_back(TxtRecordRdata::Entry(string.begin(), string.end())); in MakeTxtRecord()
19 return TxtRecordRdata(std::move(texts)); in MakeTxtRecord()
/external/tensorflow/tensorflow/tools/docs/
Dtf_doctest_lib.py93 texts = []
97 texts.append(part)
101 return texts, np.array(floats)
/external/openscreen/discovery/dnssd/impl/
Dconversion_layer_unittest.cc287 EXPECT_EQ(rdata.texts().size(), size_t{2}); in TEST()
290 std::find(rdata.texts().begin(), rdata.texts().end(), "name=value"); in TEST()
291 EXPECT_NE(it2, rdata.texts().end()); in TEST()
293 it2 = std::find(rdata.texts().begin(), rdata.texts().end(), "boolean"); in TEST()
294 EXPECT_NE(it2, rdata.texts().end()); in TEST()
Dconversion_layer.cc112 if (txt_data.texts().size() == 1 && txt_data.texts()[0] == "") { in CreateFromDnsTxt()
118 for (auto it = txt_data.texts().rbegin(); it != txt_data.texts().rend(); in CreateFromDnsTxt()
/external/rust/crates/textwrap/tests/
Dindent.rs83 let texts = ["foo\nbar", "foo\nbar\n", "foo\nbar\nbaz"]; in indented_text_should_have_the_same_number_of_lines_as_the_original_text() localVariable
84 for original in texts.iter() { in indented_text_should_have_the_same_number_of_lines_as_the_original_text()
/external/icu/icu4c/source/data/translit/
Dsat_Olck_sat_FONIPA.txt37 # ᱵᱽ /b/, ᱫᱽ /d/, ᱡᱽ /d\u0361ʒ/, and ᱜᱽ /ɡ/. In online texts, however,
44 # ejective, not glottal). In online texts, however, we have frequently
47 # Some online texts use a decomposed form of U+1C7A MU-GAAHLAA TTUDDAG.
59 # Some online texts use U+1C7C PHAARKAA instead of U+1C7B RELAA for indicating
/external/icu/icu4c/source/extra/uconv/samples/utf8/
Dutf-8-demo.txt7 …f you want to refer to any of my texts, please use a hyperlink to my original and not a copy. I up…
/external/openscreen/discovery/mdns/
Dmdns_records.cc342 ErrorOr<TxtRecordRdata> TxtRecordRdata::TryCreate(std::vector<Entry> texts) { in TryCreate() argument
345 if (texts.size() > 0) { in TryCreate()
346 str_texts.reserve(texts.size()); in TryCreate()
349 for (const auto& text : texts) { in TryCreate()
364 TxtRecordRdata::TxtRecordRdata(std::vector<Entry> texts) { in TxtRecordRdata() argument
365 ErrorOr<TxtRecordRdata> rdata = TxtRecordRdata::TryCreate(std::move(texts)); in TxtRecordRdata()
369 TxtRecordRdata::TxtRecordRdata(std::vector<std::string> texts, in TxtRecordRdata() argument
371 : max_wire_size_(max_wire_size), texts_(std::move(texts)) {} in TxtRecordRdata()
Dmdns_reader.cc222 std::vector<TxtRecordRdata::Entry> texts; in Read() local
230 texts.emplace_back(entry); in Read()
236 ErrorOr<TxtRecordRdata> rdata = TxtRecordRdata::TryCreate(std::move(texts)); in Read()
/external/tinyalsa/include/tinyalsa/
Dmixer_plugin.h85 char **texts; member
112 {.texts = etexts, .items = eitems}
/external/harfbuzz_ng/test/shaping/
DMakefile.am28 texts/in-house \
/external/skia/modules/skottie/src/
DSkottieTest.cpp190 const std::vector<TextInfo>& texts() const { return fTexts; } in DEF_TEST() function in DEF_TEST::TestPropertyObserver
309 const auto& texts = observer->texts(); in DEF_TEST() local
310 REPORTER_ASSERT(reporter, texts.size() == 1); in DEF_TEST()
311 REPORTER_ASSERT(reporter, texts[0].node_name.equals("layer_1")); in DEF_TEST()
312 REPORTER_ASSERT(reporter, texts[0].handle->get() == skottie::TextPropertyValue({ in DEF_TEST()
/external/tinyalsa_new/include/tinyalsa/
Dplugin.h44 {.texts = etexts, .items = eitems}
226 char **texts; member
/external/rust/crates/unicode-segmentation/
DCargo.toml.orig19 exclude = [ "target/*", "Cargo.lock", "scripts/tmp", "benches/texts/*", "*.txt", ]
/external/python/cpython3/Doc/library/
Dcodeop.rst64 instance 'remembers' and compiles all subsequent program texts with the
73 compiles all subsequent program texts with the statement in force.
/external/iproute2/tipc/
DREADME16 Help texts are not dynamically generated. That is, we do not pass datastructures
18 intentional. There is always that exception and when it comes to help texts

12345