Class FunctionDefLibrary
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.FunctionDefLibrary
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, FunctionDefLibraryOrBuilder
public final class FunctionDefLibrary
extends GeneratedMessageV3
implements FunctionDefLibraryOrBuilder
A library is a set of named functions.Protobuf type
tensorflow.FunctionDefLibrary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA library is a set of named functions.Nested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FunctionDefLibrarystatic final Descriptors.DescriptorgetFunction(int index) repeated .tensorflow.FunctionDef function = 1;intrepeated .tensorflow.FunctionDef function = 1;repeated .tensorflow.FunctionDef function = 1;getFunctionOrBuilder(int index) repeated .tensorflow.FunctionDef function = 1;List<? extends FunctionDefOrBuilder> repeated .tensorflow.FunctionDef function = 1;getGradient(int index) repeated .tensorflow.GradientDef gradient = 2;intrepeated .tensorflow.GradientDef gradient = 2;repeated .tensorflow.GradientDef gradient = 2;getGradientOrBuilder(int index) repeated .tensorflow.GradientDef gradient = 2;List<? extends GradientDefOrBuilder> repeated .tensorflow.GradientDef gradient = 2;getRegisteredGradients(int index) repeated .tensorflow.RegisteredGradient registered_gradients = 3;intrepeated .tensorflow.RegisteredGradient registered_gradients = 3;repeated .tensorflow.RegisteredGradient registered_gradients = 3;getRegisteredGradientsOrBuilder(int index) repeated .tensorflow.RegisteredGradient registered_gradients = 3;List<? extends RegisteredGradientOrBuilder> repeated .tensorflow.RegisteredGradient registered_gradients = 3;intfinal UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FunctionDefLibrary.Builderstatic FunctionDefLibrary.BuildernewBuilder(FunctionDefLibrary prototype) protected FunctionDefLibrary.Builderprotected Objectstatic FunctionDefLibraryparseDelimitedFrom(InputStream input) static FunctionDefLibraryparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static FunctionDefLibraryparseFrom(byte[] data) static FunctionDefLibraryparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static FunctionDefLibraryparseFrom(ByteString data) static FunctionDefLibraryparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static FunctionDefLibraryparseFrom(CodedInputStream input) static FunctionDefLibraryparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static FunctionDefLibraryparseFrom(InputStream input) static FunctionDefLibraryparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static FunctionDefLibraryparseFrom(ByteBuffer data) static FunctionDefLibraryparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<FunctionDefLibrary> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
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
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getFunctionList
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionListin interfaceFunctionDefLibraryOrBuilder
-
getFunctionOrBuilderList
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionOrBuilderListin interfaceFunctionDefLibraryOrBuilder
-
getFunctionCount
public int getFunctionCount()repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionCountin interfaceFunctionDefLibraryOrBuilder
-
getFunction
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionin interfaceFunctionDefLibraryOrBuilder
-
getFunctionOrBuilder
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionOrBuilderin interfaceFunctionDefLibraryOrBuilder
-
getGradientList
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientListin interfaceFunctionDefLibraryOrBuilder
-
getGradientOrBuilderList
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientOrBuilderListin interfaceFunctionDefLibraryOrBuilder
-
getGradientCount
public int getGradientCount()repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientCountin interfaceFunctionDefLibraryOrBuilder
-
getGradient
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientin interfaceFunctionDefLibraryOrBuilder
-
getGradientOrBuilder
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientOrBuilderin interfaceFunctionDefLibraryOrBuilder
-
getRegisteredGradientsList
repeated .tensorflow.RegisteredGradient registered_gradients = 3;- Specified by:
getRegisteredGradientsListin interfaceFunctionDefLibraryOrBuilder
-
getRegisteredGradientsOrBuilderList
repeated .tensorflow.RegisteredGradient registered_gradients = 3;- Specified by:
getRegisteredGradientsOrBuilderListin interfaceFunctionDefLibraryOrBuilder
-
getRegisteredGradientsCount
public int getRegisteredGradientsCount()repeated .tensorflow.RegisteredGradient registered_gradients = 3;- Specified by:
getRegisteredGradientsCountin interfaceFunctionDefLibraryOrBuilder
-
getRegisteredGradients
repeated .tensorflow.RegisteredGradient registered_gradients = 3;- Specified by:
getRegisteredGradientsin interfaceFunctionDefLibraryOrBuilder
-
getRegisteredGradientsOrBuilder
repeated .tensorflow.RegisteredGradient registered_gradients = 3;- Specified by:
getRegisteredGradientsOrBuilderin interfaceFunctionDefLibraryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static FunctionDefLibrary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static FunctionDefLibrary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static FunctionDefLibrary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FunctionDefLibrary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FunctionDefLibrary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FunctionDefLibrary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-