Home
last modified time | relevance | path

Searched defs:shape (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/NeuralNetworks/common/types/src/
DOperationsUtils.cpp49 uint32_t getNumberOfElements(const Shape& shape) { in getNumberOfElements()
57 uint32_t getNumberOfElements(const Shape& shape, size_t firstAxisInclusive, in getNumberOfElements()
69 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions()
73 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx) { in getSizeOfDimension()
78 uint32_t hasKnownRank(const Shape& shape) { in hasKnownRank()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DColorOptionsProvider.java92 Drawable shape = loadShape(shapePackage); in loadOptions() local
116 private void addDefault(List<Drawable> previewIcons, Drawable shape) { in addDefault()
162 PathShape shape = new PathShape(PathParser.createPathFromPathData(path), in loadShape() local
DShapeOptionsProvider.java99 PathShape shape = new PathShape(path, PATH_SIZE, PATH_SIZE); in createShapeDrawable() local
135 String shape = overlayRes.getString(overlayRes.getIdentifier(CONFIG_ICON_MASK, "string", in loadPath() local
/packages/modules/NeuralNetworks/common/include/
DCpuOperationUtils.h35 inline tflite::Dims<4> convertShapeToDims(const Shape& shape) { in convertShapeToDims()
56 inline tflite::RuntimeShape convertShapeToTflshape(const Shape& shape) { in convertShapeToTflshape()
162 bool initialize(const T* data, const Shape& shape) { in initialize()
186 bool initialize(T* data, const Shape& shape) { in initialize()
DOperationsExecutionUtils.h79 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis()
268 inline bool transposeFirstTwoDimensions(const T* buffer, const Shape& shape, T* transposedBuffer) { in transposeFirstTwoDimensions()
289 inline bool transposeFirstTwoDimensions(const Shape& shape, Shape* transposedShape) { in transposeFirstTwoDimensions()
DCpuExecutor.h76 Shape shape() const { in shape() function
/packages/modules/NeuralNetworks/common/cpu_operations/
DElementwise.cpp37 const Shape& shape, T* output) { in compute()
46 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute()
DNeg.cpp33 inline bool compute(const T* input, const Shape& shape, T* output) { in compute()
DLogicalNot.cpp29 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
DLogSoftmax.cpp34 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute()
DBatchMatmul.cpp75 Shape swapRowColumnDims(const Shape& shape) { in swapRowColumnDims()
DDensify.cpp47 uint64_t getFlattenedIndex(const std::vector<int32_t>& indices, const std::vector<uint32_t>& shape, in getFlattenedIndex()
DQuantizedLSTMTest.cpp34 std::vector<uint32_t> shape; member
/packages/modules/Bluetooth/system/embdrv/lc3/src/
Dsns.h39 int shape, gain; member
Dsns.c545 const float *c, int shape, int gain, float *scf) in unquantize()
634 static void enumerate(int shape, const int *c, in enumerate()
650 static void deenumerate(int shape, in deenumerate()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dsub_v1_2.mod.py37 shape = "{2, 4, 16, 2}, 0.5, 0" variable
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dsub_quant8_signed.mod.py86 shape = "{2, 4, 16, 2}, 0.5, -128" variable
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp111 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_2() local
133 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_3() local
150 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously() local
170 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously_1_3() local
/packages/modules/Bluetooth/system/embdrv/lc3/test/
Dsns_py.c94 int shape, gain; in unquantize_py() local
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp71 [](const OutputShape& shape) { return shape.isSufficient; })) in validateOutputShapesFromDriver()
93 [](const OutputShape& shape) { return !shape.isSufficient; })) in validateOutputShapesFromDriver()
1252 for (const auto& shape : from) { in updateOutputShapes() local
/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java379 @Shape final int shape, in setCanonicalDialerLetterTileDetails()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDesktopTaskView.java122 RoundRectShape shape = new RoundRectShape(outerRadii, null, null); in onFinishInflate() local
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java340 PathShape shape = new PathShape(path, PATH_SIZE, PATH_SIZE); in createPreviewInfo() local
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto480 Shape shape = 1; field
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp168 bool setInfoAndAllocateIfNeeded(RunTimeOperandInfo* info, const Shape& shape, int* result) { in setInfoAndAllocateIfNeeded()
244 bool OperationExecutionContext::setOutputShape(uint32_t index, const Shape& shape) { in setOutputShape()

12