כיתת גמר ציבורית KernelDef
tensorflow.KernelDef
מסוג Protobuf.KernelDef
כיתות מקוננות
מַחלָקָה | KernelDef.AttrConstraint | tensorflow.KernelDef.AttrConstraint מסוג Protobuf.KernelDef.AttrConstraint | |
מִמְשָׁק | KernelDef.AttrConstraintOrBuilder | ||
מַחלָקָה | KernelDef.Builder | tensorflow.KernelDef מסוג Protobuf.KernelDef |
קבועים
int | CONSTRAINT_FIELD_NUMBER | |
int | DEVICE_TYPE_FIELD_NUMBER | |
int | HOST_MEMORY_ARG_FIELD_NUMBER | |
int | LABEL_FIELD_NUMBER | |
int | OP_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
KernelDef.AttrConstraint | getConstraint (int index) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int | getConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
רשימה< KernelDef.AttrConstraint > | getConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (int index) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
רשימה<? מרחיב את KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
סטטי KernelDef | |
KernelDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
חוּט | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
חוּט | getHostMemoryArg (int index) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (int index) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
int | getHostMemoryArgCount () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ProtocolStringList | getHostMemoryArgList () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
חוּט | getLabel () This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this. |
com.google.protobuf.ByteString | getLabelBytes () This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this. |
חוּט | getOp () Must match the name of an Op. |
com.google.protobuf.ByteString | getOpBytes () Must match the name of an Op. |
int | getPriority () Prioritization of kernel amongst different devices. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי KernelDef.Builder | newBuilder () |
סטטי KernelDef.Builder | newBuilder (אב טיפוס KernelDef ) |
KernelDef.Builder | |
סטטי KernelDef | parseDelimitedFrom (קלט InputStream) |
סטטי KernelDef | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי KernelDef | parseFrom (נתוני ByteBuffer) |
סטטי KernelDef | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי KernelDef | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי KernelDef | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי KernelDef | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי KernelDef | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי KernelDef | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי KernelDef | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
KernelDef.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי CONSTRAINT_FIELD_NUMBER
ערך קבוע: 3
אינט סופי סטטי ציבורי DEVICE_TYPE_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי HOST_MEMORY_ARG_FIELD_NUMBER
ערך קבוע: 4
גמר סטטי ציבורי LABEL_FIELD_NUMBER
ערך קבוע: 5
הגמר הסטטי הציבורי OP_FIELD_NUMBER
ערך קבוע: 1
גמר סטטי ציבורי PRIORITY_FIELD_NUMBER
ערך קבוע: 6
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public KernelDef.AttrConstraint getConstraint (אינדקס int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
רשימה ציבורית< KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
רשימה ציבורית<? מרחיב את KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
public com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
מחרוזת ציבורית getHostMemoryArg (int index)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
public com.google.protobuf.ByteString getHostMemoryArgBytes (int index)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
public int getHostMemoryArgCount ()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
public com.google.protobuf.ProtocolStringList getHostMemoryArgList ()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
מחרוזת ציבורית getLabel ()
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;
public com.google.protobuf.ByteString getLabelBytes ()
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;
מחרוזת ציבורית getOp ()
Must match the name of an Op.
string op = 1;
public com.google.protobuf.ByteString getOpBytes ()
Must match the name of an Op.
string op = 1;
פּוּמְבֵּי getParserForType ()
public int getPriority ()
Prioritization of kernel amongst different devices. By default we assume priority is 0. The higher the priority the better. By default (i.e. if this is not set), we prefer GPU kernels over CPU.
int32 priority = 6;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
ציבורי סטטי KernelDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static KernelDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static KernelDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
public static KernelDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
KernelDef parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static KernelDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static KernelDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|