Home
last modified time | relevance | path

Searched refs:numGroups (Results 1 – 18 of 18) sorted by relevance

/frameworks/ml/nn/common/operations/
DChannelShuffle.cpp41 inline bool eval(const T* inputData, const Shape& inputShape, int32_t numGroups, int32_t axis, in eval() argument
47 const uint32_t groupSize = axisSize / numGroups; in eval()
53 for (uint32_t j = 0; j < static_cast<uint32_t>(numGroups); in eval()
87 int32_t numGroups = context->getInputValue<int32_t>(kNumGroups); in prepare() local
90 NN_RET_CHECK(numGroups > 0); in prepare()
91 NN_RET_CHECK(getSizeOfDimension(input, axis) % numGroups == 0); in prepare()
96 int32_t numGroups = context->getInputValue<int32_t>(kNumGroups); in execute() local
102 context->getInputShape(kInputTensor), numGroups, axis, in execute()
106 context->getInputShape(kInputTensor), numGroups, axis, in execute()
110 context->getInputShape(kInputTensor), numGroups, axis, in execute()
[all …]
DGroupedConv2D.cpp44 uint32_t outputGroupDepth = outputDepth / numGroups;
50 int32_t numGroups, int32_t activation, float* outputData, in groupedConvFloat32() argument
64 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvFloat32()
108 int32_t numGroups, int32_t activation, T* outputData, in groupedConvQuant8() argument
136 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvQuant8()
187 int32_t numGroups, int32_t activation, int8_t* outputData,
196 int32_t numGroups, int32_t activation, uint8_t* outputData,
205 int32_t stride_width, int32_t stride_height, int32_t numGroups, in groupedConvQuant8PerChannel() argument
240 for (uint32_t g = 0; g < numGroups; g++) { in groupedConvQuant8PerChannel()
289 int32_t stride_width, int32_t stride_height, int32_t numGroups, in groupedConvFloat16() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabelsTest.java101 int numGroups = getActivity().getNumButtons(); in testArrowScrollDownToBottomElementOnScreen() local
102 Button lastButton = getActivity().getButton(numGroups - 1); in testArrowScrollDownToBottomElementOnScreen()
109 for (int i = 0; i < numGroups; i++) { in testArrowScrollDownToBottomElementOnScreen()
125 int numGroups = goToBottomButton(); in testArrowScrollUpOffScreenVerticalFadingEdge() local
130 int clicksToOffScreenIndex = numGroups - offScreenIndex - 1; in testArrowScrollUpOffScreenVerticalFadingEdge()
/frameworks/ml/nn/common/include/
DOperations.h146 const _Float16* biasData, const Shape& biasShape, int32_t numGroups,
153 int32_t numGroups, int32_t padding_left, int32_t padding_right,
161 int32_t numGroups, int32_t padding_left, int32_t padding_right,
172 int32_t stride_width, int32_t stride_height, int32_t numGroups,
175 bool channelShuffleGeneric(const uint8_t* inputData, const Shape& inputShape, int32_t numGroups,
DOperationsUtils.h338 int32_t numGroups, Shape* output);
/frameworks/base/core/java/android/util/
DPatterns.java471 final int numGroups = matcher.groupCount(); in concatGroups() local
473 for (int i = 1; i <= numGroups; i++) { in concatGroups()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp534 RandomVariable numGroups = op->inputs[9]->value<RandomVariable>(); in groupedConv2DExplicitConstructor() local
537 op->inputs[0]->dimensions = {RandomVariableType::FREE, numGroups * channelGroup, in groupedConv2DExplicitConstructor()
541 RandomVariableType::FREE, numGroups * channelGroup}; in groupedConv2DExplicitConstructor()
548 (op->inputs[1]->dimensions[0] % numGroups).setEqual(0); in groupedConv2DExplicitConstructor()
586 RandomVariable numGroups = op->inputs[6]->value<RandomVariable>(); in groupedConv2DImplicitConstructor() local
589 op->inputs[0]->dimensions = {RandomVariableType::FREE, numGroups * channelGroup, in groupedConv2DImplicitConstructor()
593 RandomVariableType::FREE, numGroups * channelGroup}; in groupedConv2DImplicitConstructor()
600 (op->inputs[1]->dimensions[0] % numGroups).setEqual(0); in groupedConv2DImplicitConstructor()
DReshape.cpp430 int32_t numGroups = op->inputs[1]->value<int32_t>(); in channelShuffleConstructor() local
432 (op->inputs[0]->dimensions[axis] % numGroups).setEqual(0); in channelShuffleConstructor()
/frameworks/ml/nn/common/
DCpuExecutor.cpp1529 int32_t numGroups; in executeOperation() local
1540 numGroups = getScalarData<int32_t>(operands[ins[9]]); in executeOperation()
1547 numGroups = getScalarData<int32_t>(operands[ins[6]]); in executeOperation()
1580 stride_height, numGroups, &outShape) || in executeOperation()
1593 numGroups, activation, reinterpret_cast<float*>(output_tmp.buffer), in executeOperation()
1601 numGroups, activation, reinterpret_cast<_Float16*>(output_tmp.buffer), in executeOperation()
1611 stride_height, numGroups, activation, in executeOperation()
1619 stride_height, numGroups, activation, in executeOperation()
1630 stride_height, numGroups, activation, in executeOperation()
1638 stride_height, numGroups, activation, in executeOperation()
DOperationsUtils.cpp716 int32_t numGroups, Shape* output) { in groupedConvPrepare() argument
735 NN_OPS_CHECK(getSizeOfDimension(filter, 3) * numGroups == getSizeOfDimension(input, 3)); in groupedConvPrepare()
736 NN_OPS_CHECK(getSizeOfDimension(filter, 0) % numGroups == 0); in groupedConvPrepare()
/frameworks/base/core/java/android/widget/
DExpandableListConnector.java749 int numGroups = mExpandableListAdapter.getGroupCount(); in setExpandedGroupMetadataList() local
751 if (expandedGroupMetadataList.get(i).gPos >= numGroups) { in setExpandedGroupMetadataList()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java555 int numGroups = mGroups.size(); in updateHistoricMessageVisibility() local
556 for (int i = 0; i < numGroups; i++) { in updateHistoricMessageVisibility()
DConversationLayout.java1127 int numGroups = mGroups.size(); in updateHistoricMessageVisibility() local
1128 for (int i = 0; i < numGroups; i++) { in updateHistoricMessageVisibility()
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp119 uint32_t numGroups = ranges.size() / 2; in buildCmapFormat12Table() local
123 12 /* size of a group */ * numGroups; in buildCmapFormat12Table()
131 head = writeU32(numGroups, out.data(), head); // numGroups in buildCmapFormat12Table()
133 for (uint32_t i = 0; i < numGroups; ++i) { in buildCmapFormat12Table()
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp1329 uint32_t numGroups = static_cast<uint32_t>(reply.readInt32()); in listAudioVolumeGroups() local
1330 for (size_t i = 0; i < numGroups; i++) { in listAudioVolumeGroups()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in220 void API_ENTRY(glGetPerfMonitorGroupsAMD)(GLint *numGroups, GLsizei groupsSize, GLuint *groups) {
221 CALL_GL_API(glGetPerfMonitorGroupsAMD, numGroups, groupsSize, groups);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h813 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize,…
825 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint…
/frameworks/native/opengl/libs/
Dentries.in400 GL_ENTRY(void, glGetPerfMonitorGroupsAMD, GLint *numGroups, GLsizei groupsSize, GLuint *groups)