• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package tensorflow;
4option cc_enable_arenas = true;
5option java_outer_classname = "AllocationDescriptionProtos";
6option java_multiple_files = true;
7option java_package = "org.tensorflow.framework";
8option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework";
9
10message AllocationDescription {
11  // Total number of bytes requested
12  int64 requested_bytes = 1;
13
14  // Total number of bytes allocated if known
15  int64 allocated_bytes = 2;
16
17  // Name of the allocator used
18  string allocator_name = 3;
19
20  // Identifier of the allocated buffer if known
21  int64 allocation_id = 4;
22
23  // Set if this tensor only has one remaining reference
24  bool has_single_reference = 5;
25
26  // Address of the allocation.
27  uint64 ptr = 6;
28};
29