ScopedAllocatorOptions.Builder

public static final class ScopedAllocatorOptions.Builder

Protobuf type tensorflow.ScopedAllocatorOptions

Public Methods

ScopedAllocatorOptions.Builder
addAllEnableOp(Iterable<String> values)
 If present, only perform optimization for these ops.
ScopedAllocatorOptions.Builder
addEnableOp(String value)
 If present, only perform optimization for these ops.
ScopedAllocatorOptions.Builder
addEnableOpBytes(com.google.protobuf.ByteString value)
 If present, only perform optimization for these ops.
ScopedAllocatorOptions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScopedAllocatorOptions
build()
ScopedAllocatorOptions
ScopedAllocatorOptions.Builder
clear()
ScopedAllocatorOptions.Builder
clearEnableOp()
 If present, only perform optimization for these ops.
ScopedAllocatorOptions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ScopedAllocatorOptions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ScopedAllocatorOptions.Builder
clone()
ScopedAllocatorOptions
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getEnableOp(int index)
 If present, only perform optimization for these ops.
com.google.protobuf.ByteString
getEnableOpBytes(int index)
 If present, only perform optimization for these ops.
int
getEnableOpCount()
 If present, only perform optimization for these ops.
com.google.protobuf.ProtocolStringList
getEnableOpList()
 If present, only perform optimization for these ops.
final boolean
ScopedAllocatorOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ScopedAllocatorOptions.Builder
mergeFrom(com.google.protobuf.Message other)
final ScopedAllocatorOptions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScopedAllocatorOptions.Builder
setEnableOp(int index, String value)
 If present, only perform optimization for these ops.
ScopedAllocatorOptions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScopedAllocatorOptions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final ScopedAllocatorOptions.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public ScopedAllocatorOptions.Builder addAllEnableOp (Iterable<String> values)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public ScopedAllocatorOptions.Builder addEnableOp (String value)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public ScopedAllocatorOptions.Builder addEnableOpBytes (com.google.protobuf.ByteString value)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

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

public ScopedAllocatorOptions build ()

public ScopedAllocatorOptions buildPartial ()

public ScopedAllocatorOptions.Builder clearEnableOp ()

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

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

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

public ScopedAllocatorOptions getDefaultInstanceForType ()

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

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

public String getEnableOp (int index)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public com.google.protobuf.ByteString getEnableOpBytes (int index)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public int getEnableOpCount ()

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public com.google.protobuf.ProtocolStringList getEnableOpList ()

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public ScopedAllocatorOptions.Builder setEnableOp (int index, String value)

 If present, only perform optimization for these ops.
 
repeated string enable_op = 1;

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

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

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