KernelDef.AttrConstraintOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# KernelDef.AttrConstraintOrBuilder\n\npublic static interface **KernelDef.AttrConstraintOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [KernelDef.AttrConstraint](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraint), [KernelDef.AttrConstraint.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraint.Builder) |------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| | [KernelDef.AttrConstraint](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraint) | Protobuf type `tensorflow.KernelDef.AttrConstraint` | | [KernelDef.AttrConstraint.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraint.Builder) | Protobuf type `tensorflow.KernelDef.AttrConstraint` | |||\n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) | [getAllowedValues](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraintOrBuilder#getAllowedValues())() ``` A list of values that this kernel supports for this attr. ``` |\n| abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder) | [getAllowedValuesOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraintOrBuilder#getAllowedValuesOrBuilder())() ``` A list of values that this kernel supports for this attr. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraintOrBuilder#getName())() ``` Name of an attr from the Op. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraintOrBuilder#getNameBytes())() ``` Name of an attr from the Op. ``` |\n| abstract boolean | [hasAllowedValues](/jvm/api_docs/java/org/tensorflow/proto/framework/KernelDef.AttrConstraintOrBuilder#hasAllowedValues())() ``` A list of values that this kernel supports for this attr. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\n**getAllowedValues**\n()\n\n\u003cbr /\u003e\n\n```\n A list of values that this kernel supports for this attr.\n Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.\n \n```\n`.tensorflow.AttrValue allowed_values = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder)\n**getAllowedValuesOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n A list of values that this kernel supports for this attr.\n Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.\n \n```\n`.tensorflow.AttrValue allowed_values = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of an attr from the Op.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of an attr from the Op.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasAllowedValues**\n()\n\n\u003cbr /\u003e\n\n```\n A list of values that this kernel supports for this attr.\n Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.\n \n```\n`.tensorflow.AttrValue allowed_values = 2;`\n\n\u003cbr /\u003e"]]