Package tensorflow

Interface SavedObjectGraphOuterClass.SavedVariableOrBuilder

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

public static interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    VariableAggregation getAggregation()
    .tensorflow.VariableAggregation aggregation = 5;
    int getAggregationValue()
    .tensorflow.VariableAggregation aggregation = 5;
    DataType getDtype()
    .tensorflow.DataType dtype = 1;
    int getDtypeValue()
    .tensorflow.DataType dtype = 1;
    java.lang.String getName()
    string name = 6;
    com.google.protobuf.ByteString getNameBytes()
    string name = 6;
    TensorShapeProto getShape()
    .tensorflow.TensorShapeProto shape = 2;
    TensorShapeProtoOrBuilder getShapeOrBuilder()
    .tensorflow.TensorShapeProto shape = 2;
    VariableSynchronization getSynchronization()
    .tensorflow.VariableSynchronization synchronization = 4;
    int getSynchronizationValue()
    .tensorflow.VariableSynchronization synchronization = 4;
    boolean getTrainable()
    bool trainable = 3;
    boolean hasShape()
    .tensorflow.TensorShapeProto shape = 2;

    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

    • getDtypeValue

      int getDtypeValue()
      .tensorflow.DataType dtype = 1;
      Returns:
      The enum numeric value on the wire for dtype.
    • getDtype

      DataType getDtype()
      .tensorflow.DataType dtype = 1;
      Returns:
      The dtype.
    • hasShape

      boolean hasShape()
      .tensorflow.TensorShapeProto shape = 2;
      Returns:
      Whether the shape field is set.
    • getShape

      TensorShapeProto getShape()
      .tensorflow.TensorShapeProto shape = 2;
      Returns:
      The shape.
    • getShapeOrBuilder

      TensorShapeProtoOrBuilder getShapeOrBuilder()
      .tensorflow.TensorShapeProto shape = 2;
    • getTrainable

      boolean getTrainable()
      bool trainable = 3;
      Returns:
      The trainable.
    • getSynchronizationValue

      int getSynchronizationValue()
      .tensorflow.VariableSynchronization synchronization = 4;
      Returns:
      The enum numeric value on the wire for synchronization.
    • getSynchronization

      VariableSynchronization getSynchronization()
      .tensorflow.VariableSynchronization synchronization = 4;
      Returns:
      The synchronization.
    • getAggregationValue

      int getAggregationValue()
      .tensorflow.VariableAggregation aggregation = 5;
      Returns:
      The enum numeric value on the wire for aggregation.
    • getAggregation

      VariableAggregation getAggregation()
      .tensorflow.VariableAggregation aggregation = 5;
      Returns:
      The aggregation.
    • getName

      java.lang.String getName()
      string name = 6;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      string name = 6;
      Returns:
      The bytes for name.