OSDN Git Service

Fix problem passing null optional operands.
authorJean-Luc Brouillet <jeanluc@google.com>
Thu, 28 Sep 2017 02:22:04 +0000 (19:22 -0700)
committerSteven Moreland <smoreland@google.com>
Tue, 3 Oct 2017 23:30:40 +0000 (23:30 +0000)
commit578b61c67e3fb0af5903de7c95359b172b7ed88e
treeef14879f78b616dece4b216e09a60cf240a0b025
parent7e0286404ac45f12802a485f4ce7f378df75b75c
Fix problem passing null optional operands.

Allow optional operands to be specified as having no value in the model.
Make sure that both these and model arguements that have no value can
be passed to through the HAL. Change the validation to ensure that all
required ops are there.

Bug: 63905942
Test: Compiled and ran runtime/test and VTS tests.

Change-Id: Ia20954b9712042f5c0571822967521aedb66150b
neuralnetworks/1.0/types.hal