Interface Mlmodel.FlatTensorDataFloatOrBuilder

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

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

    Modifier and Type
    Method
    Description
    float
    getData(int index)
    repeated float data = 1 [json_name = "data", packed = true];
    int
    repeated float data = 1 [json_name = "data", packed = true];
    repeated float data = 1 [json_name = "data", packed = true];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getDataList

      List<Float> getDataList()
      repeated float data = 1 [json_name = "data", packed = true];
      Returns:
      A list containing the data.
    • getDataCount

      int getDataCount()
      repeated float data = 1 [json_name = "data", packed = true];
      Returns:
      The count of data.
    • getData

      float getData(int index)
      repeated float data = 1 [json_name = "data", packed = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The data at the given index.