Searched refs:tensorShape (Results 1 – 4 of 4) sorted by relevance
546 …std::vector<int32_t> tensorShape = ConstructVectorFromArray(nnTensor.dimensions, nnTensor.dimensio… in CheckInputDimRanges() local547 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()
1748 作为输出参数,**\*shape**不能为空指针,否则会返回错误。例如您应该定义int32_t\* tensorShape = NULL,然后将&tensorShape 作为参数传入。2964 … 作为输出参数,**\*shape**必须为空指针,否则该接口将返回错误码。 例如您应该定义 int32_t\* tensorShape = NULL,并传递&tensorShape作为*…
1748 … 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…