Home
last modified time | relevance | path

Searched refs:num_bits (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/common/operations/
DLSHProjection.cpp129 int num_bits = SizeOfDimension(hash, 1); in SparseLshProjection() local
132 for (int j = 0; j < num_bits; j++) { in SparseLshProjection()
133 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in SparseLshProjection()
140 *out_buf++ = hash_signature + i * (1 << num_bits); in SparseLshProjection()
149 int num_bits = SizeOfDimension(hash, 1); in DenseLshProjection() local
151 for (int j = 0; j < num_bits; j++) { in DenseLshProjection()
152 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in DenseLshProjection()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/
Dlsh_projection.mod.py19 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))
Dlsh_projection_weights_as_inputs.mod.py19 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))
Dlsh_projection_2.mod.py19 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))
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dlsh_projection_float16.mod.py19 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))
Dlsh_projection_deprecated.mod.py19 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))
Dlsh_projection_4_relaxed.mod.py19 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))
Dlsh_projection_3_relaxed.mod.py19 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))
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/
Dlsh_projection_weights_as_inputs_relaxed.mod.py19 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))
Dlsh_projection_relaxed.mod.py19 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))
Dlsh_projection_2_relaxed.mod.py19 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))