litert::internal::model_detail

Summary

Functions

FetchSignatureInputNames(LiteRtSignature signature)
std::vector< StringView >
FetchSignatureInputTensors(LiteRtSignature signature)
std::vector< std::unique_ptr< SimpleTensor > >
FetchSignatureKey(LiteRtSignature signature)
StringView
FetchSignatureOutputNames(LiteRtSignature signature)
std::vector< StringView >
FetchSignatureOutputTensors(LiteRtSignature signature)
std::vector< std::unique_ptr< SimpleTensor > >
FetchTensorIndex(LiteRtTensor tensor)
std::uint32_t
FetchTensorName(LiteRtTensor tensor)
StringView
FetchTensorQuantizationPerChannel(LiteRtTensor tensor)
LiteRtQuantizationPerChannel
FetchTensorQuantizationPerTensor(LiteRtTensor tensor)
LiteRtQuantizationPerTensor
FetchTensorQuantizationTypeId(LiteRtTensor tensor)
LiteRtQuantizationTypeId
FetchTensorType(LiteRtTensor tensor, LiteRtTensorTypeId type_id)
std::variant< LiteRtUnrankedTensorType, litert::RankedTensorType >
FetchTensorTypeId(LiteRtTensor tensor)
LiteRtTensorTypeId

Functions

FetchSignatureInputNames

std::vector< StringView > FetchSignatureInputNames(
  LiteRtSignature signature
)

FetchSignatureInputTensors

std::vector< std::unique_ptr< SimpleTensor > > FetchSignatureInputTensors(
  LiteRtSignature signature
)

FetchSignatureKey

StringView FetchSignatureKey(
  LiteRtSignature signature
)

FetchSignatureOutputNames

std::vector< StringView > FetchSignatureOutputNames(
  LiteRtSignature signature
)

FetchSignatureOutputTensors

std::vector< std::unique_ptr< SimpleTensor > > FetchSignatureOutputTensors(
  LiteRtSignature signature
)

FetchTensorIndex

std::uint32_t FetchTensorIndex(
  LiteRtTensor tensor
)

FetchTensorName

StringView FetchTensorName(
  LiteRtTensor tensor
)

FetchTensorQuantizationPerChannel

LiteRtQuantizationPerChannel FetchTensorQuantizationPerChannel(
  LiteRtTensor tensor
)

FetchTensorQuantizationPerTensor

LiteRtQuantizationPerTensor FetchTensorQuantizationPerTensor(
  LiteRtTensor tensor
)

FetchTensorQuantizationTypeId

LiteRtQuantizationTypeId FetchTensorQuantizationTypeId(
  LiteRtTensor tensor
)

FetchTensorType

std::variant< LiteRtUnrankedTensorType, litert::RankedTensorType > FetchTensorType(
  LiteRtTensor tensor,
  LiteRtTensorTypeId type_id
)

FetchTensorTypeId

LiteRtTensorTypeId FetchTensorTypeId(
  LiteRtTensor tensor
)