Package inference

Interface ModelConfigOuterClass.ModelTensorReshapeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelConfigOuterClass.ModelTensorReshape, ModelConfigOuterClass.ModelTensorReshape.Builder
Enclosing class:
ModelConfigOuterClass

public static interface ModelConfigOuterClass.ModelTensorReshapeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getShape(int index)
    @@ ..
    int
    @@ ..
    @@ ..

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getShapeList

      List<Long> getShapeList()
      @@  .. cpp:var:: int64 shape (repeated)
      @@
      @@     The shape to use for reshaping.
      @@
       
      repeated int64 shape = 1;
      Returns:
      A list containing the shape.
    • getShapeCount

      int getShapeCount()
      @@  .. cpp:var:: int64 shape (repeated)
      @@
      @@     The shape to use for reshaping.
      @@
       
      repeated int64 shape = 1;
      Returns:
      The count of shape.
    • getShape

      long getShape(int index)
      @@  .. cpp:var:: int64 shape (repeated)
      @@
      @@     The shape to use for reshaping.
      @@
       
      repeated int64 shape = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The shape at the given index.