-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store memory_viewer_preprocess protobuf ts file as plain text instead…
… of gz repo. This makes it easier to do updates and code reviews. PiperOrigin-RevId: 687082345
- Loading branch information
1 parent
12deb53
commit 5ac49e3
Showing
3 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
frontend/app/common/interfaces/memory_viewer_preprocess.jsonpb_decls.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// This file must be kept in sync with the corresponding proto file. | ||
|
||
/** See corresponding proto */ | ||
export interface HeapObject { | ||
numbered?: /* int32 */ number; | ||
named?: string; | ||
label?: string; | ||
logicalBufferId?: /* int32 */ number; | ||
logicalBufferSizeMib?: /* double */ number; | ||
unpaddedShapeMib?: /* double */ number; | ||
instructionName?: string; | ||
shapeString?: string; | ||
tfOpName?: string; | ||
groupName?: string; | ||
opCode?: string; | ||
} | ||
|
||
/** See corresponding proto */ | ||
export interface BufferSpan { | ||
start?: /* int32 */ number; | ||
limit?: /* int32 */ number; | ||
} | ||
|
||
/** See corresponding proto */ | ||
export interface LogicalBuffer { | ||
id?: /* int64 */ string; | ||
shape?: string; | ||
sizeMib?: /* double */ number; | ||
hloName?: string; | ||
shapeIndex?: /* int64 */ string[]; | ||
} | ||
|
||
/** See corresponding proto */ | ||
export interface BufferAllocation { | ||
id?: /* int64 */ string; | ||
sizeMib?: /* double */ number; | ||
attributes?: string[]; | ||
logicalBuffers?: LogicalBuffer[]; | ||
commonShape?: string; | ||
} | ||
|
||
/** See corresponding proto */ | ||
export interface PreprocessResult { | ||
heapSizes?: /* double */ number[]; | ||
unpaddedHeapSizes?: /* double */ number[]; | ||
maxHeap?: HeapObject[]; | ||
maxHeapBySize?: HeapObject[]; | ||
logicalBufferSpans?: {[key: /* int32 */ string]: BufferSpan}; | ||
maxHeapToBySize?: /* int32 */ number[]; | ||
bySizeToMaxHeap?: /* int32 */ number[]; | ||
moduleName?: string; | ||
entryComputationName?: string; | ||
peakHeapMib?: /* double */ number; | ||
peakUnpaddedHeapMib?: /* double */ number; | ||
peakHeapSizePosition?: /* int32 */ number; | ||
entryComputationParametersMib?: /* double */ number; | ||
nonReusableMib?: /* double */ number; | ||
maybeLiveOutMib?: /* double */ number; | ||
totalBufferAllocationMib?: /* double */ number; | ||
indefiniteBufferAllocationMib?: /* double */ number; | ||
indefiniteLifetimes?: BufferAllocation[]; | ||
allocationTimeline?: string; | ||
} |
Binary file removed
BIN
-517 Bytes
frontend/app/common/interfaces/memory_viewer_preprocess.jsonpb_decls.d.ts.gz
Binary file not shown.