KernelDef.AttrConstraintOrBuilder

public static interface KernelDef.AttrConstraintOrBuilder
Known Indirect Subclasses

Public Methods

abstract AttrValue
getAllowedValues()
 A list of values that this kernel supports for this attr.
abstract AttrValueOrBuilder
getAllowedValuesOrBuilder()
 A list of values that this kernel supports for this attr.
abstract String
getName()
 Name of an attr from the Op.
abstract com.google.protobuf.ByteString
getNameBytes()
 Name of an attr from the Op.
abstract boolean
hasAllowedValues()
 A list of values that this kernel supports for this attr.

Public Methods

public abstract AttrValue getAllowedValues ()

 A list of values that this kernel supports for this attr.
 Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
 
.tensorflow.AttrValue allowed_values = 2;

public abstract AttrValueOrBuilder getAllowedValuesOrBuilder ()

 A list of values that this kernel supports for this attr.
 Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
 
.tensorflow.AttrValue allowed_values = 2;

public abstract String getName ()

 Name of an attr from the Op.
 
string name = 1;

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

 Name of an attr from the Op.
 
string name = 1;

public abstract boolean hasAllowedValues ()

 A list of values that this kernel supports for this attr.
 Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
 
.tensorflow.AttrValue allowed_values = 2;