Home
last modified time | relevance | path

Searched refs:shapeValue (Results 1 - 2 of 2) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dbroadcast_to_test.cpp54 int64_t* shapeValue = new (std::nothrow) int64_t[2] {2, 3}; in SaveParamsTensor() local
56 EXPECT_NE(nullptr, shapeValue); in SaveParamsTensor()
57 shapeTensor->SetBuffer(shapeValue, sizeof(int64_t) * shapeSize); in SaveParamsTensor()
165 float* shapeValue = new (std::nothrow) float[2] {2.0f, 3.0f}; in HWTEST_F() local
167 shapeTensor->SetBuffer(shapeValue, sizeof(float) * shapeSize); in HWTEST_F()
218 std::vector<int64_t> shapeValue = {2, 3}; in HWTEST_F() local
227 EXPECT_EQ(returnShape[i], shapeValue[i]); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_particle_bridge.cpp53 int32_t shapeValue = 0; in SetDisturbanceField() local
54 ArkTSUtils::ParseJsInteger(vm, shape, shapeValue); in SetDisturbanceField()
55 dataVector[index * DISTURBANCE_FIELD_SIZE + STEP_1].i32 = static_cast<int32_t>(shapeValue); in SetDisturbanceField()

Completed in 2 milliseconds