/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | lsh_projection.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 28 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_weights_as_inputs.mod.py | 19 num_bits = 2 variable 23 hhash = Input("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits)) 24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 27 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_2.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | lsh_projection_float16.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT16", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 28 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_deprecated.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
D | lsh_projection_4_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
D | lsh_projection_3_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | lsh_projection_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 29 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_weights_as_inputs_relaxed.mod.py | 19 num_bits = 2 variable 23 hhash = Input("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits)) 24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 27 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_2_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/frameworks/ml/nn/common/operations/ |
D | LSHProjection.cpp | 130 int num_bits = SizeOfDimension(hash, 1); in SparseLshProjection() local 133 for (int j = 0; j < num_bits; j++) { in SparseLshProjection() 134 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in SparseLshProjection() 141 *out_buf++ = hash_signature + i * (1 << num_bits); in SparseLshProjection() 150 int num_bits = SizeOfDimension(hash, 1); in DenseLshProjection() local 152 for (int j = 0; j < num_bits; j++) { in DenseLshProjection() 153 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in DenseLshProjection()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | combined_encode.cpp | 51 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameCombinedMode() local 177 num_bits = BitstreamGetPos(bs1) - numHeaderBits; in EncodeFrameCombinedMode() 178 if (num_bits > packet_size) in EncodeFrameCombinedMode() 281 Int num_bits = 0; in EncodeSliceCombinedMode() local 414 num_bits = BitstreamGetPos(bs1); in EncodeSliceCombinedMode() 416 numHeaderBits = BitstreamGetPos(bs1) - num_bits; in EncodeSliceCombinedMode() 463 num_bits = BitstreamGetPos(bs1) ;//- numHeaderBits; // include header in EncodeSliceCombinedMode() 466 if (num_bits > packet_size && mbnum != firstMB) in EncodeSliceCombinedMode() 511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3); in EncodeSliceCombinedMode() 514 BitstreamFlushBits(bs1, num_bits); in EncodeSliceCombinedMode() [all …]
|
D | datapart_encode.cpp | 50 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameDataPartMode() local 144 num_bits = BitstreamGetPos(bs1) + BitstreamGetPos(bs2) + in EncodeFrameDataPartMode() 149 if (num_bits > packet_size) in EncodeFrameDataPartMode() 228 Int num_bits = 0; in EncodeSliceDataPartMode() local 328 num_bits = BitstreamGetPos(bs1); in EncodeSliceDataPartMode() 330 numHeaderBits = BitstreamGetPos(bs1) - num_bits; in EncodeSliceDataPartMode() 373 num_bits = BitstreamGetPos(bs1) + BitstreamGetPos(bs2) + in EncodeSliceDataPartMode() 377 if (num_bits > packet_size && mbnum != firstMB) /* encoding at least one more MB*/ in EncodeSliceDataPartMode()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | bitstream.cpp | 53 int num_bits, i; in BitstreamFillCache() local 58 num_bits = stream->incnt_next + stream->incnt; in BitstreamFillCache() 59 if (num_bits >= 32) in BitstreamFillCache() 72 stream->incnt = num_bits; in BitstreamFillCache() 85 stream->curr_word |= (stream->next_word >> num_bits); // this is safe in BitstreamFillCache() 87 stream->next_word <<= (31 - num_bits); in BitstreamFillCache() 89 num_bits = i << 3; in BitstreamFillCache() 91 stream->incnt_next = num_bits - (32 - stream->incnt); in BitstreamFillCache() 94 stream->incnt += num_bits; in BitstreamFillCache() 107 stream->curr_word |= (stream->next_word >> num_bits); // this is safe in BitstreamFillCache() [all …]
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 49 def num_bits(n): function 351 link_shift = num_bits(max(ch_map.values())) 353 pattern_shift = link_shift + num_bits(n_trie - 1)
|