• Home
  • Raw
  • Download

Lines Matching refs:vector

103 Result<Version> validateVector(const std::vector<Type>& objects,  in validateVector()
345 std::vector<uint16_t> types; in validateExtension()
361 Result<Version> validateExtensions(const std::vector<Extension>& extensions) { in validateExtensions()
365 std::vector<std::reference_wrapper<const std::string>> names; in validateExtensions()
382 const std::vector<size_t>& poolSizes,
383 const std::vector<Model::Subgraph>& referenced,
384 std::vector<std::optional<Version>>* subgraphVersionCache);
387 const Operand& operand, size_t operandValuesSize, const std::vector<size_t>& poolSizes, in validateOperandDataLocation()
388 const std::vector<Model::Subgraph>& subgraphs, in validateOperandDataLocation()
389 std::vector<std::optional<Version>>* subgraphVersionCache) { in validateOperandDataLocation()
663 const std::vector<size_t>& poolSizes, in validateOperand()
664 const std::vector<Model::Subgraph>& subgraphs, in validateOperand()
665 std::vector<std::optional<Version>>* subgraphVersionCache) { in validateOperand()
693 Result<std::vector<Version>> validateOperands( in validateOperands()
694 const std::vector<Operand>& operands, size_t operandValuesSize, in validateOperands()
695 const std::vector<size_t>& poolSizes, const std::vector<Model::Subgraph>& subgraphs, in validateOperands()
696 std::vector<std::optional<Version>>* subgraphVersionCache) { in validateOperands()
697 std::vector<Version> versions; in validateOperands()
712 const Operation& operation, const std::vector<Operand>& operands,
713 const std::vector<Version>& operandVersions, const std::vector<Model::Subgraph>& subgraphs);
715 Result<Version> validateOperations(const std::vector<Operation>& operations, in validateOperations()
716 const std::vector<Operand>& operands, in validateOperations()
717 const std::vector<Version>& operandVersions, in validateOperations()
718 const std::vector<Model::Subgraph>& subgraphs) { in validateOperations()
775 Result<void> validateModelSubgraphInputOutputs(const std::vector<uint32_t>& indexes, in validateModelSubgraphInputOutputs()
776 const std::vector<Operand>& operands, in validateModelSubgraphInputOutputs()
789 std::vector<uint32_t> sortedIndexes = indexes; in validateModelSubgraphInputOutputs()
812 std::vector<bool> operandValueKnown; in validateExecutionOrder()
865 const std::vector<size_t>& poolSizes, in validateModelSubgraph()
866 const std::vector<Model::Subgraph>& referenced, in validateModelSubgraph()
867 std::vector<std::optional<Version>>* subgraphVersionCache) { in validateModelSubgraph()
909 const std::vector<Model::ExtensionNameAndPrefix>& extensionNamesAndPrefixes) { in validateModelExtensionNamesAndPrefixes()
914 std::vector<std::reference_wrapper<const std::string>> names; in validateModelExtensionNamesAndPrefixes()
927 std::vector<uint16_t> types; in validateModelExtensionNamesAndPrefixes()
952 Result<void> checkNoReferenceCycles(const std::vector<Model::Subgraph>& referencedSubgraphs, in checkNoReferenceCycles()
953 uint32_t subgraphIndex, std::vector<bool>* path, in checkNoReferenceCycles()
954 std::vector<bool>* verified) { in checkNoReferenceCycles()
986 Result<void> checkNoReferenceCycles(const std::vector<Model::Subgraph>& referencedSubgraphs) { in checkNoReferenceCycles()
988 std::vector<bool> path(count); in checkNoReferenceCycles()
989 std::vector<bool> verified(count); in checkNoReferenceCycles()
1017 auto subgraphVersionCache = std::vector<std::optional<Version>>(model.referenced.size()); in validateModel()
1047 const std::vector<size_t>& memorySizes, bool isOutput) { in validateRequestArgument()
1107 std::vector<size_t> memorySizes; in validateRequest()
1167 const std::vector<Request::Argument>& requestArguments, in validateRequestArgumentsForModel()
1168 const std::vector<uint32_t>& operandIndexes, const std::vector<Operand>& operands, in validateRequestArgumentsForModel()
1268 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels, in validateMemoryDescImpl()
1269 const std::vector<BufferRole>& inputRoles, const std::vector<BufferRole>& outputRoles, in validateMemoryDescImpl()
1276 std::vector<nn::Operand> operands; in validateMemoryDescImpl()
1343 OperationValidationContext(const char* operationName, const std::vector<uint32_t>& inputIndexes, in OperationValidationContext()
1344 const std::vector<uint32_t>& outputIndexes, in OperationValidationContext()
1345 const std::vector<Operand>& operands) in OperationValidationContext()
1367 const std::vector<uint32_t>& inputIndexes;
1368 const std::vector<uint32_t>& outputIndexes;
1369 const std::vector<Operand>& operands;
1552 Result<void> validateOperandListImpl(const std::vector<uint32_t>& list, size_t operandCount, in validateOperandListImpl()
1561 Result<void> validateOperationOperandTypes(const std::vector<Operand>& operands, in validateOperationOperandTypes()
1562 const std::vector<uint32_t>& inputIndexes, in validateOperationOperandTypes()
1563 const std::vector<OperandType>& inExpectedTypes, in validateOperationOperandTypes()
1564 const std::vector<uint32_t>& outputIndexes, in validateOperationOperandTypes()
1565 const std::vector<OperandType>& outExpectedInTypes) { in validateOperationOperandTypes()
1586 Result<void> validateSubgraphReference(const std::vector<Model::Subgraph>& subgraphs, in validateSubgraphReference()
1593 const Model::Subgraph& getSubgraph(const std::vector<Model::Subgraph>& subgraphs, in getSubgraph()
1597 uint32_t getInputCount(const std::vector<Model::Subgraph>& subgraphs, const Operand& modelOperand) { in getInputCount()
1600 uint32_t getOutputCount(const std::vector<Model::Subgraph>& subgraphs, in getOutputCount()
1604 const Operand& getInputOperand(const std::vector<Model::Subgraph>& subgraphs, in getInputOperand()
1609 const Operand& getOutputOperand(const std::vector<Model::Subgraph>& subgraphs, in getOutputOperand()
1641 Result<Version> validateIfOperation(const std::vector<uint32_t>& inputs, in validateIfOperation()
1642 const std::vector<uint32_t>& outputs, in validateIfOperation()
1643 const std::vector<Operand>& operands, in validateIfOperation()
1644 const std::vector<Model::Subgraph>& subgraphs) { in validateIfOperation()
1694 Result<Version> validateWhileOperation(const std::vector<uint32_t>& inputs, in validateWhileOperation()
1695 const std::vector<uint32_t>& outputs, in validateWhileOperation()
1696 const std::vector<Operand>& operands, in validateWhileOperation()
1697 const std::vector<Model::Subgraph>& subgraphs) { in validateWhileOperation()
1786 const std::vector<Operand>& operands, in validateOperationButNotOperandsImpl()
1787 const std::vector<Model::Subgraph>& subgraphs) { in validateOperationButNotOperandsImpl()
1820 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
1821 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
1857 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
1858 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
1896 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
1897 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
1938 std::vector<OperandType> inExpectedTypes = {OperandType::TENSOR_INT32, inputType}; in validateOperationButNotOperandsImpl()
1939 std::vector<OperandType> outExpectedTypes = {inputType}; in validateOperationButNotOperandsImpl()
1961 std::vector<OperandType> inExpectedTypes = {OperandType::TENSOR_INT32, in validateOperationButNotOperandsImpl()
1963 std::vector<OperandType> outExpectedTypes = {inputType, in validateOperationButNotOperandsImpl()
1980 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2000 std::vector<OperandType> outExpectedTypes = {OperandType::TENSOR_INT32}; in validateOperationButNotOperandsImpl()
2019 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2047 std::vector<OperandType> outExpectedTypes(outputIndexes.size(), inputType); in validateOperationButNotOperandsImpl()
2058 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2059 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2096 std::vector<OperandType> inExpectedTypes = { in validateOperationButNotOperandsImpl()
2105 std::vector<OperandType> outExpectedTypes = {OperandType::TENSOR_QUANT16_SYMM, in validateOperationButNotOperandsImpl()
2115 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2122 std::vector<OperandType> outExpectedTypes = {OperandType::TENSOR_INT32}; in validateOperationButNotOperandsImpl()
2132 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2133 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2175 std::vector<OperandType> inExpectedTypes = { in validateOperationButNotOperandsImpl()
2179 std::vector<OperandType> outExpectedTypes = {inputType, inputType}; in validateOperationButNotOperandsImpl()
2192 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2193 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2241 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2242 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2294 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2295 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2341 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2342 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2390 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2391 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2416 auto getNumberOfElements = [](const std::vector<uint32_t>& dims) { in validateOperationButNotOperandsImpl()
2447 std::vector<OperandType> inExpectedTypes = {inputType, OperandType::TENSOR_INT32, in validateOperationButNotOperandsImpl()
2449 std::vector<OperandType> outExpectedTypes = {inputType}; in validateOperationButNotOperandsImpl()
2459 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2460 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2479 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2480 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2518 std::vector<OperandType> inExpectedTypes = {inputType, OperandType::INT32, in validateOperationButNotOperandsImpl()
2520 std::vector<OperandType> outExpectedTypes(outputIndexes.size(), inputType); in validateOperationButNotOperandsImpl()
2529 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2530 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2560 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2561 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2596 std::vector<OperandType> explicitScalarTypes(3, OperandType::INT32); in validateOperationButNotOperandsImpl()
2615 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2616 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2641 std::vector<OperandType> inExpectedTypes; in validateOperationButNotOperandsImpl()
2642 std::vector<OperandType> outExpectedTypes; in validateOperationButNotOperandsImpl()
2684 const Operation& operation, const std::vector<Operand>& operands, in validateOperationIncludingOperandVersions()
2685 const std::vector<Version>& operandVersions, in validateOperationIncludingOperandVersions()
2686 const std::vector<Model::Subgraph>& subgraphs) { in validateOperationIncludingOperandVersions()
2797 Result<Version> validate(const std::vector<OutputShape>& outputShapes) { in validate()
2801 Result<Version> validate(const std::vector<Extension>& extensions) { in validate()
2805 Result<Version> validate(const std::vector<SharedHandle>& handles) { in validate()
2809 Result<Version> validate(const std::vector<BufferRole>& bufferRoles) { in validate()
2813 Result<Version> validate(const std::vector<SyncFence>& syncFences) { in validate()
2823 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels, in validateMemoryDesc()
2824 const std::vector<BufferRole>& inputRoles, const std::vector<BufferRole>& outputRoles, in validateMemoryDesc()
2843 Result<void> validateOperandList(const std::vector<uint32_t>& list, size_t operandCount, in validateOperandList()
2849 const std::vector<Operand>& operands, in validateOperationButNotOperands()
2850 const std::vector<Model::Subgraph>& subgraphs) { in validateOperationButNotOperands()
2856 std::vector<std::optional<Version>> cache;
2868 const Operation& operation, const std::vector<Operand>& operands, size_t operandValuesSize, in validateOperationAndAnythingItDependsOn()
2869 const std::vector<size_t>& poolSizes, const std::vector<Model::Subgraph>& subgraphs, in validateOperationAndAnythingItDependsOn()
2872 std::vector<Version> operandVersions(operands.size(), Version::ANDROID_OC_MR1); in validateOperationAndAnythingItDependsOn()
2891 const std::vector<size_t>& poolSizes, in validateOperandAndAnythingItDependsOn()
2892 const std::vector<Model::Subgraph>& subgraphs, in validateOperandAndAnythingItDependsOn()