public interface AttrValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getB()
"bool"
|
float |
getF()
"float"
|
NameAttrList |
getFunc()
"func" represents a function.
|
NameAttrListOrBuilder |
getFuncOrBuilder()
"func" represents a function.
|
long |
getI()
"int"
|
AttrValue.ListValue |
getList()
any "list(...)"
|
AttrValue.ListValueOrBuilder |
getListOrBuilder()
any "list(...)"
|
java.lang.String |
getPlaceholder()
This is a placeholder only used in nodes defined inside a
function.
|
com.google.protobuf.ByteString |
getPlaceholderBytes()
This is a placeholder only used in nodes defined inside a
function.
|
com.google.protobuf.ByteString |
getS()
"string"
|
TensorShapeProto |
getShape()
"shape"
|
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
"shape"
|
TensorProto |
getTensor()
"tensor"
|
TensorProtoOrBuilder |
getTensorOrBuilder()
"tensor"
|
DataType |
getType()
"type"
|
int |
getTypeValue()
"type"
|
AttrValue.ValueCase |
getValueCase() |
boolean |
hasFunc()
"func" represents a function.
|
boolean |
hasList()
any "list(...)"
|
boolean |
hasShape()
"shape"
|
boolean |
hasTensor()
"tensor"
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getS()
"string"
bytes s = 2;long getI()
"int"
int64 i = 3;float getF()
"float"
float f = 4;boolean getB()
"bool"
bool b = 5;int getTypeValue()
"type"
.tensorflow.DataType type = 6;DataType getType()
"type"
.tensorflow.DataType type = 6;boolean hasShape()
"shape"
.tensorflow.TensorShapeProto shape = 7;TensorShapeProto getShape()
"shape"
.tensorflow.TensorShapeProto shape = 7;TensorShapeProtoOrBuilder getShapeOrBuilder()
"shape"
.tensorflow.TensorShapeProto shape = 7;boolean hasTensor()
"tensor"
.tensorflow.TensorProto tensor = 8;TensorProto getTensor()
"tensor"
.tensorflow.TensorProto tensor = 8;TensorProtoOrBuilder getTensorOrBuilder()
"tensor"
.tensorflow.TensorProto tensor = 8;boolean hasList()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;AttrValue.ListValue getList()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;AttrValue.ListValueOrBuilder getListOrBuilder()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;boolean hasFunc()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;NameAttrList getFunc()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;NameAttrListOrBuilder getFuncOrBuilder()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;java.lang.String getPlaceholder()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;com.google.protobuf.ByteString getPlaceholderBytes()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;AttrValue.ValueCase getValueCase()