Home
last modified time | relevance | path

Searched refs:bat (Results 1 – 21 of 21) sorted by relevance

/frameworks/ml/nn/runtime/test/specs/V1_3/
Davg_pool_quant8_signed.mod.py39 bat = 5 variable
44 i0 = Input("i0", "TENSOR_QUANT8_ASYMM_SIGNED", "{%d, %d, %d, %d}, 0.5f, -128" % (bat, row, col, chn…
58 "{%d, %d, %d, %d}, 0.5f, -128" % (bat, output_row, output_col, chn))
64 input_values = [127 for _ in range(bat * row * col * chn)]
66 output_values = [127 for _ in range(bat * output_row * output_col * chn)]
76 bat = 1 variable
81 i0 = Input("i0", "TENSOR_QUANT8_ASYMM_SIGNED", "{%d, %d, %d, %d}, 0.5f, -128" % (bat, row, col, chn…
95 "{%d, %d, %d, %d}, 0.5f, -128" % (bat, output_row, output_col, chn))
101 input_values = [x % 4 * 2 - 128 for x in range(bat * row * col * chn)]
103 output_values = [-125 for _ in range(bat * output_row * output_col * chn)]
[all …]
Dmax_pool_quant8_signed.mod.py36 bat = 5 variable
41 i0 = Input("i0", "TENSOR_QUANT8_ASYMM_SIGNED", "{%d, %d, %d, %d}, 0.5f, -128" % (bat, row, col, chn…
55 "{%d, %d, %d, %d}, 0.5f, -128" % (bat, output_row, output_col, chn))
61 input_range = bat * row * col * chn
63 output_range = bat * output_row * output_col * chn
75 bat = 5 variable
80 i0 = Input("i0", "TENSOR_QUANT8_ASYMM_SIGNED", "{%d, %d, %d, %d}, 0.5f, -128" % (bat, row, col, chn…
94 "{%d, %d, %d, %d}, 0.5f, -128" % (bat, output_row, output_col, chn))
100 input_range = bat * row * col * chn
102 output_range = bat * output_row * output_col * chn
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Davg_pool_v1_2.mod.py38 bat = 5 variable
50 i2 = Input("op1", ("TENSOR_FLOAT32", [bat, row, col, chn]))
51 o2 = Output("op4", ("TENSOR_FLOAT32", [bat, output_row, output_col, chn]))
62 i2: [1. for _ in range(bat * row * col * chn)],
63 o2: [1. for _ in range(bat * output_row * output_col * chn)]
68 bat = 1 variable
78 i3 = Input("op1", ("TENSOR_FLOAT32", [bat, row, col, chn]))
79 o3 = Output("op4", ("TENSOR_FLOAT32", [bat, output_row, output_col, chn]))
90 i3: [x % 2 for x in range(bat * row * col * chn)],
91 o3: [.5 for _ in range(bat * output_row * output_col * chn)]
[all …]
Dmax_pool_v1_2.mod.py38 bat = 5 variable
48 i2 = Input("op1", ("TENSOR_FLOAT32", [bat, row, col, chn]))
49 o2 = Output("op4", ("TENSOR_FLOAT32", [bat, output_row, output_col, chn]))
60 i2: [x % std + 1 for x in range(bat * row * col * chn)],
61 o2: [std for _ in range(bat * output_row * output_col * chn)]
66 bat = 5 variable
76 i3 = Input("op1", ("TENSOR_FLOAT32", [bat, row, col, chn]))
77 o3 = Output("op4", ("TENSOR_FLOAT32", [bat, output_row, output_col, chn]))
88 i3: [x % std + 1 for x in range(bat * row * col * chn)],
89 o3: [6 for _ in range(bat * output_row * output_col * chn)]
/frameworks/ml/nn/runtime/test/specs/V1_0/
Davg_pool_quant8_3.mod.py20 bat = 1 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}, 0.5f, 0" % (bat, output_row, output_col, chn))
45 input_values = [x % 4 * 2 for x in range(bat * row * col * chn)]
47 output_values = [3 for _ in range(bat * output_row * output_col * chn)]
Davg_pool_float_4.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
45 input_values = [10 for _ in range(bat * row * col * chn)]
47 output_values = [6 for _ in range(bat * output_row * output_col * chn)]
Davg_pool_quant8_2.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}, 0.5f, 0" % (bat, output_row, output_col, chn))
45 input_values = [255 for _ in range(bat * row * col * chn)]
47 output_values = [255 for _ in range(bat * output_row * output_col * chn)]
Davg_pool_float_2.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
45 input_values = [1. for _ in range(bat * row * col * chn)]
47 output_values = [1. for _ in range(bat * output_row * output_col * chn)]
Davg_pool_float_3.mod.py20 bat = 1 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
45 input_values = [x % 2 for x in range(bat * row * col * chn)]
47 output_values = [.5 for _ in range(bat * output_row * output_col * chn)]
Dmax_pool_quant8_3.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}, 0.5f, 0" % (bat, output_row, output_col, chn))
45 input_range = bat * row * col * chn
48 output_range = bat * output_row * output_col * chn
Dmax_pool_float_3.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
45 input_range = bat * row * col * chn
48 output_range = bat * output_row * output_col * chn
Dmax_pool_float_2.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
45 input_range = bat * row * col * chn
48 output_range = bat * output_row * output_col * chn
Dmax_pool_quant8_2.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}, 0.5f, 0" % (bat, output_row, output_col, chn))
45 input_range = bat * row * col * chn
48 output_range = bat * output_row * output_col * chn
/frameworks/ml/nn/runtime/test/specs/V1_1/
Davg_pool_float_3_relaxed.mod.py20 bat = 1 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
46 input_values = [x % 2 for x in range(bat * row * col * chn)]
48 output_values = [.5 for _ in range(bat * output_row * output_col * chn)]
Davg_pool_float_2_relaxed.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
41 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
48 input_values = [1. for _ in range(bat * row * col * chn)]
50 output_values = [1. for _ in range(bat * output_row * output_col * chn)]
Davg_pool_float_4_relaxed.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
46 input_values = [10 for _ in range(bat * row * col * chn)]
48 output_values = [6 for _ in range(bat * output_row * output_col * chn)]
Dmax_pool_float_3_relaxed.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
46 input_range = bat * row * col * chn
49 output_range = bat * output_row * output_col * chn
Dmax_pool_float_2_relaxed.mod.py20 bat = 5 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
39 "{%d, %d, %d, %d}" % (bat, output_row, output_col, chn))
46 input_range = bat * row * col * chn
49 output_range = bat * output_row * output_col * chn
/frameworks/compile/mclinker/unittests/
Dtest3.txt233 echo "==> Adding updated djunpack.bat to top-level directory"
235 sed < djunpack.bat > djunpack.new \
237 -rm -f proto-toplev/djunpack.bat
238 mv djunpack.new proto-toplev/djunpack.bat
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp406 <enum name="bat" value="0x1"/> in TEST_F()
436 <flag name="bat" value="1"/> in TEST_F()
468 <enum name="bat" value="1"/> in TEST_F()
469 <enum name="bat" value="2"/> in TEST_F()
478 <item name="bat">@string/hey</item> in TEST_F()
599 attr = test::GetValue<Attribute>(&table_, "attr/bat"); in TEST_F()
615 EXPECT_THAT(styleable->entries[1].name, Eq(make_value(test::ParseNameOrDie("attr/bat")))); in TEST_F()
/frameworks/base/core/java/android/os/
DBatteryStats.java1848 int bat = (((int)cmd)&0xff) in writeToParcel() local
1856 dest.writeInt(bat); in writeToParcel()
1857 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1859 dest.writeInt(bat); in writeToParcel()
1883 int bat = src.readInt(); in readFromParcel() local
1884 cmd = (byte)(bat&0xff); in readFromParcel()
1885 batteryLevel = (byte)((bat>>8)&0xff); in readFromParcel()
1886 batteryStatus = (byte)((bat>>16)&0xf); in readFromParcel()
1887 batteryHealth = (byte)((bat>>20)&0xf); in readFromParcel()
1888 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()
[all …]