Interface MemoryStatsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MemoryStats, MemoryStats.Builder

public interface MemoryStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTempMemorySize

      long getTempMemorySize()
      int64 temp_memory_size = 1;
      Returns:
      The tempMemorySize.
    • getPersistentMemorySize

      long getPersistentMemorySize()
      int64 persistent_memory_size = 3;
      Returns:
      The persistentMemorySize.
    • getPersistentTensorAllocIdsList

      java.util.List<java.lang.Long> getPersistentTensorAllocIdsList()
      repeated int64 persistent_tensor_alloc_ids = 5;
      Returns:
      A list containing the persistentTensorAllocIds.
    • getPersistentTensorAllocIdsCount

      int getPersistentTensorAllocIdsCount()
      repeated int64 persistent_tensor_alloc_ids = 5;
      Returns:
      The count of persistentTensorAllocIds.
    • getPersistentTensorAllocIds

      long getPersistentTensorAllocIds​(int index)
      repeated int64 persistent_tensor_alloc_ids = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The persistentTensorAllocIds at the given index.
    • getDeviceTempMemorySize

      @Deprecated long getDeviceTempMemorySize()
      Deprecated.
      int64 device_temp_memory_size = 2 [deprecated = true];
      Returns:
      The deviceTempMemorySize.
    • getDevicePersistentMemorySize

      @Deprecated long getDevicePersistentMemorySize()
      Deprecated.
      int64 device_persistent_memory_size = 4 [deprecated = true];
      Returns:
      The devicePersistentMemorySize.
    • getDevicePersistentTensorAllocIdsList

      @Deprecated java.util.List<java.lang.Long> getDevicePersistentTensorAllocIdsList()
      Deprecated.
      repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
      Returns:
      A list containing the devicePersistentTensorAllocIds.
    • getDevicePersistentTensorAllocIdsCount

      @Deprecated int getDevicePersistentTensorAllocIdsCount()
      Deprecated.
      repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
      Returns:
      The count of devicePersistentTensorAllocIds.
    • getDevicePersistentTensorAllocIds

      @Deprecated long getDevicePersistentTensorAllocIds​(int index)
      Deprecated.
      repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The devicePersistentTensorAllocIds at the given index.