Package org.tensorflow.framework
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
Modifier and TypeMethodDescriptionlongDeprecated.tensorflow.MemoryStats.device_persistent_memory_size is deprecated.longgetDevicePersistentTensorAllocIds(int index) Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.intDeprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated.longDeprecated.tensorflow.MemoryStats.device_temp_memory_size is deprecated.longint64 persistent_memory_size = 3;longgetPersistentTensorAllocIds(int index) repeated int64 persistent_tensor_alloc_ids = 5;intrepeated int64 persistent_tensor_alloc_ids = 5;repeated int64 persistent_tensor_alloc_ids = 5;longint64 temp_memory_size = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.tensorflow.MemoryStats.device_temp_memory_size is deprecated. See tensorflow/core/framework/step_stats.proto;l=64int64 device_temp_memory_size = 2 [deprecated = true];- Returns:
- The deviceTempMemorySize.
-
getDevicePersistentMemorySize
Deprecated.tensorflow.MemoryStats.device_persistent_memory_size is deprecated. See tensorflow/core/framework/step_stats.proto;l=65int64 device_persistent_memory_size = 4 [deprecated = true];- Returns:
- The devicePersistentMemorySize.
-
getDevicePersistentTensorAllocIdsList
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=66repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];- Returns:
- A list containing the devicePersistentTensorAllocIds.
-
getDevicePersistentTensorAllocIdsCount
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=66repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];- Returns:
- The count of devicePersistentTensorAllocIds.
-
getDevicePersistentTensorAllocIds
Deprecated.tensorflow.MemoryStats.device_persistent_tensor_alloc_ids is deprecated. See tensorflow/core/framework/step_stats.proto;l=66repeated 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.
-