Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 25 of 40) sorted by relevance

12

/test/xts/acts/arkui/ace_ets_ux_five/ace_ets_component_Checkbox/src/main/ets/test/
DCheckbox.test.ets44 *@tc.desc Sets the shape property parameter to 0
54 let shape = obj.$attrs.shape
55 expect(shape).assertEqual("0");
68 *@tc.desc Sets the shape property parameter to 1
78 let shape = obj.$attrs.shape
79 expect(shape).assertEqual("1");
92 *@tc.desc Sets the shape property parameter to default value
102 let shape = obj.$attrs.shape
103 expect(shape).assertEqual("0");
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DExecutorTest.cpp99 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
127 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
155 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
184 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantP…
212 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
240 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
267 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
299 int32_t shape[4] = {1, 100, 100, 11}; variable
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape,
303 size_t length = shape[0] * shape[1] * shape[2] * shape[3] * sizeof(float);
[all …]
DMemoryTest.cpp539 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
564 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
610 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
635 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
660 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
772 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
811 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
877 avgModel.dynamicInput.shape = {1, 3, 3, 1};
878 avgModel.output.shape = {1, 2, 2, 1};
/test/xts/acts/arkui/ace_ets_component_three/entry/src/main/ets/test/
DShapeJsunit.test.ets25 uri: 'MainAbility/pages/shape',
30 console.info("get shape state success " + JSON.stringify(pages));
31 if (!("shape" == pages.name)) {
32 console.info("get shape state success " + JSON.stringify(pages.name));
35 console.info("push shape page success " + JSON.stringify(result));
38 console.error("push shape page error: " + err);
45 console.info("shape after each called");
51 let strJson = getInspectorByKey('shape');
62 let strJson = getInspectorByKey('shape');
73 let strJson = getInspectorByKey('shape');
[all …]
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
DExecutorTest.cpp99 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
127 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
155 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
184 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantP…
212 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
240 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
267 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
300 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
340 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
380 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
[all …]
DMemoryTest.cpp539 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
564 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
610 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
635 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
660 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
772 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
811 …_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(),
877 avgModel.dynamicInput.shape = {1, 3, 3, 1};
878 avgModel.output.shape = {1, 2, 2, 1};
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiTensorDescTest.cpp170 int32_t* shape = nullptr; variable
171 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_GetShape(nullptr, &shape, &shapeLength));
184 int32_t* shape = nullptr; variable
185 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_GetShape(tensorDesc, &shape, &shapeLength));
186 ASSERT_EQ(nullptr, shape);
202 int32_t* shape = nullptr; variable
203 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_GetShape(tensorDesc, &shape, &shapeLength));
204 ASSERT_EQ(*inputDims, *shape);
/test/xts/acts/arkui/ace_ets_ux_five/ace_ets_component_Checkbox/src/main/ets/TestAbility/pages/
DIndex.ets47 .shape(CheckBoxShape.CIRCLE)
58 .shape(CheckBoxShape.ROUNDED_SQUARE)
69 .shape(null)
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
38 operandTem.shape.data(), quantParam, operandTem.type}; in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
87 operandTem.shape.data(), quantParam, operandTem.type}; in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
227 operandTem.shape.data(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()
270 operandTem.shape.data(), in ExecutorWithMemory()
Dnnrt_utils.h34 std::vector<int32_t> shape; member
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
38 operandTem.shape.data(), quantParam, operandTem.type}; in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
87 operandTem.shape.data(), quantParam, operandTem.type}; in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
227 operandTem.shape.data(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()
270 operandTem.shape.data(), in ExecutorWithMemory()
Dnnrt_utils.h34 std::vector<int32_t> shape; member
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/
DShapeClippingJsunit_y.test.ets56 expect(clip.shape).assertEqual('Circle');
71 expect(obj.$attrs.mask.shape).assertEqual('Rect');
98 expect(objNew.$attrs.mask.shape).assertEqual('Circle');
125 expect(clip.shape).assertEqual('Rect');
152 expect(clip.shape).assertEqual('Rect');
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/test/
DShapeClippingJsunit.test.ets56 expect(clip.shape).assertEqual('Circle');
73 expect(mask.shape).assertEqual('Rect');
102 expect(mask.shape).assertEqual('Circle');
129 expect(clip.shape).assertEqual('Rect');
/test/xts/acts/ai/nncore/common/
Dnncore_utils.cpp29 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_… in createTensorDesc() argument
43 if (shape != nullptr) { in createTensorDesc()
44 ret = OH_NNTensorDesc_SetShape(tensorDescTmp, shape, shapeNum); in createTensorDesc()
85 NN_TensorDesc* tensorDesc = createTensorDesc(operandTem.shape.data(), in BuildMultiOpGraph()
86 (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
158 NN_TensorDesc* tensorDesc = createTensorDesc(operandTem.shape.data(), in BuildSingleOpGraph()
159 (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
189 NN_TensorDesc* tensorDesc = createTensorDesc(operandTem.shape.data(), in BuildSingleOpGraphWithQuantParams()
190 (uint32_t) operandTem.shape.size(), in BuildSingleOpGraphWithQuantParams()
Dnncore_utils.h34 std::vector<int32_t> shape; member
148 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_…
/test/xts/acts/ai/mindspore/mindsporejstest/src/main/ets/test/
DAbility.test.ets153 let input_shape = modelInputs[0].shape;
203 let input_shape = modelInputs[0].shape;
258 let input_shape = modelInputs[0].shape;
311 let input_shape = modelInputs[0].shape;
364 let input_shape = modelInputs[0].shape;
416 let input_shape = modelInputs[0].shape;
469 let input_shape = modelInputs[0].shape;
540 let input_shape = modelInputs[0].shape;
593 let input_shape = modelInputs[0].shape;
645 let input_shape = modelInputs[0].shape;
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_seven_special/entry/src/main/ets/MainAbility/pages/
Dslider.ets93 private sliderShapeCircle: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.circle }
94 …private sliderShapeEllipse: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Ellipse }
95 private sliderShapePath: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Path }
96 private sliderShapeRect: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Rect }
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_seven_special/entry/src/main/ets/test/
DShape.test.ets19 export default function shape(){
24 uri: 'MainAbility/pages/shape',
30 console.info("get shape state pages: " + JSON.stringify(pages));
31 if (!("shape" == pages.name)) {
32 console.info("get shape state pages.name: " + JSON.stringify(pages.name));
35 console.info("push shape page result: " + JSON.stringify(result));
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
DParticleProperty.ets38 shape:ParticleEmitterShape.CIRCLE
163 shape:ParticleEmitterShape.ELLIPSE
283 shape:ParticleEmitterShape.CIRCLE
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/components/
DShape.ets21 console.info('shape page show called');
25 console.info('shape page build done called');
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/
DshapeClipping_y.ets31 shape:ShapeInterface = Shape
45 console.info("shapeClipping page shape change called:" + JSON.stringify(eventData));
/test/xts/tools/sample/ServerSampleE/vue/src/views/oh-sample/takeaway/site/
Dsite.data.ts35 shape: 'square',
/test/xts/acts/arkui/ace_ets_component_api11_completion/entry/src/main/ets/MainAbility/pages/AttributeModifier/
DAttributeModifierDemoAPI03.ets39 .shape(CheckBoxShape.ROUNDED_SQUARE)
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
Dshape.ets34 Text("shape-Ne")

12