Package org.tensorflow.framework
Interface MemoryStatsOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MemoryStats,MemoryStats.Builder
public interface MemoryStatsOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetDevicePersistentMemorySize()Deprecated.tensorflow.MemoryStats.device_persistent_memory_size is deprecated.longgetDevicePersistentTensorAllocIds(int index)Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.intgetDevicePersistentTensorAllocIdsCount()Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.List<Long>getDevicePersistentTensorAllocIdsList()Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.longgetDeviceTempMemorySize()Deprecated.tensorflow.MemoryStats.device_temp_memory_size is deprecated.longgetPersistentMemorySize()int64 persistent_memory_size = 3;longgetPersistentTensorAllocIds(int index)repeated int64 persistent_tensor_alloc_ids = 5;intgetPersistentTensorAllocIdsCount()repeated int64 persistent_tensor_alloc_ids = 5;List<Long>getPersistentTensorAllocIdsList()repeated int64 persistent_tensor_alloc_ids = 5;longgetTempMemorySize()int64 temp_memory_size = 1;-
Methods inherited from interface org.nd4j.shade.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
List<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.tensorflow.MemoryStats.device_temp_memory_size is deprecated. See tensorflow/core/framework/step_stats.proto;l=46int64 device_temp_memory_size = 2 [deprecated = true];- Returns:
- The deviceTempMemorySize.
-
getDevicePersistentMemorySize
@Deprecated long getDevicePersistentMemorySize()
Deprecated.tensorflow.MemoryStats.device_persistent_memory_size is deprecated. See tensorflow/core/framework/step_stats.proto;l=47int64 device_persistent_memory_size = 4 [deprecated = true];- Returns:
- The devicePersistentMemorySize.
-
getDevicePersistentTensorAllocIdsList
@Deprecated List<Long> getDevicePersistentTensorAllocIdsList()
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=48repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];- Returns:
- A list containing the devicePersistentTensorAllocIds.
-
getDevicePersistentTensorAllocIdsCount
@Deprecated int getDevicePersistentTensorAllocIdsCount()
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=48repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];- Returns:
- The count of devicePersistentTensorAllocIds.
-
getDevicePersistentTensorAllocIds
@Deprecated long getDevicePersistentTensorAllocIds(int index)
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=48repeated 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.
-
-