Searched refs:input_values (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/ml/nn/runtime/test/specs/V1_0/
H A 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]
H A 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]
H A 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]
H A 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]
H A 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]
H A 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]
H A 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}
H A Drelu_quant8_2.mod.py33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable
34 input0 = {i0: input_values}
H A Davg_pool_float_2.mod.py45 input_values = [1. for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
H A Davg_pool_float_3.mod.py45 input_values = [x % 2 for x in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
H A Davg_pool_float_4.mod.py45 input_values = [10 for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
H A Davg_pool_quant8_2.mod.py45 input_values = [255 for _ in range(bat * row * col * chn)] variable
46 input0 = {i0: input_values}
H A 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}
H A Dmax_pool_float_2.mod.py46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() variable
47 input0 = {i0: input_values}
H A Dmax_pool_float_3.mod.py46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() variable
47 input0 = {i0: input_values}
H A Dmax_pool_quant8_2.mod.py46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() variable
47 input0 = {i0: input_values}
H A Dmax_pool_quant8_3.mod.py46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() variable
47 input0 = {i0: input_values}
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A 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]
H A 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]
H A 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]
H A 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}
H A Davg_pool_float_2_relaxed.mod.py46 input_values = [1. for _ in range(bat * row * col * chn)] variable
47 input0 = {i0: input_values}
H A Davg_pool_float_3_relaxed.mod.py46 input_values = [x % 2 for x in range(bat * row * col * chn)] variable
47 input0 = {i0: input_values}
H A Davg_pool_float_4_relaxed.mod.py46 input_values = [10 for _ in range(bat * row * col * chn)] variable
47 input0 = {i0: input_values}
H A Dmax_pool_float_2_relaxed.mod.py47 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() variable
48 input0 = {i0: input_values}

Completed in 16 milliseconds

12