Home
last modified time | relevance | path

Searched refs:filterData (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DGroupedConv2D.cpp50 bool groupedConvFloat32(const float* inputData, const Shape& inputShape, const float* filterData, in groupedConvFloat32() argument
67 const float* filterBase = filterData; in groupedConvFloat32()
108 bool groupedConvQuant8(const T* inputData, const Shape& inputShape, const T* filterData, in groupedConvQuant8() argument
139 const T* filterBase = filterData; in groupedConvQuant8()
186 const int8_t* filterData, const Shape& filterShape,
195 const uint8_t* filterData, const Shape& filterShape,
205 const int8_t* filterData, const Shape& filterShape, in groupedConvQuant8PerChannel() argument
244 const int8_t* filterBase = filterData; in groupedConvQuant8PerChannel()
291 const _Float16* filterData, const Shape& filterShape, in groupedConvFloat16() argument
304 convertFloat16ToFloat32(filterData, &filterData_float32); in groupedConvFloat16()
[all …]
DDepthwiseConv2D.cpp129 bool depthwiseConvNhwc(const float* inputData, const Shape& inputShape, const float* filterData, in depthwiseConvNhwc() argument
156 convertShapeToTflshape(filterShape), filterData, in depthwiseConvNhwc()
164 const _Float16* filterData, const Shape& filterShape, in depthwiseConvNhwc() argument
174 convertFloat16ToFloat32(filterData, &filterDataFloat32); in depthwiseConvNhwc()
189 bool depthwiseConvNhwc(const uint8_t* inputData, const Shape& inputShape, const uint8_t* filterData, in depthwiseConvNhwc() argument
232 convertShapeToTflshape(filterShape), filterData, in depthwiseConvNhwc()
240 bool depthwiseConvNhwc(const int8_t* inputData, Shape inputShape, const int8_t* filterData, in depthwiseConvNhwc() argument
254 convertInt8ToUInt8(filterData, &unsignedFilter); in depthwiseConvNhwc()
273 const T* inputData, const Shape& inputShape, const int8_t* filterData, in depthwiseConvQuant8PerChannelNhwc() argument
344 sum += (static_cast<int32_t>(filterData[filterIndex])) * in depthwiseConvQuant8PerChannelNhwc()
[all …]
DConv2D.cpp191 bool convNhwc(const float* inputData, const Shape& inputShape, const float* filterData, in convNhwc() argument
212 inputData, convertShapeToDims(inputShape), filterData, convertShapeToDims(filterShape), in convNhwc()
220 bool convNhwc(const uint8_t* inputData, const Shape& inputShape, const uint8_t* filterData, in convNhwc() argument
261 tflite::optimized_ops::Conv(inputData, convertShapeToDims(inputShape), inputOffset, filterData, in convNhwc()
274 bool convNhwc(const int8_t* inputData, Shape inputShape, const int8_t* filterData, in convNhwc() argument
287 convertInt8ToUInt8(filterData, &unsignedFilter); in convNhwc()
303 bool convNhwc(const _Float16* inputData, const Shape& inputShape, const _Float16* filterData, in convNhwc() argument
317 convertFloat16ToFloat32(filterData, &filterData_float32); in convNhwc()
330 bool conv(const T_Input* inputData, const Shape& inputShape, const T_Filter* filterData, in conv() argument
340 NN_RET_CHECK(convNhwc(input.getNhwcBuffer(), input.getNhwcShape(), filterData, filterShape, in conv()
[all …]
DTransposeConv2D.cpp122 bool transposeConvNhwc(const float* inputData, const Shape& inputShape, const float* filterData, in transposeConvNhwc() argument
142 const float* filterBase = filterData; in transposeConvNhwc()
179 bool transposeConvNhwc(const T* inputData, const Shape& inputShape, const T* filterData, in transposeConvNhwc() argument
243 (static_cast<int32_t>(filterData[filterIndex]) + in transposeConvNhwc()
274 const _Float16* filterData, const Shape& filterShape, in transposeConvNhwc() argument
285 convertFloat16ToFloat32(filterData, &filterData_float32); in transposeConvNhwc()
297 bool transposeConv(const T_Input* inputData, const Shape& inputShape, const T_Filter* filterData, in transposeConv() argument
305 NN_RET_CHECK(transposeConvNhwc(input.getNhwcBuffer(), input.getNhwcShape(), filterData, in transposeConv()
314 const int8_t* filterData, const Shape& filterShape, in transposeConvQuant8PerChannelNhwc() argument
385 static_cast<int32_t>(filterData[filterIndex]); in transposeConvQuant8PerChannelNhwc()
[all …]
/packages/modules/NeuralNetworks/common/include/
DOperations.h36 const _Float16* filterData, const Shape& filterShape,
42 bool depthwiseConvFloat32(const float* inputData, const Shape& inputShape, const float* filterData,
50 const uint8_t* filterData, const Shape& filterShape,
57 const int8_t* filterData, const Shape& filterShape,
132 const _Float16* filterData, const Shape& filterShape,
138 bool groupedConvFloat32(const float* inputData, const Shape& inputShape, const float* filterData,
146 bool groupedConvQuant8(const T* inputData, const Shape& inputShape, const T* filterData,
155 const int8_t* filterData, const Shape& filterShape,
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DAttributionConfigTest.java77 FilterMap filterData = attributionConfig.getFilterData(); in testCreation() local
78 assertEquals(1, filterData.getAttributionFilterMap().get("campaign_type").size()); in testCreation()
127 FilterMap filterData = in testHashCode_notEquals() local
139 .setFilterData(filterData) in testHashCode_notEquals()
241 FilterMap filterData = new FilterMap.Builder().buildFilterData(filterDataMap).build(); in createExampleAttributionConfig() local
251 .setFilterData(filterData) in createExampleAttributionConfig()
272 FilterMap filterData = in createExample() local
283 .setFilterData(filterData) in createExample()
DTriggerTest.java983 JSONObject filterData = new JSONObject(); in createAttributionConfigJSONArray() local
984 filterData.put("campaign_type", new JSONArray(Arrays.asList("install"))); in createAttributionConfigJSONArray()
986 filterDataSet.put(filterData); in createAttributionConfigJSONArray()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DXnaSourceCreator.java191 .map(filterData -> filterData.serializeAsJson(mFlags))
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttributionConfig.java368 public Builder setFilterData(@Nullable FilterMap filterData) { in setFilterData() argument
369 mFilterData = filterData; in setFilterData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java3217 String filterData = in testBasicSourceRequestWithFilterData() local
3232 + filterData in testBasicSourceRequestWithFilterData()
3260 String filterData = in sourceRequest_filterDataIncludesSourceType_fails() local
3274 + filterData in sourceRequest_filterDataIncludesSourceType_fails()
3293 String filterData = in sourceRequest_filterDataIncludesReservedPrefix_fails() local
3307 + filterData in sourceRequest_filterDataIncludesReservedPrefix_fails()
3326 String filterData = in testSourceRequest_filterData_invalidJson() local
3341 + filterData in testSourceRequest_filterData_invalidJson()
3364 String filterData = " \"filter_data\": " + filters + "\n"; in testSourceRequest_filterData_tooManyFilters() local
3378 + filterData in testSourceRequest_filterData_tooManyFilters()
[all …]
DAsyncTriggerFetcherTest.java5106 FilterMap filterData = in triggerRequest_appRegWithValidAttributionConfig_parsesCorrectly() local
5121 .setFilterData(filterData) in triggerRequest_appRegWithValidAttributionConfig_parsesCorrectly()
5210 FilterMap filterData = in triggerRequest_allowListedWebRegWithValidAttributionConfig_parsesCorrectly() local
5225 .setFilterData(filterData) in triggerRequest_allowListedWebRegWithValidAttributionConfig_parsesCorrectly()