Package org.platanios.tensorflow.proto
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description long
getDevicePersistentMemorySize()
Deprecated.long
getDevicePersistentTensorAllocIds(int index)
Deprecated.int
getDevicePersistentTensorAllocIdsCount()
Deprecated.java.util.List<java.lang.Long>
getDevicePersistentTensorAllocIdsList()
Deprecated.long
getDeviceTempMemorySize()
Deprecated.long
getPersistentMemorySize()
int64 persistent_memory_size = 3;
long
getPersistentTensorAllocIds(int index)
repeated int64 persistent_tensor_alloc_ids = 5;
int
getPersistentTensorAllocIdsCount()
repeated int64 persistent_tensor_alloc_ids = 5;
java.util.List<java.lang.Long>
getPersistentTensorAllocIdsList()
repeated int64 persistent_tensor_alloc_ids = 5;
long
getTempMemorySize()
int64 temp_memory_size = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-