Interface OpPerformanceData.OpPerformanceOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
OpPerformanceData.OpPerformance, OpPerformanceData.OpPerformance.Builder
- Enclosing class:
OpPerformanceData
-
Method Summary
Modifier and TypeMethodDescriptionlongTime it takes to run the op (in nanoseconds).doublePercentage of theoretical compute performance.longAnalytical compute cost (in nanoseconds)..tensorflow.LogNormalDistribution execution_time_log_normal = 11;.tensorflow.LogNormalDistribution execution_time_log_normal = 11;.tensorflow.NormalDistribution execution_time_normal = 10;.tensorflow.NormalDistribution execution_time_normal = 10;doublePercentage of theoretical memory performance.longAnalytical memory access cost (in nanoseconds).getNode()The node name (optional).The node name (optional).getOp()The op.tensorflow.OpPerformance.OpMemory op_memory = 9;.tensorflow.OpPerformance.OpMemory op_memory = 9;The opDeprecated.tensorflow.OpPerformance.session_info is deprecated.Deprecated.longTemporary memory used by this node (in bytes).boolean.tensorflow.LogNormalDistribution execution_time_log_normal = 11;boolean.tensorflow.NormalDistribution execution_time_normal = 10;booleanhasOp()The opboolean.tensorflow.OpPerformance.OpMemory op_memory = 9;booleanDeprecated.tensorflow.OpPerformance.session_info is deprecated.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasOp
boolean hasOp()The op
.tensorflow.OpInfo op = 1;- Returns:
- Whether the op field is set.
-
getOp
-
getOpOrBuilder
OpPerformanceData.OpInfoOrBuilder getOpOrBuilder()The op
.tensorflow.OpInfo op = 1; -
hasSessionInfo
Deprecated.tensorflow.OpPerformance.session_info is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=75Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true];- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Deprecated.tensorflow.OpPerformance.session_info is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=75Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true];- Returns:
- The sessionInfo.
-
getSessionInfoOrBuilder
Deprecated.Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true]; -
getNode
String getNode()The node name (optional). Makes it easier to associate the performance data with a specific graph node.
string node = 5;- Returns:
- The node.
-
getNodeBytes
ByteString getNodeBytes()The node name (optional). Makes it easier to associate the performance data with a specific graph node.
string node = 5;- Returns:
- The bytes for node.
-
getTemporaryMemorySize
long getTemporaryMemorySize()Temporary memory used by this node (in bytes).
int64 temporary_memory_size = 2;- Returns:
- The temporaryMemorySize.
-
getComputeCost
long getComputeCost()Time it takes to run the op (in nanoseconds).
int64 compute_cost = 3;- Returns:
- The computeCost.
-
getComputeTime
long getComputeTime()Analytical compute cost (in nanoseconds).
int64 compute_time = 6;- Returns:
- The computeTime.
-
getMemoryTime
long getMemoryTime()Analytical memory access cost (in nanoseconds).
int64 memory_time = 7;- Returns:
- The memoryTime.
-
getComputeEfficiency
double getComputeEfficiency()Percentage of theoretical compute performance.
double compute_efficiency = 4;- Returns:
- The computeEfficiency.
-
getMemoryEfficiency
double getMemoryEfficiency()Percentage of theoretical memory performance.
double memory_efficiency = 8;- Returns:
- The memoryEfficiency.
-
hasExecutionTimeNormal
boolean hasExecutionTimeNormal().tensorflow.NormalDistribution execution_time_normal = 10;- Returns:
- Whether the executionTimeNormal field is set.
-
getExecutionTimeNormal
OpPerformanceData.NormalDistribution getExecutionTimeNormal().tensorflow.NormalDistribution execution_time_normal = 10;- Returns:
- The executionTimeNormal.
-
getExecutionTimeNormalOrBuilder
OpPerformanceData.NormalDistributionOrBuilder getExecutionTimeNormalOrBuilder().tensorflow.NormalDistribution execution_time_normal = 10; -
hasExecutionTimeLogNormal
boolean hasExecutionTimeLogNormal().tensorflow.LogNormalDistribution execution_time_log_normal = 11;- Returns:
- Whether the executionTimeLogNormal field is set.
-
getExecutionTimeLogNormal
OpPerformanceData.LogNormalDistribution getExecutionTimeLogNormal().tensorflow.LogNormalDistribution execution_time_log_normal = 11;- Returns:
- The executionTimeLogNormal.
-
getExecutionTimeLogNormalOrBuilder
OpPerformanceData.LogNormalDistributionOrBuilder getExecutionTimeLogNormalOrBuilder().tensorflow.LogNormalDistribution execution_time_log_normal = 11; -
hasOpMemory
boolean hasOpMemory().tensorflow.OpPerformance.OpMemory op_memory = 9;- Returns:
- Whether the opMemory field is set.
-
getOpMemory
OpPerformanceData.OpPerformance.OpMemory getOpMemory().tensorflow.OpPerformance.OpMemory op_memory = 9;- Returns:
- The opMemory.
-
getOpMemoryOrBuilder
OpPerformanceData.OpPerformance.OpMemoryOrBuilder getOpMemoryOrBuilder().tensorflow.OpPerformance.OpMemory op_memory = 9; -
getExecutionTimeCase
OpPerformanceData.OpPerformance.ExecutionTimeCase getExecutionTimeCase()
-