AllocatorMemoryUsedOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
public
abstract
AllocationRecord
getAllocationRecords
(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
public
abstract
int
getAllocationRecordsCount
()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
public
abstract
List<AllocationRecord>
getAllocationRecordsList
()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
public
abstract
AllocationRecordOrBuilder
getAllocationRecordsOrBuilder
(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
public
abstract
List<? extends AllocationRecordOrBuilder>
getAllocationRecordsOrBuilderList
()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
public
abstract
long
getAllocatorBytesInUse
()
These are snapshots of the overall allocator memory stats.
The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;
public
abstract
String
getAllocatorName
()
string allocator_name = 1;
public
abstract
com.google.protobuf.ByteString
getAllocatorNameBytes
()
string allocator_name = 1;
public
abstract
long
getLiveBytes
()
The bytes that are not deallocated.
int64 live_bytes = 4;
public
abstract
long
getPeakBytes
()
public
abstract
long
getTotalBytes
()
These are per-node allocator memory stats.
int64 total_bytes = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# AllocatorMemoryUsedOrBuilder\n\npublic interface **AllocatorMemoryUsedOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [AllocatorMemoryUsed](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsed), [AllocatorMemoryUsed.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsed.Builder) |--------------------------------------------------------------------------------------------------------------|------------------------------------------------| | [AllocatorMemoryUsed](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsed) | Protobuf type `tensorflow.AllocatorMemoryUsed` | | [AllocatorMemoryUsed.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsed.Builder) | Protobuf type `tensorflow.AllocatorMemoryUsed` | |||\n\n### Public Methods\n\n|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [AllocationRecord](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecord) | [getAllocationRecords](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocationRecords(int))(int index) ``` The allocation and deallocation timeline. ``` |\n| abstract int | [getAllocationRecordsCount](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocationRecordsCount())() ``` The allocation and deallocation timeline. ``` |\n| abstract List\\\u003c[AllocationRecord](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecord)\\\u003e | [getAllocationRecordsList](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocationRecordsList())() ``` The allocation and deallocation timeline. ``` |\n| abstract [AllocationRecordOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecordOrBuilder) | [getAllocationRecordsOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocationRecordsOrBuilder(int))(int index) ``` The allocation and deallocation timeline. ``` |\n| abstract List\\\u003c? extends [AllocationRecordOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecordOrBuilder)\\\u003e | [getAllocationRecordsOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocationRecordsOrBuilderList())() ``` The allocation and deallocation timeline. ``` |\n| abstract long | [getAllocatorBytesInUse](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocatorBytesInUse())() ``` These are snapshots of the overall allocator memory stats. ``` |\n| abstract String | [getAllocatorName](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocatorName())() `string allocator_name = 1;` |\n| abstract com.google.protobuf.ByteString | [getAllocatorNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getAllocatorNameBytes())() `string allocator_name = 1;` |\n| abstract long | [getLiveBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getLiveBytes())() ``` The bytes that are not deallocated. ``` |\n| abstract long | [getPeakBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getPeakBytes())() `int64 peak_bytes = 3;` |\n| abstract long | [getTotalBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocatorMemoryUsedOrBuilder#getTotalBytes())() ``` These are per-node allocator memory stats. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract [AllocationRecord](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecord)\n**getAllocationRecords**\n(int index)\n\n\u003cbr /\u003e\n\n```\n The allocation and deallocation timeline.\n \n```\n`repeated .tensorflow.AllocationRecord allocation_records = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getAllocationRecordsCount**\n()\n\n\u003cbr /\u003e\n\n```\n The allocation and deallocation timeline.\n \n```\n`repeated .tensorflow.AllocationRecord allocation_records = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[AllocationRecord](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecord)\\\u003e\n**getAllocationRecordsList**\n()\n\n\u003cbr /\u003e\n\n```\n The allocation and deallocation timeline.\n \n```\n`repeated .tensorflow.AllocationRecord allocation_records = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract [AllocationRecordOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecordOrBuilder)\n**getAllocationRecordsOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n The allocation and deallocation timeline.\n \n```\n`repeated .tensorflow.AllocationRecord allocation_records = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [AllocationRecordOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AllocationRecordOrBuilder)\\\u003e\n**getAllocationRecordsOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n The allocation and deallocation timeline.\n \n```\n`repeated .tensorflow.AllocationRecord allocation_records = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getAllocatorBytesInUse**\n()\n\n\u003cbr /\u003e\n\n```\n These are snapshots of the overall allocator memory stats.\n The number of live bytes currently allocated by the allocator.\n \n```\n`int64 allocator_bytes_in_use = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getAllocatorName**\n()\n\n`string allocator_name = 1;` \n\n#### public abstract com.google.protobuf.ByteString\n**getAllocatorNameBytes**\n()\n\n`string allocator_name = 1;` \n\n#### public abstract long\n**getLiveBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The bytes that are not deallocated.\n \n```\n`int64 live_bytes = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getPeakBytes**\n()\n\n`int64 peak_bytes = 3;` \n\n#### public abstract long\n**getTotalBytes**\n()\n\n\u003cbr /\u003e\n\n```\n These are per-node allocator memory stats.\n \n```\n`int64 total_bytes = 2;`\n\n\u003cbr /\u003e"]]