Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.

litert::Environment

Summary

Inheritance

Inherits from: litert::internal::Handle< LiteRtEnvironment, LiteRtDestroyEnvironment >

Constructors and Destructors

Environment(LiteRtEnvironment env)

Public types

OptionTag enum

Public functions

GetOptions() const

Public static functions

Create(absl::Span< const Option > options)

Structs

litert::Environment::Option

Public types

OptionTag

 OptionTag

Public functions

Environment

 Environment(
 LiteRtEnvironment env
)

GetOptions

Expected<EnvironmentOptions  > GetOptions()const

Public static functions

Create

Expected<Environment  > Create(
absl::Span<constOption  > options
)

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.