Interface Mlmodel.FlatTensorDataInt16OrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Mlmodel.FlatTensorDataInt16, Mlmodel.FlatTensorDataInt16.Builder
Enclosing class:
Mlmodel

public static interface Mlmodel.FlatTensorDataInt16OrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getData(int index)
    packs two 16-bit numbers per entry - explicitly little-endian so big-endian producers/consumers must compensate
    int
    packs two 16-bit numbers per entry - explicitly little-endian so big-endian producers/consumers must compensate
    packs two 16-bit numbers per entry - explicitly little-endian so big-endian producers/consumers must compensate

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getDataList

      List<Integer> getDataList()
       packs two 16-bit numbers per entry - explicitly little-endian
       so big-endian producers/consumers must compensate
       
      repeated fixed32 data = 1 [json_name = "data", packed = true];
      Returns:
      A list containing the data.
    • getDataCount

      int getDataCount()
       packs two 16-bit numbers per entry - explicitly little-endian
       so big-endian producers/consumers must compensate
       
      repeated fixed32 data = 1 [json_name = "data", packed = true];
      Returns:
      The count of data.
    • getData

      int getData(int index)
       packs two 16-bit numbers per entry - explicitly little-endian
       so big-endian producers/consumers must compensate
       
      repeated fixed32 data = 1 [json_name = "data", packed = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The data at the given index.