Class FunctionDefLibrary

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.FunctionDefLibrary
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, FunctionDefLibraryOrBuilder

public final class FunctionDefLibrary extends com.google.protobuf.GeneratedMessageV3 implements FunctionDefLibraryOrBuilder
 A library is a set of named functions.
 
Protobuf type tensorflow.FunctionDefLibrary
See Also:
  • Field Details

    • FUNCTION_FIELD_NUMBER

      public static final int FUNCTION_FIELD_NUMBER
      See Also:
    • GRADIENT_FIELD_NUMBER

      public static final int GRADIENT_FIELD_NUMBER
      See Also:
    • REGISTERED_GRADIENTS_FIELD_NUMBER

      public static final int REGISTERED_GRADIENTS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getFunctionList

      public List<FunctionDef> getFunctionList()
      repeated .tensorflow.FunctionDef function = 1;
      Specified by:
      getFunctionList in interface FunctionDefLibraryOrBuilder
    • getFunctionOrBuilderList

      public List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList()
      repeated .tensorflow.FunctionDef function = 1;
      Specified by:
      getFunctionOrBuilderList in interface FunctionDefLibraryOrBuilder
    • getFunctionCount

      public int getFunctionCount()
      repeated .tensorflow.FunctionDef function = 1;
      Specified by:
      getFunctionCount in interface FunctionDefLibraryOrBuilder
    • getFunction

      public FunctionDef getFunction(int index)
      repeated .tensorflow.FunctionDef function = 1;
      Specified by:
      getFunction in interface FunctionDefLibraryOrBuilder
    • getFunctionOrBuilder

      public FunctionDefOrBuilder getFunctionOrBuilder(int index)
      repeated .tensorflow.FunctionDef function = 1;
      Specified by:
      getFunctionOrBuilder in interface FunctionDefLibraryOrBuilder
    • getGradientList

      public List<GradientDef> getGradientList()
      repeated .tensorflow.GradientDef gradient = 2;
      Specified by:
      getGradientList in interface FunctionDefLibraryOrBuilder
    • getGradientOrBuilderList

      public List<? extends GradientDefOrBuilder> getGradientOrBuilderList()
      repeated .tensorflow.GradientDef gradient = 2;
      Specified by:
      getGradientOrBuilderList in interface FunctionDefLibraryOrBuilder
    • getGradientCount

      public int getGradientCount()
      repeated .tensorflow.GradientDef gradient = 2;
      Specified by:
      getGradientCount in interface FunctionDefLibraryOrBuilder
    • getGradient

      public GradientDef getGradient(int index)
      repeated .tensorflow.GradientDef gradient = 2;
      Specified by:
      getGradient in interface FunctionDefLibraryOrBuilder
    • getGradientOrBuilder

      public GradientDefOrBuilder getGradientOrBuilder(int index)
      repeated .tensorflow.GradientDef gradient = 2;
      Specified by:
      getGradientOrBuilder in interface FunctionDefLibraryOrBuilder
    • getRegisteredGradientsList

      public List<RegisteredGradient> getRegisteredGradientsList()
      repeated .tensorflow.RegisteredGradient registered_gradients = 3;
      Specified by:
      getRegisteredGradientsList in interface FunctionDefLibraryOrBuilder
    • getRegisteredGradientsOrBuilderList

      public List<? extends RegisteredGradientOrBuilder> getRegisteredGradientsOrBuilderList()
      repeated .tensorflow.RegisteredGradient registered_gradients = 3;
      Specified by:
      getRegisteredGradientsOrBuilderList in interface FunctionDefLibraryOrBuilder
    • getRegisteredGradientsCount

      public int getRegisteredGradientsCount()
      repeated .tensorflow.RegisteredGradient registered_gradients = 3;
      Specified by:
      getRegisteredGradientsCount in interface FunctionDefLibraryOrBuilder
    • getRegisteredGradients

      public RegisteredGradient getRegisteredGradients(int index)
      repeated .tensorflow.RegisteredGradient registered_gradients = 3;
      Specified by:
      getRegisteredGradients in interface FunctionDefLibraryOrBuilder
    • getRegisteredGradientsOrBuilder

      public RegisteredGradientOrBuilder getRegisteredGradientsOrBuilder(int index)
      repeated .tensorflow.RegisteredGradient registered_gradients = 3;
      Specified by:
      getRegisteredGradientsOrBuilder in interface FunctionDefLibraryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FunctionDefLibrary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FunctionDefLibrary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FunctionDefLibrary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FunctionDefLibrary parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FunctionDefLibrary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FunctionDefLibrary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FunctionDefLibrary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FunctionDefLibrary.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FunctionDefLibrary.Builder newBuilder()
    • newBuilder

      public static FunctionDefLibrary.Builder newBuilder(FunctionDefLibrary prototype)
    • toBuilder

      public FunctionDefLibrary.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FunctionDefLibrary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static FunctionDefLibrary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FunctionDefLibrary> parser()
    • getParserForType

      public com.google.protobuf.Parser<FunctionDefLibrary> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public FunctionDefLibrary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder