litert::Environment
Summary
Inheritance
Inherits from:
litert::internal::Handle< LiteRtEnvironment, LiteRtDestroyEnvironment >
Constructors and Destructors
|
Environment(LiteRtEnvironment env)
|
Public static functions
|
Create(absl::Span< const Option > options)
|
|
Public types
Public functions
Environment
Environment(
LiteRtEnvironment env
)
Public static functions
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::Environment Class Reference\n\nlitert::Environment\n===================\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [litert::internal::Handle\\\u003c LiteRtEnvironment, LiteRtDestroyEnvironment \\\u003e](/edge/api/litert/c/classlitert/1-1internal-1-1-handle)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Environment](#classlitert_1_1_environment_1a94056157d11d890ac40f945434c6f4bc)`(LiteRtEnvironment env)` ||\n\n| ### Public types ||\n|------------------------------------------------------------------------------|------|\n| [OptionTag](#classlitert_1_1_environment_1ab07b9913a1573b12554ededdebb303b3) | enum |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetOptions](#classlitert_1_1_environment_1a4ac4fe1abe295c92f404de82ce0f86b6)`() const ` | [Expected](/edge/api/litert/c/classlitert/1-1-expected#classlitert_1_1_expected)`\u003c `[EnvironmentOptions](/edge/api/litert/c/classlitert/1-1-environment-options#classlitert_1_1_environment_options)` \u003e` |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Create](#classlitert_1_1_environment_1ac0c2fa3dba44f176c389f144ac72d3c8)`(absl::Span\u003c const `[Option](/edge/api/litert/c/structlitert/1-1-environment-1-1-option#structlitert_1_1_environment_1_1_option)` \u003e options)` | [Expected](/edge/api/litert/c/classlitert/1-1-expected#classlitert_1_1_expected)`\u003c `[Environment](/edge/api/litert/c/classlitert/1-1-environment#classlitert_1_1_environment)` \u003e` |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------|---|\n| [litert::Environment::Option](/edge/api/litert/c/structlitert/1-1-environment-1-1-option) | |\n\nPublic types\n------------\n\n### OptionTag\n\n```text\n OptionTag\n``` \n\nPublic functions\n----------------\n\n### Environment\n\n```text\n Environment(\n LiteRtEnvironment env\n)\n``` \n\n### GetOptions\n\n```gdscript\nExpected\u003c EnvironmentOptions \u003e GetOptions() const \n``` \n\nPublic static functions\n-----------------------\n\n### Create\n\n```gdscript\nExpected\u003c Environment \u003e Create(\n absl::Span\u003c const Option \u003e options\n)\n```"]]