Home
last modified time | relevance | path

Searched refs:getValidator (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DMemory.cpp276 if (!src.getValidator().isInitialized()) { in copyInternal()
281 const auto srcMetadata = src.getValidator().getMetadata(); in copyInternal()
282 if (!dst.getValidator().updateMetadata(srcMetadata)) { in copyInternal()
305 dst.getValidator().setInitialized(n == ANEURALNETWORKS_NO_ERROR); in copy()
DExecutionBuilder.cpp232 if (!memory->getValidator().validate(mCompilation, IOType::INPUT, index, type, offset, in setInputFromMemory()
313 if (!memory->getValidator().validate(mCompilation, IOType::OUTPUT, index, type, offset, in setOutputFromMemory()
1072 if (!memory->getValidator().validateInputDimensions(p.dimensions())) { in compute()
1192 NN_RET_CHECK(memory->getValidator().updateMetadata({.dimensions = output.dimensions()})); in updateMemories()
1207 memory->getValidator().setInitialized(success); in finishComputation()
1611 if (mMemories[poolIndex]->getValidator().createdWithUnknownShape()) { in computeOnCpuFallback()
1624 const uint32_t size = memory->getValidator().getMetadata().logicalSize; in computeOnCpuFallback()
DMemory.h181 MemoryValidatorBase& getValidator() const { in getValidator() function
DModelBuilder.cpp351 if (!memory->getValidator().validate(/*compilation=*/nullptr, /*placeholder*/ IOType::INPUT, in setOperandValueFromMemory()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreference.java83 public Validator getValidator() { in getValidator() method in ValidatedEditTextPreference
DValidatedEditTextPreferenceDialogFragment.java62 ((ValidatedEditTextPreference) getPreference()).getValidator(); in onBindDialogView()