Interface OpPerformanceData.OpPerformance.OpMemoryOrBuilder

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

public static interface OpPerformanceData.OpPerformance.OpMemoryOrBuilder extends MessageOrBuilder
  • Method Details

    • getOutputMemoryList

      List<Long> getOutputMemoryList()
      The output information may have memory usage and output shapes.
      
      repeated int64 output_memory = 1;
      Returns:
      A list containing the outputMemory.
    • getOutputMemoryCount

      int getOutputMemoryCount()
      The output information may have memory usage and output shapes.
      
      repeated int64 output_memory = 1;
      Returns:
      The count of outputMemory.
    • getOutputMemory

      long getOutputMemory(int index)
      The output information may have memory usage and output shapes.
      
      repeated int64 output_memory = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The outputMemory at the given index.
    • getTempMemory

      long getTempMemory()
      Temp and persistent memory allocated by this node.
      
      int64 temp_memory = 2;
      Returns:
      The tempMemory.
    • getPersistentMemory

      long getPersistentMemory()
      int64 persistent_memory = 4;
      Returns:
      The persistentMemory.
    • getDeviceTempMemory

      @Deprecated long getDeviceTempMemory()
      Deprecated.
      tensorflow.OpPerformance.OpMemory.device_temp_memory is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=114
      int64 device_temp_memory = 3 [deprecated = true];
      Returns:
      The deviceTempMemory.
    • getDevicePersistentMemory

      @Deprecated long getDevicePersistentMemory()
      Deprecated.
      tensorflow.OpPerformance.OpMemory.device_persistent_memory is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=115
      int64 device_persistent_memory = 5 [deprecated = true];
      Returns:
      The devicePersistentMemory.