/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | tile_1.mod.py | 23 input_values = [1.2, -3.4, 5.6] variable 25 output_values = input_values + input_values 38 input0: input_values,
|
D | tanh_v1_2.mod.py | 43 input_values = list(range(256)) variable 44 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values] 47 input0: input_values,
|
D | logistic_v1_2.mod.py | 48 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]
|
D | relu1_v1_2.mod.py | 42 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]
|
D | relu6_v1_2.mod.py | 42 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]
|
D | tile_3.mod.py | 23 input_values = [11, 12, 13, variable 47 input0: input_values,
|
D | tile_2.mod.py | 23 input_values = [11, 12, 13, variable 47 input0: input_values,
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | relu1_quant8_2.mod.py | 33 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]
|
D | relu6_quant8_2.mod.py | 33 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]
|
D | logistic_float_2.mod.py | 33 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]
|
D | relu1_float_2.mod.py | 33 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]
|
D | relu6_float_2.mod.py | 33 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]
|
D | logistic_quant8_2.mod.py | 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable 34 input0 = {i0: input_values} 38 for x in input_values]
|
D | relu_quant8_2.mod.py | 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() variable 34 input0 = {i0: input_values}
|
D | relu_float_2.mod.py | 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() variable 34 input0 = {i0: input_values}
|
D | avg_pool_float_4.mod.py | 45 input_values = [10 for _ in range(bat * row * col * chn)] variable 46 input0 = {i0: input_values}
|
D | avg_pool_float_2.mod.py | 45 input_values = [1. for _ in range(bat * row * col * chn)] variable 46 input0 = {i0: input_values}
|
D | avg_pool_quant8_2.mod.py | 45 input_values = [255 for _ in range(bat * row * col * chn)] variable 46 input0 = {i0: input_values}
|
D | avg_pool_quant8_3.mod.py | 45 input_values = [x % 4 * 2 for x in range(bat * row * col * chn)] variable 46 input0 = {i0: input_values}
|
D | avg_pool_float_3.mod.py | 45 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/ |
D | logistic_float_2_relaxed.mod.py | 34 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]
|
D | relu6_float_2_relaxed.mod.py | 34 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]
|
D | relu1_float_2_relaxed.mod.py | 34 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]
|
D | relu_float_2_relaxed.mod.py | 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() variable 35 input0 = {i0: input_values}
|
D | avg_pool_float_4_relaxed.mod.py | 46 input_values = [10 for _ in range(bat * row * col * chn)] variable 47 input0 = {i0: input_values}
|