/frameworks/ml/nn/common/include/ |
D | Operations.h | 35 struct Shape; 37 bool addFloat32(const float* in1, const Shape& shape1, 38 const float* in2, const Shape& shape2, 40 float* out, const Shape& shapeOut); 41 bool addQuant8(const uint8_t* in1, const Shape& shape1, 42 const uint8_t* in2, const Shape& shape2, 44 uint8_t* out, const Shape& shapeOut); 46 bool mulFloat32(const float* in1, const Shape& shape1, 47 const float* in2, const Shape& shape2, 49 float* out, const Shape& shapeOut); [all …]
|
D | OperationsUtils.h | 49 struct Shape { struct 57 bool SameShape(const Shape& in1, const Shape& in2); argument 60 bool SetShape(const Shape& in, Shape* out); 64 uint32_t getNumberOfElements(const Shape& shape); 66 uint32_t getNumberOfDimensions(const Shape& shape); 68 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx); 86 bool GetQuantizedConvolutionMultipler(const Shape& inputShape, 87 const Shape& filterShape, 88 const Shape& biasShape, 89 const Shape& outputShape, [all …]
|
D | CpuExecutor.h | 57 Shape shape() const { in shape() 58 return Shape{.type = type, .dimensions = dimensions, .scale = scale, .offset = zeroPoint}; in shape()
|
/frameworks/ml/nn/common/operations/ |
D | Activation.cpp | 25 bool reluFloat32(const float* inputData, const Shape& inputShape, in reluFloat32() 26 float* outputData, const Shape& outputShape) { in reluFloat32() 34 bool relu1Float32(const float* inputData, const Shape& inputShape, in relu1Float32() 35 float* outputData, const Shape& outputShape) { in relu1Float32() 43 bool relu6Float32(const float* inputData, const Shape& inputShape, in relu6Float32() 44 float* outputData, const Shape& outputShape) { in relu6Float32() 52 bool tanhFloat32(const float* inputData, const Shape& inputShape, in tanhFloat32() 53 float* outputData, const Shape& outputShape) { in tanhFloat32() 61 bool logisticFloat32(const float* inputData, const Shape& inputShape, in logisticFloat32() 62 float* outputData, const Shape& outputShape) { in logisticFloat32() [all …]
|
D | Reshape.cpp | 29 bool reshapeGeneric(const void* inputData, const Shape& inputShape, in reshapeGeneric() 30 void* outputData, const Shape& outputShape) { in reshapeGeneric() 36 bool resizeBilinearFloat32(const float* inputData, const Shape& inputShape, in resizeBilinearFloat32() 37 float* outputData, const Shape& outputShape) { in resizeBilinearFloat32() 43 Shape outDimShape; in resizeBilinearFloat32() 53 bool depthToSpaceGeneric(const uint8_t* inputData, const Shape& inputShape, in depthToSpaceGeneric() 55 uint8_t* outputData, const Shape& outputShape) { in depthToSpaceGeneric() 77 bool spaceToDepthGeneric(const uint8_t* inputData, const Shape& inputShape, in spaceToDepthGeneric() 79 uint8_t* outputData, const Shape& outputShape) { in spaceToDepthGeneric()
|
D | FullyConnected.cpp | 25 bool fullyConnectedFloat32(const float* inputData, const Shape& inputShape, in fullyConnectedFloat32() 26 const float* weightsData, const Shape& weightsShape, in fullyConnectedFloat32() 27 const float* biasData, const Shape& biasShape, in fullyConnectedFloat32() 29 float* outputData, const Shape& outputShape) { in fullyConnectedFloat32() 43 bool fullyConnectedQuant8(const uint8_t* inputData, const Shape& inputShape, in fullyConnectedQuant8() 44 const uint8_t* weightsData, const Shape& weightsShape, in fullyConnectedQuant8() 45 const int32_t* biasData, const Shape& biasShape, in fullyConnectedQuant8() 47 uint8_t* outputData, const Shape& outputShape) { in fullyConnectedQuant8()
|
D | SimpleMath.cpp | 28 bool addFloat32(const float* in1, const Shape& shape1, in addFloat32() 29 const float* in2, const Shape& shape2, in addFloat32() 31 float* out, const Shape& shapeOut) { in addFloat32() 57 bool addQuant8(const uint8_t* in1, const Shape& shape1, in addQuant8() 58 const uint8_t* in2, const Shape& shape2, in addQuant8() 60 uint8_t* out, const Shape& shapeOut) { in addQuant8() 131 bool mulFloat32(const float* in1, const Shape& shape1, in mulFloat32() 132 const float* in2, const Shape& shape2, in mulFloat32() 134 float* out, const Shape& shapeOut) { in mulFloat32() 160 bool mulQuant8(const uint8_t* in1, const Shape& shape1, in mulQuant8() [all …]
|
D | Normalization.cpp | 25 bool l2normFloat32(const float* inputData, const Shape& inputShape, in l2normFloat32() 26 float* outputData, const Shape& outputShape) { in l2normFloat32() 34 bool l2normQuant8(const uint8_t* inputData, const Shape& inputShape, in l2normQuant8() 35 uint8_t* outputData, const Shape& outputShape) { in l2normQuant8() 44 bool localResponseNormFloat32(const float* inputData, const Shape& inputShape, in localResponseNormFloat32() 46 float* outputData, const Shape& outputShape) { in localResponseNormFloat32()
|
D | DepthwiseConv2D.cpp | 37 bool depthwiseConvFloat32(const float* inputData, const Shape& inputShape, in depthwiseConvFloat32() 38 const float* filterData, const Shape& filterShape, in depthwiseConvFloat32() 39 const float* biasData, const Shape& biasShape, in depthwiseConvFloat32() 44 float* outputData, const Shape& outputShape) { in depthwiseConvFloat32() 64 bool depthwiseConvQuant8(const uint8_t* inputData, const Shape& inputShape, in depthwiseConvQuant8() 65 const uint8_t* filterData, const Shape& filterShape, in depthwiseConvQuant8() 66 const int32_t* biasData, const Shape& biasShape, in depthwiseConvQuant8() 71 uint8_t* outputData, const Shape& outputShape) { in depthwiseConvQuant8()
|
D | Pooling.cpp | 34 bool averagePoolFloat32(const float* inputData, const Shape& inputShape, in averagePoolFloat32() 39 float* outputData, const Shape& outputShape) { in averagePoolFloat32() 56 bool averagePoolQuant8(const uint8_t* inputData, const Shape& inputShape, in averagePoolQuant8() 61 uint8_t* outputData, const Shape& outputShape) { in averagePoolQuant8() 86 bool l2PoolFloat32(const float* inputData, const Shape& inputShape, in l2PoolFloat32() 91 float* outputData, const Shape& outputShape) { in l2PoolFloat32() 108 bool maxPoolFloat32(const float* inputData, const Shape& inputShape, in maxPoolFloat32() 113 float* outputData, const Shape& outputShape) { in maxPoolFloat32() 130 bool maxPoolQuant8(const uint8_t* inputData, const Shape& inputShape, in maxPoolQuant8() 135 uint8_t* outputData, const Shape& outputShape) { in maxPoolQuant8()
|
D | Conv2D.cpp | 63 bool convFloat32(const float* inputData, const Shape& inputShape, in convFloat32() 64 const float* filterData, const Shape& filterShape, in convFloat32() 65 const float* biasData, const Shape& biasShape, in convFloat32() 70 float* outputData, const Shape& outputShape) { in convFloat32() 92 bool convQuant8(const uint8_t* inputData, const Shape& inputShape, in convQuant8() 93 const uint8_t* filterData, const Shape& filterShape, in convQuant8() 94 const int32_t* biasData, const Shape& biasShape, in convQuant8() 99 uint8_t* outputData, const Shape& outputShape) { in convQuant8()
|
D | LSTM.h | 45 struct Shape; 54 Shape *scratchShape, 55 Shape *outputStateShape, 56 Shape *cellStateShape, 57 Shape *outputShape);
|
D | Concatenation.cpp | 26 const std::vector<Shape>& inputShapes, int32_t axis, in concatenationFloat32() 27 float* outputData, const Shape& outputShape) { in concatenationFloat32() 45 const std::vector<Shape>& inputShapes, int32_t axis, in concatenationQuant8() 46 uint8_t* outputData, const Shape& outputShape) { in concatenationQuant8()
|
D | RNN.h | 36 struct Shape; 45 Shape *hiddenStateShape, 46 Shape *outputShape);
|
D | SVDF.h | 44 struct Shape; 53 std::vector<RunTimeOperandInfo> &operands, Shape *stateShape, 54 Shape *outputShape);
|
D | LSHProjection.h | 42 struct Shape; 53 Shape *outputShape);
|
D | RNN.cpp | 42 Shape *hiddenStateShape, in Prepare() 43 Shape *outputShape) { in Prepare() 67 const Shape &inputShape = input->shape(); in Prepare()
|
D | SVDF.cpp | 62 Shape *stateShape, in Prepare() 63 Shape *outputShape) { in Prepare() 91 const Shape &inputShape = input->shape(); in Prepare()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 28 bool SameShape(const Shape& in1, const Shape& in2) { in SameShape() 40 bool SetShape(const Shape& in, Shape* out) { in SetShape() 48 uint32_t getNumberOfElements(const Shape& shape) { in getNumberOfElements() 56 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions() 60 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx) { in getSizeOfDimension() 110 bool GetQuantizedConvolutionMultipler(const Shape& inputShape, in GetQuantizedConvolutionMultipler() 111 const Shape& filterShape, in GetQuantizedConvolutionMultipler() 112 const Shape& biasShape, in GetQuantizedConvolutionMultipler() 113 const Shape& outputShape, in GetQuantizedConvolutionMultipler() 129 const Shape& outputShape, in CalculateActivationRangeUint8() [all …]
|
D | CpuExecutor.cpp | 97 static bool setInfoAndAllocateIfNeeded(RunTimeOperandInfo* info, const Shape& shape) { in setInfoAndAllocateIfNeeded() 300 Shape outShape = out.shape(); in executeOperation() 333 Shape outShape = out.shape(); in executeOperation() 363 Shape outShape = output.shape(); in executeOperation() 379 Shape outShape = output.shape(); in executeOperation() 422 Shape inputShape = input.shape(); in executeOperation() 423 Shape filterShape = filter.shape(); in executeOperation() 437 Shape outShape = output.shape(); in executeOperation() 509 Shape inputShape = input.shape(); in executeOperation() 510 Shape filterShape = filter.shape(); in executeOperation() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 34 public abstract class Shape implements Cloneable { class 115 public Shape clone() throws CloneNotSupportedException { in clone() 116 return (Shape) super.clone(); in clone()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 41 import java.awt.Shape; 185 void setClip(Shape clipShape) { in setClip() 198 public void clip(Shape shape) { in clip() 322 Shape currentClip = baseLayer.getGraphics().getClip(); in GcSnapshot() 486 public boolean clip(Shape shape, int regionOp) { in clip() 495 Shape currentClip = getClip(); in clip() 516 Shape currentClip = getClip(); in clip() 536 public Shape getClip() { in getClip() 720 Shape clip = getClip(); in doRestore()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 38 import android.graphics.drawable.shapes.Shape; 93 public ShapeDrawable(Shape s) { in ShapeDrawable() 102 public Shape getShape() { in getShape() 109 public void setShape(Shape s) { in setShape() 225 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() 541 Shape mShape;
|
/frameworks/base/libs/hwui/ |
D | PathCache.cpp | 48 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs, in compareRoundRects() 49 const PathDescription::Shape::RoundRect& rhs) { in compareRoundRects() 53 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& … in compareArcs() 71 memset(&shape, 0, sizeof(Shape)); in PathDescription() 83 memset(&shape, 0, sizeof(Shape)); in PathDescription() 94 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); in hash()
|
/frameworks/ml/nn/common/operations/internal/ |
D | types.h | 33 struct Shape; 35 inline Dims<4> convertShapeToDims(const Shape& shape) { in convertShapeToDims()
|