Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/common/include/
DCpuOperationUtils.h34 inline tflite::Dims<4> convertShapeToDims(const Shape& shape) { in convertShapeToDims()
55 inline tflite::RuntimeShape convertShapeToTflshape(const Shape& shape) { in convertShapeToTflshape()
161 bool initialize(const T* data, const Shape& shape) { in initialize()
185 bool initialize(T* data, const Shape& shape) { in initialize()
DOperationsUtils.h160 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis()
342 inline bool transposeFirstTwoDimensions(const T* buffer, const Shape& shape, T* transposedBuffer) { in transposeFirstTwoDimensions()
363 inline bool transposeFirstTwoDimensions(const Shape& shape, Shape* transposedShape) { in transposeFirstTwoDimensions()
DCpuExecutor.h76 Shape shape() const { in shape() function
/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/common/operations/
DLogicalNot.cpp37 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
DNeg.cpp43 inline bool compute(const T* input, const Shape& shape, T* output) { in compute()
DLogSoftmax.cpp43 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute()
DElementwise.cpp41 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute()
DQuantizedLSTMTest.cpp33 std::vector<uint32_t> shape; member
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dsub_v1_2.mod.py37 shape = "{2, 4, 16, 2}, 0.5, 0" variable
/frameworks/ml/nn/common/
DOperationsUtils.cpp136 uint32_t getNumberOfElements(const Shape& shape) { in getNumberOfElements()
144 uint32_t getNumberOfElements(const Shape& shape, size_t firstAxisInclusive, in getNumberOfElements()
156 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions()
160 uint32_t getSizeOfDimension(const Shape& shape, uint32_t dimensionIdx) { in getSizeOfDimension()
165 uint32_t hasKnownRank(const Shape& shape) { in hasKnownRank()
DCpuExecutor.cpp154 bool setInfoAndAllocateIfNeeded(RunTimeOperandInfo* info, const Shape& shape, int* result) { in setInfoAndAllocateIfNeeded()
230 bool OperationExecutionContext::setOutputShape(uint32_t index, const Shape& shape) { in setOutputShape()
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dsub_quant8_signed.mod.py86 shape = "{2, 4, 16, 2}, 0.5, -128" 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/runtime/test/
DTestExecution.cpp104 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_2() local
125 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_3() local
141 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously() local
160 OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously_1_3() 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()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py185 def GetTypeFromString(vt, shape, extraParams=None): argument
193 def GetParsedShape(shape): argument
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java86 public void setJavaShape(Shape shape) { in setJavaShape()

12