RewriterConfig.CustomGraphOptimizer.Builder

public static final class RewriterConfig.CustomGraphOptimizer.Builder

 Message to describe custom graph optimizer and its parameters
 
Protobuf type tensorflow.RewriterConfig.CustomGraphOptimizer

Public Methods

RewriterConfig.CustomGraphOptimizer.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RewriterConfig.CustomGraphOptimizer
build()
RewriterConfig.CustomGraphOptimizer
RewriterConfig.CustomGraphOptimizer.Builder
clear()
RewriterConfig.CustomGraphOptimizer.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RewriterConfig.CustomGraphOptimizer.Builder
clearName()
string name = 1;
RewriterConfig.CustomGraphOptimizer.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RewriterConfig.CustomGraphOptimizer.Builder
RewriterConfig.CustomGraphOptimizer.Builder
clone()
boolean
containsParameterMap(String key)
map<string, .tensorflow.AttrValue> parameter_map = 2;
RewriterConfig.CustomGraphOptimizer
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Map<String, AttrValue>
getMutableParameterMap()
Use alternate mutation accessors instead.
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
Map<String, AttrValue>
int
getParameterMapCount()
map<string, .tensorflow.AttrValue> parameter_map = 2;
Map<String, AttrValue>
getParameterMapMap()
map<string, .tensorflow.AttrValue> parameter_map = 2;
AttrValue
getParameterMapOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> parameter_map = 2;
AttrValue
getParameterMapOrThrow(String key)
map<string, .tensorflow.AttrValue> parameter_map = 2;
final boolean
RewriterConfig.CustomGraphOptimizer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig.CustomGraphOptimizer.Builder
mergeFrom(com.google.protobuf.Message other)
final RewriterConfig.CustomGraphOptimizer.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RewriterConfig.CustomGraphOptimizer.Builder
putAllParameterMap(Map<String, AttrValue> values)
map<string, .tensorflow.AttrValue> parameter_map = 2;
RewriterConfig.CustomGraphOptimizer.Builder
putParameterMap(String key, AttrValue value)
map<string, .tensorflow.AttrValue> parameter_map = 2;
RewriterConfig.CustomGraphOptimizer.Builder
removeParameterMap(String key)
map<string, .tensorflow.AttrValue> parameter_map = 2;
RewriterConfig.CustomGraphOptimizer.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RewriterConfig.CustomGraphOptimizer.Builder
setName(String value)
string name = 1;
RewriterConfig.CustomGraphOptimizer.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
RewriterConfig.CustomGraphOptimizer.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final RewriterConfig.CustomGraphOptimizer.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public RewriterConfig.CustomGraphOptimizer buildPartial ()

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

public RewriterConfig.CustomGraphOptimizer.Builder clearName ()

string name = 1;

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

public RewriterConfig.CustomGraphOptimizer.Builder clearParameterMap ()

public boolean containsParameterMap (String key)

map<string, .tensorflow.AttrValue> parameter_map = 2;

public RewriterConfig.CustomGraphOptimizer getDefaultInstanceForType ()

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

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

public Map<String, AttrValue> getMutableParameterMap ()

Use alternate mutation accessors instead.

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public Map<String, AttrValue> getParameterMap ()

Use getParameterMapMap() instead.

public int getParameterMapCount ()

map<string, .tensorflow.AttrValue> parameter_map = 2;

public Map<String, AttrValue> getParameterMapMap ()

map<string, .tensorflow.AttrValue> parameter_map = 2;

public AttrValue getParameterMapOrDefault (String key, AttrValue defaultValue)

map<string, .tensorflow.AttrValue> parameter_map = 2;

public AttrValue getParameterMapOrThrow (String key)

map<string, .tensorflow.AttrValue> parameter_map = 2;

public final boolean isInitialized ()

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

Throws
IOException

public RewriterConfig.CustomGraphOptimizer.Builder mergeFrom (com.google.protobuf.Message other)

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

public RewriterConfig.CustomGraphOptimizer.Builder putAllParameterMap (Map<String, AttrValue> values)

map<string, .tensorflow.AttrValue> parameter_map = 2;

public RewriterConfig.CustomGraphOptimizer.Builder putParameterMap (String key, AttrValue value)

map<string, .tensorflow.AttrValue> parameter_map = 2;

public RewriterConfig.CustomGraphOptimizer.Builder removeParameterMap (String key)

map<string, .tensorflow.AttrValue> parameter_map = 2;

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

public RewriterConfig.CustomGraphOptimizer.Builder setName (String value)

string name = 1;

public RewriterConfig.CustomGraphOptimizer.Builder setNameBytes (com.google.protobuf.ByteString value)

string name = 1;

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

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