כיתת גמר ציבורית AttrValue
Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.
tensorflow.AttrValue
מסוג Protobuf.AttrValue כיתות מקוננות
מַחלָקָה | AttrValue.Builder | Protocol buffer representing the value for an attr used to configure an Op. | |
מַחלָקָה | AttrValue.ListValue | LINT.IfChange tensorflow.AttrValue.ListValue | |
מִמְשָׁק | AttrValue.ListValueOrBuilder | ||
enum | AttrValue.ValueCase |
קבועים
int | B_FIELD_NUMBER | |
int | FUNC_FIELD_NUMBER | |
int | F_FIELD_NUMBER | |
int | I_FIELD_NUMBER | |
int | LIST_FIELD_NUMBER | |
int | PLACEHOLDER_FIELD_NUMBER | |
int | SHAPE_FIELD_NUMBER | |
int | S_FIELD_NUMBER | |
int | TENSOR_FIELD_NUMBER | |
int | TYPE_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
בוליאני | getB () "bool" bool b = 5; |
סטטי AttrValue | |
AttrValue | |
final static com.google.protobuf.Descriptors.Descriptor | |
לָצוּף | getF () "float" float f = 4; |
NameAttrList | getFunc () "func" represents a function. |
NameAttrListOrBuilder | getFuncOrBuilder () "func" represents a function. |
אָרוֹך | getI () "int" int64 i = 3; |
AttrValue.ListValue | getList () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValueOrBuilder | getListOrBuilder () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
חוּט | getPlaceholder () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | getPlaceholderBytes () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | getS () "string" bytes s = 2; |
int | |
TensorShapeProto | getShape () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorProto | getTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
DataType | getType () "type" .tensorflow.DataType type = 6; |
int | getTypeValue () "type" .tensorflow.DataType type = 6; |
final com.google.protobuf.UnknownFieldSet | |
AttrValue.ValueCase | getValueCase () |
בוליאני | hasFunc () "func" represents a function. |
בוליאני | hasList () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
בוליאני | hasShape () "shape" .tensorflow.TensorShapeProto shape = 7; |
בוליאני | hasTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
int | hashcode () |
בוליאנית סופית | |
סטטי AttrValue.Builder | newBuilder (אב-טיפוס AttrValue ) |
סטטי AttrValue.Builder | newBuilder () |
AttrValue.Builder | |
סטטי AttrValue | parseDelimitedFrom (קלט InputStream) |
סטטי AttrValue | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי AttrValue | parseFrom (נתוני ByteBuffer) |
סטטי AttrValue | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי AttrValue | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי AttrValue | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי AttrValue | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי AttrValue | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי AttrValue | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי AttrValue | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
AttrValue.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי B_FIELD_NUMBER
ערך קבוע: 5
אינט סופי סטטי ציבורי FUNC_FIELD_NUMBER
ערך קבוע: 10
גמר סטטי ציבורי F_FIELD_NUMBER
ערך קבוע: 4
גמר סטטי ציבורי אינט I_FIELD_NUMBER
ערך קבוע: 3
גמר סטטי ציבורי LIST_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי PLACEHOLDER_FIELD_NUMBER
ערך קבוע: 9
גמר סטטי ציבורי SHAPE_FIELD_NUMBER
ערך קבוע: 7
גמר סטטי ציבורי ב- S_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי TENSOR_FIELD_NUMBER
ערך קבוע: 8
סופי סטטי ציבורי TYPE_FIELD_NUMBER
ערך קבוע: 6
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
getB בוליאני ציבורי ()
"bool"
bool b = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
ציפה ציבורית getF ()
"float"
float f = 4;
public 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 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 long getI ()
"int"
int64 i = 3;
public AttrValue.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
פּוּמְבֵּי getParserForType ()
מחרוזת ציבורית 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 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 com.google.protobuf.ByteString getS ()
"string"
bytes s = 2;
public int getSerializedSize ()
הציבור TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
יש רשימה בוליאנית ציבורית ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
hasShape בוליאני ציבורי ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
יש Tensor בוליאני ציבורי ()
"tensor"
.tensorflow.TensorProto tensor = 8;
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static AttrValue parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static AttrValue parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static AttrValue parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
public static AttrValue parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static AttrValue parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static AttrValue parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static AttrValue parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|