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