/packages/modules/NeuralNetworks/common/operations/ |
D | LSHProjection.cpp | 129 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/ |
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))
|
/packages/modules/NeuralNetworks/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))
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
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_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_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))
|