Home
last modified time | relevance | path

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

/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()
DOperationsUtils.h144 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis()
326 inline bool transposeFirstTwoDimensions(const T* buffer, const Shape& shape, T* transposedBuffer) { in transposeFirstTwoDimensions()
347 inline bool transposeFirstTwoDimensions(const Shape& shape, Shape* transposedShape) { in transposeFirstTwoDimensions()
DCpuExecutor.h76 Shape shape() const { in shape() function
/packages/modules/NeuralNetworks/common/operations/
DLogicalNot.cpp34 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
DNeg.cpp40 inline bool compute(const T* input, const Shape& shape, T* output) { in compute()
DLogSoftmax.cpp42 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute()
DElementwise.cpp38 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute()
DQuantizedLSTMTest.cpp34 std::vector<uint32_t> shape; member
DGenerateProposals.cpp557 uint8_t castTo(float val, const Shape& shape) { in castTo()
562 int8_t castTo(float val, const Shape& shape) { in castTo()
/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/common/
DOperationsUtils.cpp134 uint32_t getNumberOfElements(const Shape& shape) { in getNumberOfElements()
142 uint32_t getNumberOfElements(const Shape& shape, size_t firstAxisInclusive, in getNumberOfElements()
154 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions()
158 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx) { in getSizeOfDimension()
163 uint32_t hasKnownRank(const Shape& shape) { in hasKnownRank()
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()
/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
DTestValidateOperations.cpp1662 ANeuralNetworksOperandType shape = getOpType(ANEURALNETWORKS_TENSOR_INT32, 1, shapeDims); in reshapeOpTest() local
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp70 [](const OutputShape& shape) { return shape.isSufficient; })) in validateOutputShapesFromDriver()
92 [](const OutputShape& shape) { return !shape.isSufficient; })) in validateOutputShapesFromDriver()
1205 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/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.proto389 Shape shape = 1; field
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py185 def GetTypeFromString(vt, shape, extraParams=None): argument
193 def GetParsedShape(shape): argument