Message to describe custom graph optimizer and its parameters
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> |
getParameterMap()
Use
getParameterMapMap() instead. |
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 | |
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.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public RewriterConfig.CustomGraphOptimizer.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public boolean containsParameterMap (String key)
map<string, .tensorflow.AttrValue> parameter_map = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getName ()
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
string name = 1;
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 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 setNameBytes (com.google.protobuf.ByteString value)
string name = 1;