Home
last modified time | relevance | path

Searched refs:channelDim (Results 1 – 25 of 59) sorted by relevance

123

/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Ddepthwise_conv2d_v1_2.mod.py35 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.01,…
36 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
41 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.01,…
42 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
74 …f2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.5, …
75 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.125, 0.25, 0.…
102 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.125…
103 …b3: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
130 …f4: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[1.0, …
131 …b4: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 1.0, 0.5, 0.5], …
Dgrouped_conv2d.mod.py45 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
46 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
52 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
53 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
86 …w2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[2.0, …
87 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.625], hide=Tru…
121 …w3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
122 …b3: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125, 0.15] * 3, hid…
Dconv2d_v1_2.mod.py35 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125…
36 … b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625], hide=True)),
63 …f2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5])…
64 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25], hide=True)),
91 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
92 …b3: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.2, 0.15], hid…
119 …f4: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
120 …b4: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.5, 0.25], hid…
125 …f4: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
126 …b4: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 1.0, 1.005], hid…
Dtranspose_conv2d.mod.py46 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
47 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
53 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
54 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
87 …w2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25]…
88 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
Ddepthwise_conv2d_per_channel.mod.py20 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[0.5, 0.5]))
36 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[1.0, 0.5, 1.0, 0.5]))
55 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[1.0, 0.5, 1.0, 0.5]))
Dconv2d_per_channel.mod.py19 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
34 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
63 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
Ddepthwise_conv2d_invalid_filter_dims.mod.py38 SymmPerChannelQuantParams(channelDim=3, scales=[0.01, 0.005, 0.01, 0.005])),
40 SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005, 0.0025], hide=True)),
Dtranspose_conv2d_large.mod.py39 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5] …
40 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
Ddequantize_v1_2.mod.py64 extraParams=SymmPerChannelQuantParams(channelDim=0, scales=[2., 0.5])),
81 channelDim=1, scales=[2., 1., 0.5])),
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dgrouped_conv2d_quant8_signed.mod.py45 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
46 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
52 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
53 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
86 …w2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[2.0, …
87 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.625], hide=Tru…
121 …w3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
122 …b3: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125, 0.15] * 3, hid…
Ddepthwise_conv2d_quant8_signed.mod.py167 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[0.5, 0.5]))
184 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[1.0, 0.5, 1.0, 0.5]))
204 extraParams = SymmPerChannelQuantParams(channelDim=3, scales=[1.0, 0.5, 1.0, 0.5]))
389 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.01,…
390 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
395 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.01,…
396 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
429 …f2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.5, …
430 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.125, 0.25, 0.…
458 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.125…
[all …]
Dtranspose_conv2d_quant8_signed.mod.py39 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5] …
40 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
80 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
81 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
87 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
88 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
122 …w2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25]…
123 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
Dconv2d_quant8_signed.mod.py151 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
166 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
195 …[1, 2, 1, 2, 1, 2], extraParams = SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.75, 1.0]))
225 …f1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125…
226 … b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625], hide=True)),
253 …f2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5])…
254 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25], hide=True)),
281 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
282 …b3: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.2, 0.15], hid…
309 …f4: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
[all …]
Dtranspose_quant8_signed.mod.py39 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5] …
40 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
80 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
81 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
87 …w1: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25,…
88 …b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
122 …w2: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25]…
123 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
/packages/modules/NeuralNetworks/runtime/test/
DTestOperandExtraParams.cpp110 .channelDim = 3, in createSymmPerChannelQuantParams()
182 .channelDim = 7, in TEST_F()
197 .channelDim = 3, in TEST_F()
202 .channelDim = 3, in TEST_F()
219 .channelDim = 3, in TEST_F()
231 .channelDim = 3, in TEST_F()
/packages/modules/NeuralNetworks/common/cpu_operations/
DDequantize.cpp48 const int channelDim = in computePerChannel() local
49 std::get<Operand::SymmPerChannelQuantParams>(inputShape.extraParams).channelDim; in computePerChannel()
51 for (int i = getNumberOfDimensions(inputShape) - 1; i > channelDim; --i) { in computePerChannel()
63 const int scaleIndex = (i / stride) % getSizeOfDimension(inputShape, channelDim); in computePerChannel()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3_cts_only/
Dconv2d_v1_3_invalid_rank.mod.py36 SymmPerChannelQuantParams(channelDim=0, scales=[0.125])),
38 SymmPerChannelQuantParams(channelDim=0, scales=[0.0625], hide=True)),
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DConverter.cpp53 const uint32_t channelDim = params.channel_dim(); in convert() local
54 return {.scales = std::move(scales), .channelDim = channelDim}; in convert()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Ddepthwise_conv2d_per_channel.example.cpp31 .channelDim = 3 in get_test_model_same()
181 .channelDim = 3 in get_test_model_same_all_inputs_as_internal()
365 .channelDim = 3 in get_test_model_same_all_tensors_as_inputs()
515 .channelDim = 3 in get_test_model_same_all_tensors_as_inputs_all_inputs_as_internal()
699 .channelDim = 3 in get_test_model_different()
849 .channelDim = 3 in get_test_model_different_all_inputs_as_internal()
1033 .channelDim = 3 in get_test_model_different_all_tensors_as_inputs()
1183 .channelDim = 3 in get_test_model_different_all_tensors_as_inputs_all_inputs_as_internal()
1367 .channelDim = 3 in get_test_model_layout_nhwc()
1527 .channelDim = 3 in get_test_model_layout_nhwc_all_inputs_as_internal()
[all …]
Dconv2d_per_channel.example.cpp31 .channelDim = 0 in get_test_model()
171 .channelDim = 0 in get_test_model_all_inputs_as_internal()
345 .channelDim = 0 in get_test_model_all_tensors_as_inputs()
485 .channelDim = 0 in get_test_model_all_tensors_as_inputs_all_inputs_as_internal()
659 .channelDim = 0 in get_test_model_layouts_nhwc()
809 .channelDim = 0 in get_test_model_layouts_nhwc_all_inputs_as_internal()
993 .channelDim = 0 in get_test_model_layouts_nhwc_all_tensors_as_inputs()
1143 .channelDim = 0 in get_test_model_layouts_nhwc_all_tensors_as_inputs_all_inputs_as_internal()
1327 .channelDim = 0 in get_test_model_layouts_nchw()
1477 .channelDim = 0 in get_test_model_layouts_nchw_all_inputs_as_internal()
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp82 .channelDim = operand.channelQuant.channelDim}; in createOperand()
/packages/modules/NeuralNetworks/common/types/operations/src/
DTransposeConv2D.cpp44 .channelDim, in validate()
DGroupedConv2D.cpp56 .channelDim == 0) in validate()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/
Dgrouped_conv2d_quant8_signed.example.cpp1491 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8()
1651 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_inputs_as_internal()
1845 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_tensors_as_inputs()
2005 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_tensors_as_inputs_all_inputs_as_internal()
2199 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_2()
2359 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_inputs_as_internal_2()
2553 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_tensors_as_inputs_2()
2713 .channelDim = 0 in get_test_model_nhwc_none_channelQuant8_all_tensors_as_inputs_all_inputs_as_internal_2()
4367 .channelDim = 0 in get_test_model_nhwc_relu_channelQuant8()
4527 .channelDim = 0 in get_test_model_nhwc_relu_channelQuant8_all_inputs_as_internal()
[all …]
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksTypes.h6365 uint32_t channelDim; member

123