Interface Mlmodel.FlatTensorsOrBuilder

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

public static interface Mlmodel.FlatTensorsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getTensorsCount

      int getTensorsCount()
       A name-indexed collection of flat tensor objects
       
      map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
    • containsTensors

      boolean containsTensors(String key)
       A name-indexed collection of flat tensor objects
       
      map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
    • getTensors

      Deprecated.
      Use getTensorsMap() instead.
    • getTensorsMap

      Map<String,Mlmodel.FlatTensor> getTensorsMap()
       A name-indexed collection of flat tensor objects
       
      map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
    • getTensorsOrDefault

      Mlmodel.FlatTensor getTensorsOrDefault(String key, Mlmodel.FlatTensor defaultValue)
       A name-indexed collection of flat tensor objects
       
      map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
    • getTensorsOrThrow

      Mlmodel.FlatTensor getTensorsOrThrow(String key)
       A name-indexed collection of flat tensor objects
       
      map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];