Interface TensorInfo.CompositeTensorOrBuilder

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

public static interface TensorInfo.CompositeTensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    TensorInfo getComponents​(int index)
    A TensorInfo for each flattened component tensor.
    int getComponentsCount()
    A TensorInfo for each flattened component tensor.
    java.util.List<TensorInfo> getComponentsList()
    A TensorInfo for each flattened component tensor.
    TensorInfoOrBuilder getComponentsOrBuilder​(int index)
    A TensorInfo for each flattened component tensor.
    java.util.List<? extends TensorInfoOrBuilder> getComponentsOrBuilderList()
    A TensorInfo for each flattened component tensor.
    Struct.TypeSpecProto getTypeSpec()
    The serialized TypeSpec for the composite tensor.
    Struct.TypeSpecProtoOrBuilder getTypeSpecOrBuilder()
    The serialized TypeSpec for the composite tensor.
    boolean hasTypeSpec()
    The serialized TypeSpec for the composite tensor.

    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

    • hasTypeSpec

      boolean hasTypeSpec()
       The serialized TypeSpec for the composite tensor.
       
      .tensorflow.TypeSpecProto type_spec = 1;
      Returns:
      Whether the typeSpec field is set.
    • getTypeSpec

      Struct.TypeSpecProto getTypeSpec()
       The serialized TypeSpec for the composite tensor.
       
      .tensorflow.TypeSpecProto type_spec = 1;
      Returns:
      The typeSpec.
    • getTypeSpecOrBuilder

      Struct.TypeSpecProtoOrBuilder getTypeSpecOrBuilder()
       The serialized TypeSpec for the composite tensor.
       
      .tensorflow.TypeSpecProto type_spec = 1;
    • getComponentsList

      java.util.List<TensorInfo> getComponentsList()
       A TensorInfo for each flattened component tensor.
       
      repeated .tensorflow.TensorInfo components = 2;
    • getComponents

      TensorInfo getComponents​(int index)
       A TensorInfo for each flattened component tensor.
       
      repeated .tensorflow.TensorInfo components = 2;
    • getComponentsCount

      int getComponentsCount()
       A TensorInfo for each flattened component tensor.
       
      repeated .tensorflow.TensorInfo components = 2;
    • getComponentsOrBuilderList

      java.util.List<? extends TensorInfoOrBuilder> getComponentsOrBuilderList()
       A TensorInfo for each flattened component tensor.
       
      repeated .tensorflow.TensorInfo components = 2;
    • getComponentsOrBuilder

      TensorInfoOrBuilder getComponentsOrBuilder​(int index)
       A TensorInfo for each flattened component tensor.
       
      repeated .tensorflow.TensorInfo components = 2;