FunctionDefLibrary.Builder

public static final class FunctionDefLibrary.Builder

 A library is a set of named functions.
 
Protobuf type tensorflow.FunctionDefLibrary

Public Methods

FunctionDefLibrary.Builder
addAllFunction(Iterable<? extends FunctionDef> values)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addAllGradient(Iterable<? extends GradientDef> values)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addFunction(FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder()
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addGradient(GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder()
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionDefLibrary
build()
FunctionDefLibrary
FunctionDefLibrary.Builder
clear()
FunctionDefLibrary.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FunctionDefLibrary.Builder
clearFunction()
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
clearGradient()
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FunctionDefLibrary.Builder
clone()
FunctionDefLibrary
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
FunctionDef
getFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
getFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
List<FunctionDef.Builder>
getFunctionBuilderList()
repeated .tensorflow.FunctionDef function = 1;
int
getFunctionCount()
repeated .tensorflow.FunctionDef function = 1;
List<FunctionDef>
getFunctionList()
repeated .tensorflow.FunctionDef function = 1;
FunctionDefOrBuilder
getFunctionOrBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
List<? extends FunctionDefOrBuilder>
getFunctionOrBuilderList()
repeated .tensorflow.FunctionDef function = 1;
GradientDef
getGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
getGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
List<GradientDef.Builder>
getGradientBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
int
getGradientCount()
repeated .tensorflow.GradientDef gradient = 2;
List<GradientDef>
getGradientList()
repeated .tensorflow.GradientDef gradient = 2;
GradientDefOrBuilder
getGradientOrBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
List<? extends GradientDefOrBuilder>
getGradientOrBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
final boolean
FunctionDefLibrary.Builder
mergeFrom(com.google.protobuf.Message other)
FunctionDefLibrary.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final FunctionDefLibrary.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FunctionDefLibrary.Builder
removeFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
removeGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final FunctionDefLibrary.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public FunctionDefLibrary.Builder addAllFunction (Iterable<? extends FunctionDef> values)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder addAllGradient (Iterable<? extends GradientDef> values)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder addFunction (FunctionDef value)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder addFunction (int index, FunctionDef value)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder addFunction (int index, FunctionDef.Builder builderForValue)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder addFunction (FunctionDef.Builder builderForValue)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDef.Builder addFunctionBuilder (int index)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDef.Builder addFunctionBuilder ()

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder addGradient (GradientDef value)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder addGradient (GradientDef.Builder builderForValue)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder addGradient (int index, GradientDef.Builder builderForValue)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder addGradient (int index, GradientDef value)

repeated .tensorflow.GradientDef gradient = 2;

public GradientDef.Builder addGradientBuilder (int index)

repeated .tensorflow.GradientDef gradient = 2;

public GradientDef.Builder addGradientBuilder ()

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public FunctionDefLibrary build ()

public FunctionDefLibrary buildPartial ()

public FunctionDefLibrary.Builder clear ()

public FunctionDefLibrary.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public FunctionDefLibrary.Builder clearFunction ()

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder clearGradient ()

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public FunctionDefLibrary.Builder clone ()

public FunctionDefLibrary getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public FunctionDef getFunction (int index)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDef.Builder getFunctionBuilder (int index)

repeated .tensorflow.FunctionDef function = 1;

public List<FunctionDef.Builder> getFunctionBuilderList ()

repeated .tensorflow.FunctionDef function = 1;

public int getFunctionCount ()

repeated .tensorflow.FunctionDef function = 1;

public List<FunctionDef> getFunctionList ()

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefOrBuilder getFunctionOrBuilder (int index)

repeated .tensorflow.FunctionDef function = 1;

public List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList ()

repeated .tensorflow.FunctionDef function = 1;

public GradientDef getGradient (int index)

repeated .tensorflow.GradientDef gradient = 2;

public GradientDef.Builder getGradientBuilder (int index)

repeated .tensorflow.GradientDef gradient = 2;

public List<GradientDef.Builder> getGradientBuilderList ()

repeated .tensorflow.GradientDef gradient = 2;

public int getGradientCount ()

repeated .tensorflow.GradientDef gradient = 2;

public List<GradientDef> getGradientList ()

repeated .tensorflow.GradientDef gradient = 2;

public GradientDefOrBuilder getGradientOrBuilder (int index)

repeated .tensorflow.GradientDef gradient = 2;

public List<? extends GradientDefOrBuilder> getGradientOrBuilderList ()

repeated .tensorflow.GradientDef gradient = 2;

public final boolean isInitialized ()

public FunctionDefLibrary.Builder mergeFrom (com.google.protobuf.Message other)

public FunctionDefLibrary.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final FunctionDefLibrary.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public FunctionDefLibrary.Builder removeFunction (int index)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder removeGradient (int index)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public FunctionDefLibrary.Builder setFunction (int index, FunctionDef value)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder setFunction (int index, FunctionDef.Builder builderForValue)

repeated .tensorflow.FunctionDef function = 1;

public FunctionDefLibrary.Builder setGradient (int index, GradientDef value)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder setGradient (int index, GradientDef.Builder builderForValue)

repeated .tensorflow.GradientDef gradient = 2;

public FunctionDefLibrary.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final FunctionDefLibrary.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)