litert::Subgraph
Summary
Inheritance
Inherits from:
litert::internal::NonOwnedHandle< LiteRtSubgraph >
Constructors and Destructors
|
Subgraph(LiteRtSubgraph subgraph)
|
Public functions
|
Input(absl::string_view name) const
|
|
Inputs() const
|
SubgraphInputs
|
Ops() const
|
|
Output(absl::string_view name) const
|
|
Outputs() const
|
SubgraphOutputs
|
Public functions
SubgraphInputs Inputs() const
Ops
std::vector< Op > Ops() const
Outputs
SubgraphOutputs Outputs() const
Subgraph
Subgraph(
LiteRtSubgraph subgraph
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# litert::Subgraph Class Reference\n\nlitert::Subgraph\n================\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [litert::internal::NonOwnedHandle\\\u003c LiteRtSubgraph \\\u003e](/edge/api/litert/c/classlitert/1-1internal-1-1-non-owned-handle)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Subgraph](#classlitert_1_1_subgraph_1a59ab01d070a42253529e0bbf9e8a961f)`(LiteRtSubgraph subgraph)` ||\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Input](#classlitert_1_1_subgraph_1acd5663f80f214d0049e0ee6eabeeec61)`(absl::string_view name) const ` | [Expected](/edge/api/litert/c/classlitert/1-1-expected#classlitert_1_1_expected)`\u003c `[Tensor](/edge/api/litert/c/classlitert/1-1-tensor#classlitert_1_1_tensor)` \u003e` |\n| [Inputs](#classlitert_1_1_subgraph_1ab813f4a0fda47a0d2a0b3d67fb8fd06e)`() const ` | `SubgraphInputs` |\n| [Ops](#classlitert_1_1_subgraph_1aef36030c35fcb30c64e11b86536e3cd2)`() const ` | `std::vector\u003c `[Op](/edge/api/litert/c/classlitert/1-1-op#classlitert_1_1_op)` \u003e` |\n| [Output](#classlitert_1_1_subgraph_1ac45a7115e4f8e03468e567831c549e67)`(absl::string_view name) const ` | [Expected](/edge/api/litert/c/classlitert/1-1-expected#classlitert_1_1_expected)`\u003c `[Tensor](/edge/api/litert/c/classlitert/1-1-tensor#classlitert_1_1_tensor)` \u003e` |\n| [Outputs](#classlitert_1_1_subgraph_1a8c73773414cee7dc34c223cf0d45daa6)`() const ` | `SubgraphOutputs` |\n\nPublic functions\n----------------\n\n### Input\n\n```gdscript\nExpected\u003c Tensor \u003e Input(\n absl::string_view name\n) const \n``` \n\n### Inputs\n\n```gdscript\nSubgraphInputs Inputs() const \n``` \n\n### Ops\n\n```gdscript\nstd::vector\u003c Op \u003e Ops() const \n``` \n\n### Output\n\n```gdscript\nExpected\u003c Tensor \u003e Output(\n absl::string_view name\n) const \n``` \n\n### Outputs\n\n```gdscript\nSubgraphOutputs Outputs() const \n``` \n\n### Subgraph\n\n```text\n Subgraph(\n LiteRtSubgraph subgraph\n)\n```"]]