Interface OpPerformanceData.OpPerformanceOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
OpPerformanceData.OpPerformance, OpPerformanceData.OpPerformance.Builder
Enclosing class:
OpPerformanceData

public static interface OpPerformanceData.OpPerformanceOrBuilder extends MessageOrBuilder
  • Method Details

    • hasOp

      boolean hasOp()
      The op
      
      .tensorflow.OpInfo op = 1;
      Returns:
      Whether the op field is set.
    • getOp

      The op
      
      .tensorflow.OpInfo op = 1;
      Returns:
      The op.
    • getOpOrBuilder

      The op
      
      .tensorflow.OpInfo op = 1;
    • hasSessionInfo

      @Deprecated boolean hasSessionInfo()
      Deprecated.
      tensorflow.OpPerformance.session_info is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=75
      Information 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=75
      Information 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

      .tensorflow.OpPerformance.OpMemory op_memory = 9;
      Returns:
      The opMemory.
    • getOpMemoryOrBuilder

      .tensorflow.OpPerformance.OpMemory op_memory = 9;
    • getExecutionTimeCase