Home
last modified time | relevance | path

Searched refs:shapeSize (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dbroadcast_to_test.cpp55 int32_t shapeSize = 2; in SaveParamsTensor() local
57 shapeTensor->SetBuffer(shapeValue, sizeof(int64_t) * shapeSize); in SaveParamsTensor()
166 int32_t shapeSize = 2; variable
167 shapeTensor->SetBuffer(shapeValue, sizeof(float) * shapeSize);
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnntensor.cpp346 size_t shapeSize = 0; in CheckDimRanges() local
347 auto ret = m_tensorDesc->GetShape(&shape, &shapeSize); in CheckDimRanges()
352 for (size_t j = 0; j < shapeSize; ++j) { in CheckDimRanges()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_content_modifier.cpp696 SizeF shapeSize = PathPainter::GetPathSize(path->GetValue()); in DrawBlockShapePath() local
697 if (NearZero(shapeSize.Width()) || NearZero(shapeSize.Height())) { in DrawBlockShapePath()
700 float scale = std::max(blockSize.Width() / (shapeSize.Width() + blockBorderWidth), in DrawBlockShapePath()
701 blockSize.Height() / (shapeSize.Height() + blockBorderWidth)); in DrawBlockShapePath()
723 …OffsetF offset(blockCenter.GetX() - shapeSize.Width() * HALF, blockCenter.GetY() - shapeSize.Heigh… in DrawBlockShapePath()