Searched refs:getValidator (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | Memory.cpp | 276 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()
|
D | ExecutionBuilder.cpp | 232 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()
|
D | Memory.h | 181 MemoryValidatorBase& getValidator() const { in getValidator() function
|
D | ModelBuilder.cpp | 351 if (!memory->getValidator().validate(/*compilation=*/nullptr, /*placeholder*/ IOType::INPUT, in setOperandValueFromMemory()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ValidatedEditTextPreference.java | 83 public Validator getValidator() { in getValidator() method in ValidatedEditTextPreference
|
D | ValidatedEditTextPreferenceDialogFragment.java | 62 ((ValidatedEditTextPreference) getPreference()).getValidator(); in onBindDialogView()
|