Home
last modified time | relevance | path

Searched refs:ifco (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/
DLSTMBreakEngine.java328 float[] ifco = Arrays.copyOf(B, B.length);
329 addDotProductTo(x, W, ifco);
331 addDotProductTo(h, U, ifco);
334 sigmoid(ifco, 0*hunits, hunits); // i
335 sigmoid(ifco, 1*hunits, hunits); // f
336 tanh(ifco, 2*hunits, hunits); // c_
337 sigmoid(ifco, 3*hunits, hunits); // o
339 hadamardProductTo(Arrays.copyOfRange(ifco, hunits, 2*hunits), c);
340 addHadamardProductTo(Arrays.copyOf(ifco, hunits),
341 Arrays.copyOfRange(ifco, 2*hunits, 3*hunits), c);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
DLSTMBreakEngine.java319 float[] ifco = Arrays.copyOf(B, B.length);
320 addDotProductTo(x, W, ifco);
322 addDotProductTo(h, U, ifco);
325 sigmoid(ifco, 0*hunits, hunits); // i
326 sigmoid(ifco, 1*hunits, hunits); // f
327 tanh(ifco, 2*hunits, hunits); // c_
328 sigmoid(ifco, 3*hunits, hunits); // o
330 hadamardProductTo(Arrays.copyOfRange(ifco, hunits, 2*hunits), c);
331 addHadamardProductTo(Arrays.copyOf(ifco, hunits),
332 Arrays.copyOfRange(ifco, 2*hunits, 3*hunits), c);
[all …]
/external/cronet/third_party/icu/source/common/
Dlstmbe.cpp612 Array1D& ifco) in compute() argument
615 ifco.assign(b) in compute()
619 ifco.slice(0*hunits, hunits).sigmoid(); // i: sigmod in compute()
620 ifco.slice(1*hunits, hunits).sigmoid(); // f: sigmoid in compute()
621 ifco.slice(2*hunits, hunits).tanh(); // c_: tanh in compute()
622 ifco.slice(3*hunits, hunits).sigmoid(); // o: sigmod in compute()
624 c.hadamardProduct(ifco.slice(hunits, hunits)) in compute()
625 .addHadamardProduct(ifco.slice(0, hunits), ifco.slice(2*hunits, hunits)); in compute()
628 .hadamardProduct(ifco.slice(3*hunits, hunits)); in compute()
666 Array1D ifco(4 * hunits, status); in divideUpDictionaryRange() local
[all …]
/external/icu/icu4c/source/common/
Dlstmbe.cpp612 Array1D& ifco) in compute() argument
615 ifco.assign(b) in compute()
619 ifco.slice(0*hunits, hunits).sigmoid(); // i: sigmod in compute()
620 ifco.slice(1*hunits, hunits).sigmoid(); // f: sigmoid in compute()
621 ifco.slice(2*hunits, hunits).tanh(); // c_: tanh in compute()
622 ifco.slice(3*hunits, hunits).sigmoid(); // o: sigmod in compute()
624 c.hadamardProduct(ifco.slice(hunits, hunits)) in compute()
625 .addHadamardProduct(ifco.slice(0, hunits), ifco.slice(2*hunits, hunits)); in compute()
628 .hadamardProduct(ifco.slice(3*hunits, hunits)); in compute()
666 Array1D ifco(4 * hunits, status); in divideUpDictionaryRange() local
[all …]