KernelDef.AttrConstraint

public static final class KernelDef.AttrConstraint

Protobuf type tensorflow.KernelDef.AttrConstraint

Nested Classes

class KernelDef.AttrConstraint.Builder Protobuf type tensorflow.KernelDef.AttrConstraint

Constants

int ALLOWED_VALUES_FIELD_NUMBER
int NAME_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
AttrValue
getAllowedValues ()
 A list of values that this kernel supports for this attr.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 A list of values that this kernel supports for this attr.
static KernelDef.AttrConstraint
KernelDef.AttrConstraint
final static com.google.protobuf.Descriptors.Descriptor
String
getName ()
 Name of an attr from the Op.
com.google.protobuf.ByteString
getNameBytes ()
 Name of an attr from the Op.
int
final com.google.protobuf.UnknownFieldSet
boolean
hasAllowedValues ()
 A list of values that this kernel supports for this attr.
int
final boolean
static KernelDef.AttrConstraint.Builder
static KernelDef.AttrConstraint.Builder
KernelDef.AttrConstraint.Builder
static KernelDef.AttrConstraint
parseDelimitedFrom (InputStream input)
static KernelDef.AttrConstraint
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static KernelDef.AttrConstraint
parseFrom (ByteBuffer data)
static KernelDef.AttrConstraint
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static KernelDef.AttrConstraint
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static KernelDef.AttrConstraint
parseFrom (com.google.protobuf.CodedInputStream input)
static KernelDef.AttrConstraint
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static KernelDef.AttrConstraint
parseFrom (com.google.protobuf.ByteString data)
static KernelDef.AttrConstraint
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static KernelDef.AttrConstraint
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
KernelDef.AttrConstraint.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int ALLOWED_VALUES_FIELD_NUMBER

Constant Value: 2

public static final int NAME_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public 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 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 static KernelDef.AttrConstraint getDefaultInstance ()

public KernelDef.AttrConstraint getDefaultInstanceForType ()

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

public String getName ()

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

public com.google.protobuf.ByteString getNameBytes ()

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

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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

public int hashCode ()

public final boolean isInitialized ()

public static KernelDef.AttrConstraint.Builder newBuilder ()

public KernelDef.AttrConstraint.Builder newBuilderForType ()

public static KernelDef.AttrConstraint parseDelimitedFrom (InputStream input)

Throws
IOException

public static KernelDef.AttrConstraint parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static KernelDef.AttrConstraint parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static KernelDef.AttrConstraint parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static KernelDef.AttrConstraint parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static KernelDef.AttrConstraint parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static KernelDef.AttrConstraint parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static KernelDef.AttrConstraint parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException