OpDef.AttrDef

공개 정적 최종 클래스 OpDef.AttrDef

 Description of the graph-construction-time configuration of this
 Op.  That is to say, this describes the attr fields that will
 be specified in the NodeDef.
 
Protobuf 유형 tensorflow.OpDef.AttrDef

중첩 클래스

수업 OpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

상수

정수 ALLOWED_VALUES_FIELD_NUMBER
정수 DEFAULT_VALUE_FIELD_NUMBER
정수 DESCRIPTION_FIELD_NUMBER
정수 HAS_MINIMUM_FIELD_NUMBER
정수 MINIMUM_FIELD_NUMBER
정수 NAME_FIELD_NUMBER
정수 TYPE_FIELD_NUMBER

공개 방법

부울
같음 (객체 객체)
속성값
getAllowedValues ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
정적 OpDef.AttrDef
OpDef.AttrDef
속성값
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
get설명 ()
 Human-readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
최종 정적 com.google.protobuf.Descriptors.Descriptor
부울
getHasMinimum ()
 For type == "int", this is a minimum value.
최소값 ()
int64 minimum = 6;
getName ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
정수
getType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
com.google.protobuf.ByteString
getTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
최종 com.google.protobuf.UnknownFieldSet
부울
hasAllowedValues ()
 The set of allowed values.
부울
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
정수
최종 부울
정적 OpDef.AttrDef.Builder
newBuilder ( OpDef.AttrDef 프로토타입)
정적 OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
정적 OpDef.AttrDef
parsDelimitedFrom (InputStream 입력)
정적 OpDef.AttrDef
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef.AttrDef
parsFrom (ByteBuffer 데이터)
정적 OpDef.AttrDef
ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef.AttrDef
ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef.AttrDef
ParseFrom (com.google.protobuf.CodedInputStream 입력)
정적 OpDef.AttrDef
parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry)
정적 OpDef.AttrDef
ParseFrom (com.google.protobuf.ByteString 데이터)
정적 OpDef.AttrDef
ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef.AttrDef
ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
공전
파서 ()
OpDef.AttrDef.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 정수 ALLOWED_VALUES_FIELD_NUMBER

상수값: 7

공개 정적 최종 int DEFAULT_VALUE_FIELD_NUMBER

상수값: 3

공개 정적 최종 int DESCRIPTION_FIELD_NUMBER

상수값: 4

공개 정적 최종 정수 HAS_MINIMUM_FIELD_NUMBER

상수값: 5

공개 정적 최종 int MINIMUM_FIELD_NUMBER

상수값: 6

공개 정적 최종 정수 NAME_FIELD_NUMBER

상수값: 1

공개 정적 최종 int TYPE_FIELD_NUMBER

상수값: 2

공개 방법

공개 부울은 (객체 obj)와 같습니다 .

공개 AttrValue getAllowedValues ()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

공개 AttrValueOrBuilder getAllowedValuesOrBuilder ()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

공개 정적 OpDef.AttrDef getDefaultInstance ()

공개 OpDef.AttrDef getDefaultInstanceForType ()

공개 AttrValue getDefaultValue ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

공개 AttrValueOrBuilder getDefaultValueOrBuilder ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

공개 문자열 getDescription ()

 Human-readable description.
 
string description = 4;

공개 com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 부울 getHasMinimum ()

 For type == "int", this is a minimum value.  For "list(___)"
 types, this is the minimum length.
 
bool has_minimum = 5;

공개 긴 getMinimum ()

int64 minimum = 6;

공개 문자열 getName ()

 A descriptive name for the argument.  May be used, e.g. by the
 Python client, as a keyword argument name, and so should match
 the regexp "[a-z][a-z0-9_]+".
 
string name = 1;

공개 com.google.protobuf.ByteString getNameBytes ()

 A descriptive name for the argument.  May be used, e.g. by the
 Python client, as a keyword argument name, and so should match
 the regexp "[a-z][a-z0-9_]+".
 
string name = 1;

공공의 getParserForType ()

공개 int getSerializedSize ()

공개 문자열 getType ()

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

공개 com.google.protobuf.ByteString getTypeBytes ()

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 부울 hasAllowedValues ​​()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

공개 부울 hasDefaultValue ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 OpDef.AttrDef.Builder newBuilder ( OpDef.AttrDef 프로토타입)

공개 정적 OpDef.AttrDef.Builder newBuilder ()

공개 OpDef.AttrDef.Builder newBuilderForType ()

공개 정적 OpDef.AttrDef parseDelimitedFrom (InputStream 입력)

던지기
IO예외

공개 정적 OpDef.AttrDefparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)

던지기
IO예외

공개 정적 OpDef.AttrDef 구문 분석 (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 OpDef.AttrDef 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 OpDef.AttrDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 OpDef.AttrDef 구문 분석 (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 OpDef.AttrDef 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 OpDef.AttrDef 구문 분석 (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 OpDef.AttrDef 구문 분석 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 OpDef.AttrDef 구문 분석 (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 OpDef.AttrDef.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외