RunOptions

מחלקה סופית ציבורית RunOptions

 Options for a single Run() call.
 
tensorflow.RunOptions מסוג Protobuf.RunOptions

כיתות מקוננות

מעמד RunOptions.Builder
 Options for a single Run() call. 
מעמד RunOptions.ניסוי
 Everything inside Experimental is subject to change and is not subject
 to API stability guarantees in
 https://www.tensorflow.org/guide/version_compat. 
מִמְשָׁק RunOptions.ExperimentalOrBuilder
enum RunOptions.TraceLevel
 TODO(pbar) Turn this into a TraceOptions proto which allows
 tracing to be controlled in a more orthogonal manner?
 
Protobuf enum tensorflow.RunOptions.TraceLevel

קבועים

int DEBUG_OPTIONS_FIELD_NUMBER
int EXPERIMENTAL_FIELD_NUMBER
int INTER_OP_THREAD_POOL_FIELD_NUMBER
int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
int TIMEOUT_IN_MS_FIELD_NUMBER
int TRACE_LEVEL_FIELD_NUMBER

שיטות ציבוריות

בוליאני
שווה (Object obj)
DebugOptions
getDebugOptions ()
 EXPERIMENTAL.
DebugOptionsOrBuilder
getDebugOptionsOrBuilder ()
 EXPERIMENTAL.
סטטי RunOptions
RunOptions
final static com.google.protobuf.Descriptors.Descriptor
RunOptions.ניסוי
getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.ExperimentalOrBuilder
getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
int
getInterOpThreadPool ()
 The thread pool to use, if session_inter_op_thread_pool is configured.
בוליאני
getOutputPartitionGraphs ()
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
בוליאני
getReportTensorAllocationsUponOom ()
 When enabled, causes tensor allocation information to be included in
 the error message when the Run() call fails because the allocator ran
 out of memory (OOM).
int
ארוך
getTimeoutInMs ()
 Time to wait for operation to complete in milliseconds.
RunOptions.TraceLevel
getTraceLevel ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
int
getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
final com.google.protobuf.UnknownFieldSet
בוליאני
hasDebugOptions ()
 EXPERIMENTAL.
בוליאני
hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
int
בוליאנית סופית
סטטי RunOptions.Builder
newBuilder (אב-טיפוס RunOptions )
סטטי RunOptions.Builder
RunOptions.Builder
סטטי RunOptions
parseDelimitedFrom (קלט InputStream)
סטטי RunOptions
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי RunOptions
parseFrom (נתוני ByteBuffer)
סטטי RunOptions
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי RunOptions
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי RunOptions
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי RunOptions
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי RunOptions
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי RunOptions
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי RunOptions
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
RunOptions.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

אינט סופי סטטי ציבורי DEBUG_OPTIONS_FIELD_NUMBER

ערך קבוע: 6

אינט סופי סטטי ציבורי EXPERIMENTAL_FIELD_NUMBER

ערך קבוע: 8

אינט גמר סטטי ציבורי INTER_OP_THREAD_POOL_FIELD_NUMBER

ערך קבוע: 3

אינט סופי סטטי ציבורי OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER

ערך קבוע: 5

גמר סטטי ציבורי REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER

ערך קבוע: 7

גמר סטטי ציבורי TIMEOUT_IN_MS_FIELD_NUMBER

ערך קבוע: 2

גמר סטטי ציבורי TRACE_LEVEL_FIELD_NUMBER

ערך קבוע: 1

שיטות ציבוריות

שווה ערך בוליאני ציבורי (Object obj)

public DebugOptions getDebugOptions ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public DebugOptionsOrBuilder getDebugOptionsOrBuilder ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public static RunOptions getDefaultInstance ()

public RunOptions getDefaultInstanceForType ()

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

public RunOptions.Experimental getExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()

.tensorflow.RunOptions.Experimental experimental = 8;

public int getInterOpThreadPool ()

 The thread pool to use, if session_inter_op_thread_pool is configured.
 To use the caller thread set this to -1 - this uses the caller thread
 to execute Session::Run() and thus avoids a context switch. Using the
 caller thread to execute Session::Run() should be done ONLY for simple
 graphs, where the overhead of an additional context switch is
 comparable with the overhead of Session::Run().
 
int32 inter_op_thread_pool = 3;

getOutputPartitionGraphs בוליאני ציבורי ()

 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
 
bool output_partition_graphs = 5;

פּוּמְבֵּי getParserForType ()

getReportTensorAlocationsUponOom ציבורי בוליאני ()

 When enabled, causes tensor allocation information to be included in
 the error message when the Run() call fails because the allocator ran
 out of memory (OOM).
 Enabling this option can slow down the Run() call.
 
bool report_tensor_allocations_upon_oom = 7;

public int getSerializedSize ()

public long getTimeoutInMs ()

 Time to wait for operation to complete in milliseconds.
 
int64 timeout_in_ms = 2;

public RunOptions.TraceLevel getTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public int getTraceLevelValue ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

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

יש DebugOptions בוליאני ציבורי ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public Boolean hasExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

ציבורי סטטי RunOptions.Builder newBuilder (אב-טיפוס RunOptions )

ציבורי סטטי RunOptions.Builder newBuilder ()

public RunOptions.Builder newBuilderForType ()

public static RunOptions parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static RunOptions parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static RunOptions parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

public static RunOptions parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static RunOptions parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static RunOptions parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

public static RunOptions parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static RunOptions parseFrom (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

public static RunOptions parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static RunOptions parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public RunOptions.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException