Lines Matching refs:IsNullInput
49 return !IsNullInput(operand) ? reinterpret_cast<const T*>(operand->buffer) : nullptr; in GetOptionalBuffer()
158 if (!IsNullInput(input_to_input_weights)) { in CheckInputTensorDimensions()
172 if (!IsNullInput(recurrent_to_input_weights)) { in CheckInputTensorDimensions()
189 (!IsNullInput(input_to_input_weights) && !IsNullInput(recurrent_to_input_weights)) || in CheckInputTensorDimensions()
190 (IsNullInput(input_to_input_weights) && IsNullInput(recurrent_to_input_weights)); in CheckInputTensorDimensions()
193 if (!IsNullInput(cell_to_input_weights)) { in CheckInputTensorDimensions()
198 if (!IsNullInput(cell_to_forget_weights)) { in CheckInputTensorDimensions()
203 if (!IsNullInput(cell_to_output_weights)) { in CheckInputTensorDimensions()
209 params->use_cifg = IsNullInput(input_to_input_weights); in CheckInputTensorDimensions()
211 ((!IsNullInput(cell_to_input_weights) || params->use_cifg) && in CheckInputTensorDimensions()
212 !IsNullInput(cell_to_forget_weights) && !IsNullInput(cell_to_output_weights)) || in CheckInputTensorDimensions()
213 (IsNullInput(cell_to_input_weights) && IsNullInput(cell_to_forget_weights) && in CheckInputTensorDimensions()
214 IsNullInput(cell_to_output_weights)); in CheckInputTensorDimensions()
219 params->use_peephole = !IsNullInput(cell_to_output_weights); in CheckInputTensorDimensions()
222 params->use_layer_norm = !IsNullInput(output_layer_norm_weights); in CheckInputTensorDimensions()
229 NN_CHECK(IsNullInput(input_gate_bias)); in CheckInputTensorDimensions()
244 if (!IsNullInput(projection_weights)) { in CheckInputTensorDimensions()
250 if (!IsNullInput(projection_bias)) { in CheckInputTensorDimensions()
261 (!IsNullInput(projection_weights) || IsNullInput(projection_bias)); in CheckInputTensorDimensions()
264 if (!IsNullInput(input_layer_norm_weights)) { in CheckInputTensorDimensions()
268 if (!IsNullInput(forget_layer_norm_weights)) { in CheckInputTensorDimensions()
272 if (!IsNullInput(cell_layer_norm_weights)) { in CheckInputTensorDimensions()
276 if (!IsNullInput(output_layer_norm_weights)) { in CheckInputTensorDimensions()
282 NN_RET_CHECK(IsNullInput(input_layer_norm_weights)) in CheckInputTensorDimensions()
285 (IsNullInput(forget_layer_norm_weights) && IsNullInput(cell_layer_norm_weights) && in CheckInputTensorDimensions()
286 IsNullInput(output_layer_norm_weights)) || in CheckInputTensorDimensions()
287 (!IsNullInput(forget_layer_norm_weights) && !IsNullInput(cell_layer_norm_weights) && in CheckInputTensorDimensions()
288 !IsNullInput(output_layer_norm_weights)); in CheckInputTensorDimensions()
292 (IsNullInput(input_layer_norm_weights) && IsNullInput(forget_layer_norm_weights) && in CheckInputTensorDimensions()
293 IsNullInput(cell_layer_norm_weights) && IsNullInput(output_layer_norm_weights)) || in CheckInputTensorDimensions()
294 (!IsNullInput(input_layer_norm_weights) && in CheckInputTensorDimensions()
295 !IsNullInput(forget_layer_norm_weights) && !IsNullInput(cell_layer_norm_weights) && in CheckInputTensorDimensions()
296 !IsNullInput(output_layer_norm_weights)); in CheckInputTensorDimensions()
327 NN_RET_CHECK(!IsNullInput(GetInput(operation, operands, requiredInput))) in Prepare()