Lines Matching refs:V1_3

53 struct ModelToHalVersion<V1_3::Model> {
54 static constexpr HalVersion version = HalVersion::V1_3;
65 MemoryAccessVerifier(const hidl_vec<V1_3::Request::MemoryPool>& pools) in MemoryAccessVerifier()
100 static bool validateOperandExtraParams(const V1_3::Operand& operand, uint32_t index) { in validateOperandExtraParams()
182 V1_3::Operand operand = convertToV1_3(versionedOperand); in validateOperands()
444 static HalVersion getHalVersion(const V1_3::Operation&) { in getHalVersion()
445 return HalVersion::V1_3; in getHalVersion()
533 bool validatePool(const V1_3::Request::MemoryPool& pool, HalVersion ver) { in validatePool()
668 static bool checkNoReferenceCycles(const V1_3::Model& model, const V1_3::Subgraph& subgraph, in checkNoReferenceCycles()
669 std::set<const V1_3::Subgraph*>* path) { in checkNoReferenceCycles()
687 static bool checkNoReferenceCycles(const V1_3::Model& model) { in checkNoReferenceCycles()
688 std::set<const V1_3::Subgraph*> path; in checkNoReferenceCycles()
718 bool validateModel(const V1_3::Model& model, ValidationMode mode) { in validateModel()
737 validatePools(model.pools, HalVersion::V1_3) && checkNoReferenceCycles(model)); in validateModel()
844 bool validateRequest(const V1_3::Request& request, const V1_3::Model& model, in validateRequest()
851 validatePools(request.pools, HalVersion::V1_3)); in validateRequest()
854 bool validateMemoryDesc(const V1_3::BufferDesc& desc, in validateMemoryDesc()
855 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in validateMemoryDesc()
856 const hidl_vec<V1_3::BufferRole>& inputRoles, in validateMemoryDesc()
857 const hidl_vec<V1_3::BufferRole>& outputRoles, in validateMemoryDesc()
858 std::function<const V1_3::Model*(const sp<V1_3::IPreparedModel>&)> getModel, in validateMemoryDesc()
860 V1_3::Operand* combinedOperand) { in validateMemoryDesc()
865 std::vector<V1_3::Operand> operands; in validateMemoryDesc()
979 return isExtensionOperandType(static_cast<V1_3::OperandType>(operandType)); in validOperandType()
983 bool validOperandType(V1_3::OperandType operandType) { in validOperandType()
985 case V1_3::OperandType::FLOAT16: in validOperandType()
986 case V1_3::OperandType::FLOAT32: in validOperandType()
987 case V1_3::OperandType::INT32: in validOperandType()
988 case V1_3::OperandType::UINT32: in validOperandType()
989 case V1_3::OperandType::BOOL: in validOperandType()
990 case V1_3::OperandType::TENSOR_FLOAT16: in validOperandType()
991 case V1_3::OperandType::TENSOR_FLOAT32: in validOperandType()
992 case V1_3::OperandType::TENSOR_INT32: in validOperandType()
993 case V1_3::OperandType::TENSOR_QUANT8_ASYMM: in validOperandType()
994 case V1_3::OperandType::TENSOR_QUANT8_SYMM: in validOperandType()
995 case V1_3::OperandType::TENSOR_QUANT16_ASYMM: in validOperandType()
996 case V1_3::OperandType::TENSOR_QUANT16_SYMM: in validOperandType()
997 case V1_3::OperandType::TENSOR_BOOL8: in validOperandType()
998 case V1_3::OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL: in validOperandType()
999 case V1_3::OperandType::TENSOR_QUANT8_ASYMM_SIGNED: in validOperandType()
1000 case V1_3::OperandType::SUBGRAPH: in validOperandType()
1001 case V1_3::OperandType::OEM: in validOperandType()
1002 case V1_3::OperandType::TENSOR_OEM_BYTE: in validOperandType()