/packages/modules/NeuralNetworks/common/types/src/ |
D | OperationsUtils.cpp | 49 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/modules/NeuralNetworks/common/include/ |
D | CpuOperationUtils.h | 35 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()
|
D | OperationsExecutionUtils.h | 79 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()
|
D | CpuExecutor.h | 76 Shape shape() const { in shape() function
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Elementwise.cpp | 37 const Shape& shape, T* output) { in compute() 46 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute()
|
D | LogicalNot.cpp | 29 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
|
D | Neg.cpp | 33 inline bool compute(const T* input, const Shape& shape, T* output) { in compute()
|
D | LogSoftmax.cpp | 34 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute()
|
D | BatchMatmul.cpp | 75 Shape swapRowColumnDims(const Shape& shape) { in swapRowColumnDims()
|
D | Densify.cpp | 47 uint64_t getFlattenedIndex(const std::vector<int32_t>& indices, const std::vector<uint32_t>& shape, in getFlattenedIndex()
|
D | QuantizedLSTMTest.cpp | 34 std::vector<uint32_t> shape; member
|
D | GenerateProposals.cpp | 507 uint8_t castTo(float val, const Shape& shape) { in castTo() 512 int8_t castTo(float val, const Shape& shape) { in castTo()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | sub_v1_2.mod.py | 37 shape = "{2, 4, 16, 2}, 0.5, 0" variable
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/inference/ |
D | IsolatedModelServiceImpl.java | 125 int[] shape = tensor.shape(); in runTfliteInterpreter() local
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | sub_quant8_signed.mod.py | 86 shape = "{2, 4, 16, 2}, 0.5, -128" variable
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExecution.cpp | 112 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_2() local 134 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_3() local 151 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously() local 171 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously_1_3() local
|
D | TestValidateOperations.cpp | 1681 ANeuralNetworksOperandType shape = getOpType(ANEURALNETWORKS_TENSOR_INT32, 1, shapeDims); in reshapeOpTest() local
|
/packages/modules/NeuralNetworks/runtime/operation_converters/ |
D | SubGraphContext.cpp | 201 std::vector<int32_t> shape(operand.dimensions.begin(), operand.dimensions.end()); in createTensorFlatbufferFromOperand() local
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | SectionDecorationHandler.java | 137 GradientDrawable shape = new GradientDrawable(); in applyBackground() local
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 71 [](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/ |
D | LetterTileDrawable.java | 379 @Shape final int shape, in setCanonicalDialerLetterTileDetails()
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 480 Shape shape = 1; field
|
/packages/modules/NeuralNetworks/common/ |
D | CpuExecutor.cpp | 168 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/tools/test_generator/ |
D | test_generator.py | 185 def GetTypeFromString(vt, shape, extraParams=None): argument 193 def GetParsedShape(shape): argument
|