AttrValueOrBuilder

public interface AttrValueOrBuilder
Known Indirect Subclasses

Public Methods

abstract boolean
getB()
 "bool"
 
bool b = 5;
abstract float
getF()
 "float"
 
float f = 4;
abstract NameAttrList
getFunc()
 "func" represents a function.
abstract NameAttrListOrBuilder
getFuncOrBuilder()
 "func" represents a function.
abstract long
getI()
 "int"
 
int64 i = 3;
abstract AttrValue.ListValue
getList()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
abstract AttrValue.ListValueOrBuilder
getListOrBuilder()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
abstract String
getPlaceholder()
 This is a placeholder only used in nodes defined inside a
 function.
abstract com.google.protobuf.ByteString
getPlaceholderBytes()
 This is a placeholder only used in nodes defined inside a
 function.
abstract com.google.protobuf.ByteString
getS()
 "string"
 
bytes s = 2;
abstract TensorShapeProto
getShape()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
abstract TensorShapeProtoOrBuilder
getShapeOrBuilder()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
abstract TensorProto
getTensor()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
abstract TensorProtoOrBuilder
getTensorOrBuilder()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
abstract DataType
getType()
 "type"
 
.tensorflow.DataType type = 6;
abstract int
getTypeValue()
 "type"
 
.tensorflow.DataType type = 6;
abstract AttrValue.ValueCase
abstract boolean
hasFunc()
 "func" represents a function.
abstract boolean
hasList()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
abstract boolean
hasShape()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
abstract boolean
hasTensor()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;

Public Methods

public abstract boolean getB ()

 "bool"
 
bool b = 5;

public abstract float getF ()

 "float"
 
float f = 4;

public abstract 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;

public abstract 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;

public abstract long getI ()

 "int"
 
int64 i = 3;

public abstract AttrValue.ListValue getList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

public abstract AttrValue.ListValueOrBuilder getListOrBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

public abstract 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;

public abstract 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;

public abstract com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

public abstract TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public abstract TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public abstract TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public abstract TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public abstract DataType getType ()

 "type"
 
.tensorflow.DataType type = 6;

public abstract int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

public abstract AttrValue.ValueCase getValueCase ()

public abstract 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;

public abstract boolean hasList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

public abstract boolean hasShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public abstract boolean hasTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;