Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/common/include/
DCpuOperationUtils.h33 inline tflite::Dims<4> convertShapeToDims(const Shape& shape) { in convertShapeToDims()
54 inline tflite::RuntimeShape convertShapeToTflshape(const Shape& shape) { in convertShapeToTflshape()
143 bool initialize(const T* data, const Shape& shape) { in initialize()
167 bool initialize(T* data, const Shape& shape) { in initialize()
DOperationsUtils.h159 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis()
375 inline bool transposeFirstTwoDimensions(const T* buffer, const Shape& shape, T* transposedBuffer) { in transposeFirstTwoDimensions()
396 inline bool transposeFirstTwoDimensions(const Shape& shape, Shape* transposedShape) { in transposeFirstTwoDimensions()
DCpuExecutor.h74 Shape shape() const { in shape() function
/frameworks/ml/nn/common/operations/
DSimpleMath.cpp32 bool floorFloat16(const _Float16* inputData, _Float16* outputData, const Shape& shape) { in floorFloat16()
43 bool floorFloat32(const float* inputData, float* outputData, const Shape& shape) { in floorFloat32()
DLogicalNot.cpp34 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
DNeg.cpp41 inline bool compute(const T* input, const Shape& shape, T* output) { in compute()
DLogSoftmax.cpp41 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute()
DElementwise.cpp39 inline bool compute(float func(float), const T* input, const Shape& shape, T* output) { in compute()
DQuantizedLSTMTest.cpp33 std::vector<uint32_t> shape; member
/frameworks/ml/nn/runtime/test/generated/models/
Dtranspose_conv2d_large.model.cpp15 auto shape = model->addOperand(&type4); in CreateModel_quant8() local
64 auto shape = model->addOperand(&type4); in CreateModel_channelQuant8() local
113 auto shape = model->addOperand(&type4); in CreateModel_dynamic_output_shape_quant8() local
162 auto shape = model->addOperand(&type4); in CreateModel_dynamic_output_shape_channelQuant8() local
Dtranspose_conv2d.model.cpp15 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none() local
64 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_weight_as_input() local
109 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_relaxed() local
160 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_relaxed_weight_as_input() local
207 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_quant8() local
256 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_quant8_weight_as_input() local
301 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_quant8_2() local
350 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_quant8_weight_as_input_2() local
395 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_channelQuant8() local
444 auto shape = model->addOperand(&type4); in CreateModel_nhwc_none_channelQuant8_weight_as_input() local
[all …]
/frameworks/base/graphics/java/android/graphics/
DPathDashPathEffect.java42 public PathDashPathEffect(Path shape, float advance, float phase, in PathDashPathEffect()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRectShape.java64 final RectShape shape = (RectShape) super.clone(); in clone() local
DPathShape.java75 final PathShape shape = (PathShape) super.clone(); in clone() local
DShape.java129 Shape shape = (Shape) o; in equals() local
DRoundRectShape.java135 final RoundRectShape shape = (RoundRectShape) super.clone(); in clone() local
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dsub_v1_2.mod.py37 shape = "{2, 4, 16, 2}, 0.5, 0" variable
/frameworks/base/core/jni/android/graphics/
DPathEffect.cpp52 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor() local
/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java404 final RoundedRectangleShape shape = new RoundedRectangleShape( in startAnimation() local
500 final RoundedRectangleShape shape, in createCornerAnimator()
/frameworks/ml/nn/common/
DOperationsUtils.cpp115 uint32_t getNumberOfElements(const Shape& shape) { in getNumberOfElements()
123 uint32_t getNumberOfElements(const Shape& shape, in getNumberOfElements()
136 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions()
140 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx) { in getSizeOfDimension()
DCpuExecutor.cpp140 bool setInfoAndAllocateIfNeeded(RunTimeOperandInfo* info, const Shape& shape, int* result) { in setInfoAndAllocateIfNeeded()
208 bool OperationExecutionContext::setOutputShape(uint32_t index, const Shape& shape) { in setOutputShape()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp87 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_2() local
105 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java197 public void clip(Shape shape) { in clip()
484 public boolean clip(Shape shape, int regionOp) { in clip()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java437 public void setShape(@Shape int shape) { in setShape()
2173 public void setShape(@Shape int shape) { in setShape()
DShapeDrawable.java224 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw()

12