Home
last modified time | relevance | path

Searched refs:input_values (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/ml/nn/runtime/test/specs/V1_2/
Dtile_1.mod.py23 input_values = [1.2, -3.4, 5.6] variable
25 output_values = input_values + input_values
38 input0: input_values,
Dtanh_v1_2.mod.py43 input_values = list(range(256)) variable
44 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
47 input0: input_values,
Dlogistic_v1_2.mod.py48 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])() variable
49 input0 = {i0: input_values}
50 output_values = [1. / (1. + math.exp(-x)) for x in input_values]
Drelu1_v1_2.mod.py42 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
43 input0 = {i0: input_values}
44 output_values = [-1 if x < -1 else 1 if x > 1 else x for x in input_values]
Drelu6_v1_2.mod.py42 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
43 input0 = {i0: input_values}
44 output_values = [0 if x < 0 else 6 if x > 6 else x for x in input_values]
Dtile_3.mod.py23 input_values = [11, 12, 13, variable
47 input0: input_values,
Dtile_2.mod.py23 input_values = [11, 12, 13, variable
47 input0: input_values,
/frameworks/ml/nn/runtime/test/specs/V1_0/
Drelu1_quant8_2.mod.py33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable
34 input0 = {i0: input_values}
35 output_values = [127 if x < 127 else 129 if x > 129 else x for x in input_values]
Drelu6_quant8_2.mod.py33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable
34 input0 = {i0: input_values}
35 output_values = [128 if x < 128 else 134 if x > 134 else x for x in input_values]
Dlogistic_float_2.mod.py33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])() variable
34 input0 = {i0: input_values}
35 output_values = [1. / (1. + math.exp(-x)) for x in input_values]
Drelu1_float_2.mod.py33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
34 input0 = {i0: input_values}
35 output_values = [-1 if x < -1 else 1 if x > 1 else x for x in input_values]
Drelu6_float_2.mod.py33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
34 input0 = {i0: input_values}
35 output_values = [0 if x < 0 else 6 if x > 6 else x for x in input_values]
Dlogistic_quant8_2.mod.py33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable
34 input0 = {i0: input_values}
38 for x in input_values]
Drelu_quant8_2.mod.py33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable
34 input0 = {i0: input_values}
Drelu_float_2.mod.py33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() variable
34 input0 = {i0: input_values}
Davg_pool_float_4.mod.py45 input_values = [10 for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
Davg_pool_float_2.mod.py45 input_values = [1. for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
Davg_pool_quant8_2.mod.py45 input_values = [255 for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
Davg_pool_quant8_3.mod.py45 input_values = [x % 4 * 2 for x in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
Davg_pool_float_3.mod.py45 input_values = [x % 2 for x in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dlogistic_float_2_relaxed.mod.py34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])() variable
35 input0 = {i0: input_values}
36 output_values = [1. / (1. + math.exp(-x)) for x in input_values]
Drelu6_float_2_relaxed.mod.py34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
35 input0 = {i0: input_values}
36 output_values = [0 if x < 0 else 6 if x > 6 else x for x in input_values]
Drelu1_float_2_relaxed.mod.py34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])() variable
35 input0 = {i0: input_values}
36 output_values = [-1 if x < -1 else 1 if x > 1 else x for x in input_values]
Drelu_float_2_relaxed.mod.py34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() variable
35 input0 = {i0: input_values}
Davg_pool_float_4_relaxed.mod.py46 input_values = [10 for _ in range(bat * row * col * chn)] variable
47 input0 = {i0: input_values}

12