litert::Weights
Summary
Inheritance
Inherits from:
litert::internal::NonOwnedHandle< LiteRtWeights >
Constructors and Destructors
|
Weights(LiteRtWeights weights)
|
Public functions
|
BufferId() const
|
int32_t
|
Bytes() const
|
absl::Span< const uint8_t >
|
Public functions
BufferId
int32_t BufferId() const
Bytes
absl::Span< const uint8_t > Bytes() const
Weights
Weights(
LiteRtWeights weights
)
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::Weights Class Reference\n\nlitert::Weights\n===============\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [litert::internal::NonOwnedHandle\\\u003c LiteRtWeights \\\u003e](/edge/api/litert/c/classlitert/1-1internal-1-1-non-owned-handle)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Weights](#classlitert_1_1_weights_1a485a290584949e9cde742e91aa157949)`(LiteRtWeights weights)` ||\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------|-------------------------------|\n| [BufferId](#classlitert_1_1_weights_1a094f6b6b14558205d7947ca0f476b81b)`() const ` | `int32_t` |\n| [Bytes](#classlitert_1_1_weights_1a5c621715ebe7397d04f440706bec0a5d)`() const ` | `absl::Span\u003c const uint8_t \u003e` |\n\nPublic functions\n----------------\n\n### BufferId\n\n```gdscript\nint32_t BufferId() const \n``` \n\n### Bytes\n\n```gdscript\nabsl::Span\u003c const uint8_t \u003e Bytes() const \n``` \n\n### Weights\n\n```text\n Weights(\n LiteRtWeights weights\n)\n```"]]