Home
last modified time | relevance | path

Searched refs:Dimensions (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/NeuralNetworks/common/include/
DBufferTracker.h57 ErrorStatus validateCopyFrom(const Dimensions& dimensions, uint32_t size) const;
60 bool updateDimensions(const Dimensions& dimensions);
69 const Dimensions kInitialDimensions;
70 Dimensions mUpdatedDimensions GUARDED_BY(mMutex);
DLegacyUtils.h192 bool tensorHasUnspecifiedDimensions(OperandType type, const Dimensions& dimensions);
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntry.java29 import android.os.BatteryConsumer.Dimensions;
80 static final Dimensions[] BATTERY_DIMENSIONS =
81 new Dimensions[] {
82 new Dimensions(
85 new Dimensions(
88 new Dimensions(
91 new Dimensions(
651 final UidBatteryConsumer uidBatteryConsumer, final Dimensions dimension) { in safeGetConsumedPower()
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.h381 const Dimensions* outputDimensions) { in mapOutputToInput()
392 uint32_t length, const Dimensions& dimensions = {}) {
397 uint32_t length, const Dimensions& dimensions = {}) {
427 const Dimensions* builderDimensions = nullptr);
435 uint32_t offset, uint32_t length, const Dimensions& dimensions,
DExecutionPlan.h146 const Dimensions& initialDimensions, uint32_t initialLength, uint32_t alignment,
158 bool redeclare(SourceOperandIndex sourceOperandIndex, const Dimensions& newDimensions,
187 const Dimensions* dimensions;
203 Dimensions dimensions;
DExecutionBuilder.cpp1392 const Dimensions* builderDimensions) { in mapInputOrOutput()
1424 uint32_t length, const Dimensions& dimensions, in setInputOrOutputFromMemory()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypeUtils.h51 std::optional<size_t> getNonExtensionSize(OperandType operandType, const Dimensions& dimensions);
54 bool tensorHasUnspecifiedDimensions(OperandType type, const Dimensions& dimensions);
64 Result<Dimensions> combineDimensions(const Dimensions& lhs, const Dimensions& rhs);
DTypes.h207 using Dimensions = std::vector<Dimension>; variable
573 Dimensions dimensions;
836 Dimensions dimensions;
910 Dimensions dimensions;
DIBuffer.h62 const Dimensions& dimensions) const = 0;
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.cpp39 GeneralResult<void> copyFromInternal(const SharedMemory& src, const Dimensions& dimensions, in copyFromInternal()
88 GeneralResult<void> Buffer::copyFrom(const SharedMemory& src, const Dimensions& dimensions) const { in copyFrom()
DCanonicalBuffer.h38 const Dimensions& dimensions) const override;
DCanonicalDevice.cpp84 std::string toString(const Dimensions& dimensions) { in toString()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DModel.proto178 message Dimensions { message
184 Dimensions dimensions = 2;
DGenerateCorpus.cpp62 Dimensions convertDimensions(const std::vector<uint32_t>& dimensions) { in convertDimensions()
63 Dimensions protoDimensions; in convertDimensions()
DConverter.cpp57 std::vector<uint32_t> convert(const Dimensions& dimensions) { in convert()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp196 ShimBuffer(const NnApiSupportLibrary* nnApi, const ::android::nn::Dimensions initialDimensions, in ShimBuffer()
207 const ::android::nn::Dimensions& dimensions) { in tensorHasUnspecifiedDimensions()
217 bool validateDimensions(const ::android::nn::Dimensions& dimensions) { in validateDimensions()
311 const ::android::nn::Dimensions kInitialDimensions;
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp176 std::optional<size_t> getNonExtensionSize(OperandType operandType, const Dimensions& dimensions) { in getNonExtensionSize()
243 Result<Dimensions> combineDimensions(const Dimensions& lhs, const Dimensions& rhs) { in combineDimensions()
251 Dimensions combined = lhs; in combineDimensions()
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpage.h98 Rectangle_i Dimensions() const;
Dtext_test.cc146 Rectangle_i page_rect = page->Dimensions(); in TEST()
Dpage.cc76 Rectangle_i Page::Dimensions() const { in Dimensions() function in pdfClient::Page
128 output = Intersect(output, Dimensions()); in ApplyPageTransform()
Dpdf_document_jni.cc125 Rectangle_i dimensions = page->Dimensions(); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions()
/packages/modules/NeuralNetworks/common/
DUtilsTest.cpp245 TEST_F(CombineDimensionsTest, Dimensions) { in TEST_F() argument
/packages/modules/NeuralNetworks/runtime/operation_converters/
DConv2DOperationConverter.cpp80 const Dimensions& dims = inputOperand.dimensions; in decomposeExplicitPadding()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t129 using Dimensions = std::vector<Dimension>;
Dtypes.spec160 %define Dimensions Dimensions
179 %define Dimensions Dimensions
193 %define Dimensions vec<uint32_t>
207 %define Dimensions @@@NOT_DEFINED@@@
6890 * Dimensions of the operand.
7415 * Dimensions of the operand.
7484 %{Dimensions} dimensions;
7894 * Dimensions of the buffer. May have unknown dimensions or rank. A buffer with some number
7898 %{Dimensions} dimensions;

12