Home
last modified time | relevance | path

Searched refs:tensorShape (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnexecutor.cpp546 …std::vector<int32_t> tensorShape = ConstructVectorFromArray(nnTensor.dimensions, nnTensor.dimensio… in CheckInputDimRanges() local
547 size_t tensorShapeSize = tensorShape.size(); in CheckInputDimRanges()
555 if (tensorShape[j] < 0) { in CheckInputDimRanges()
556 LOGE("Dimension %zu of input %u is %d.", j, index, tensorShape[j]); in CheckInputDimRanges()
559 uint32_t dim = static_cast<uint32_t>(tensorShape[j]); in CheckInputDimRanges()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A D_neural_network_runtime.md1748 作为输出参数,**\*shape**不能为空指针,否则会返回错误。例如您应该定义int32_t\* tensorShape = NULL,然后将&amp;tensorShape 作为参数传入。
2964 … 作为输出参数,**\*shape**必须为空指针,否则该接口将返回错误码。 例如您应该定义 int32_t\* tensorShape = NULL,并传递&amp;tensorShape作为*…
H A D_neural_nework_runtime.md1748 作为输出参数,**\*shape**不能为空指针,否则会返回错误。例如您应该定义int32_t\* tensorShape = NULL,然后将&amp;tensorShape 作为参数传入。
2964 … 作为输出参数,**\*shape**必须为空指针,否则该接口将返回错误码。 例如您应该定义 int32_t\* tensorShape = NULL,并传递&amp;tensorShape作为*…
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A D_neural_network_runtime.md1748 … returned. For example, you should define **int32_t\* tensorShape = NULL** and pass **&tensorShape
2964 … returned. For example, you should define **int32_t\* tensorShape = NULL** and pass **&tensorShape