Interface Mlmodel.FlatTensorDataDoubleOrBuilder

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

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

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

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getDataList

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

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

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