Loading neuralnetworks/1.2/vts/functional/ValidateModel.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -508,9 +508,10 @@ static bool removeOperandSkip(size_t operand, const Model& model) { } } } // BIDIRECTIONAL_SEQUENCE_RNN can have either on or two outputs // depending on a mergeOutputs parameter if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { // BIDIRECTIONAL_SEQUENCE_LSTM and BIDIRECTIONAL_SEQUENCE_RNN can have either one or two // outputs depending on their mergeOutputs parameter. if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_LSTM || operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { for (const size_t outOprand : operation.outputs) { if (operand == outOprand) { return true; Loading wifi/supplicant/1.2/vts/functional/supplicant_p2p_iface_hidl_test.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class SupplicantP2pIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_Success) { std::vector<uint8_t> ssid(kTestSsid, kTestSsid + sizeof(kTestSsid)); std::string passphrase = kTestPassphrase; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading @@ -76,7 +76,7 @@ TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_Success) { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidSsid) { std::vector<uint8_t> ssid; std::string passphrase = kTestPassphrase; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading @@ -95,7 +95,7 @@ TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidSsid) { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidPassphrase) { std::vector<uint8_t> ssid(kTestSsid, kTestSsid + sizeof(kTestSsid)); std::string passphrase = "1234"; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading Loading
neuralnetworks/1.2/vts/functional/ValidateModel.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -508,9 +508,10 @@ static bool removeOperandSkip(size_t operand, const Model& model) { } } } // BIDIRECTIONAL_SEQUENCE_RNN can have either on or two outputs // depending on a mergeOutputs parameter if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { // BIDIRECTIONAL_SEQUENCE_LSTM and BIDIRECTIONAL_SEQUENCE_RNN can have either one or two // outputs depending on their mergeOutputs parameter. if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_LSTM || operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { for (const size_t outOprand : operation.outputs) { if (operand == outOprand) { return true; Loading
wifi/supplicant/1.2/vts/functional/supplicant_p2p_iface_hidl_test.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class SupplicantP2pIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_Success) { std::vector<uint8_t> ssid(kTestSsid, kTestSsid + sizeof(kTestSsid)); std::string passphrase = kTestPassphrase; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading @@ -76,7 +76,7 @@ TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_Success) { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidSsid) { std::vector<uint8_t> ssid; std::string passphrase = kTestPassphrase; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading @@ -95,7 +95,7 @@ TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidSsid) { TEST_F(SupplicantP2pIfaceHidlTest, AddGroup_1_2_FailureInvalidPassphrase) { std::vector<uint8_t> ssid(kTestSsid, kTestSsid + sizeof(kTestSsid)); std::string passphrase = "1234"; int freq = 5; int freq = 0; std::array<uint8_t, 6> zero_mac_addr; memcpy(zero_mac_addr.data(), kTestZeroMacAddr, zero_mac_addr.size()); bool persistent = false; Loading