Home
last modified time | relevance | path

Searched refs:SCALAR_LENGTH (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dlstm_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBidirectional()
60 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetHasBias()
82 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetInputSize()
104 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetHiddenSize()
126 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNumLayers()
148 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNumDirections()
170 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetDropout()
192 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetZoneoutCell()
214 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetZoneoutHidden()
[all …]
H A Ddetection_post_process_builder.cpp29 static const int SCALAR_LENGTH = 1; variable
43 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetInputSize()
91 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNmsIoUThreshold()
113 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNmsScoreThreshold()
135 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetMaxDetections()
157 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetDetectionsPerClass()
179 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetMaxClassesPerDetection()
201 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNumClasses()
223 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetUseRegularNms()
245 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetOutQuantized()
H A Dlrn_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
42 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetDepthRadius()
64 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBias()
86 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAlpha()
108 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBeta()
130 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNormRegion()
H A Dfullconnection_builder.cpp26 static constexpr int SCALAR_LENGTH = 1; variable
64 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetHasBias()
86 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetUseAxis()
112 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetFullConnectionActivation()
142 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Dexp_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBase()
60 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetScale()
82 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetShift()
H A Drange_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetStart()
60 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetLimit()
82 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetDelta()
H A Dclip_builder.cpp24 static constexpr int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetMax()
60 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetMin()
H A Dpow_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
41 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetScale()
63 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetShift()
H A Dl2_normalize_builder.cpp28 static const int SCALAR_LENGTH = 1; variable
68 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetEpsilon()
90 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetActivationType()
H A Dflatten_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Dinstance_norm_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetEpsilon()
H A Dlog_softmax_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
41 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Dall_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetKeepDims()
H A Dassert_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetSummarize()
H A Dbatchnorm_builder.cpp28 static const int SCALAR_LENGTH = 1; variable
43 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetEpsilon()
H A Dspace_to_depth_builder.cpp29 static const int SCALAR_LENGTH = 1; variable
43 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBlockSize()
H A Ddiv_builder.cpp27 static constexpr int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetActicationType()
H A Deltwise_builder.cpp24 static constexpr int SCALAR_LENGTH = 1; variable
40 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetMode()
H A Dgelu_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
41 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetApproximate()
H A Dleaky_relu_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetNegativeSlope()
H A Dconstant_of_shape_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetDataType()
H A Dcrop_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
41 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Dtop_k_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
57 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Dunstack_builder.cpp24 static const int SCALAR_LENGTH = 1; variable
38 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetAxis()
H A Ddepth_to_space_builder.cpp27 static const int SCALAR_LENGTH = 1; variable
42 if (tensor->GetElementCount() != SCALAR_LENGTH) { in SetBlockSize()

12