Interface OpPerformanceData.OpPerformance.OpMemoryOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
OpPerformanceData.OpPerformance.OpMemory, OpPerformanceData.OpPerformance.OpMemory.Builder
- Enclosing class:
OpPerformanceData.OpPerformance
-
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.tensorflow.OpPerformance.OpMemory.device_persistent_memory is deprecated.longDeprecated.tensorflow.OpPerformance.OpMemory.device_temp_memory is deprecated.longgetOutputMemory(int index) The output information may have memory usage and output shapes.intThe output information may have memory usage and output shapes.The output information may have memory usage and output shapes.longint64 persistent_memory = 4;longTemp and persistent memory allocated by this node.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getOutputMemoryList
-
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.tensorflow.OpPerformance.OpMemory.device_temp_memory is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=114int64 device_temp_memory = 3 [deprecated = true];- Returns:
- The deviceTempMemory.
-
getDevicePersistentMemory
Deprecated.tensorflow.OpPerformance.OpMemory.device_persistent_memory is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=115int64 device_persistent_memory = 5 [deprecated = true];- Returns:
- The devicePersistentMemory.
-