1syntax = "proto3"; 2 3package tensorflow; 4 5import "tensorflow/core/framework/versions.proto"; 6 7option cc_enable_arenas = true; 8option java_outer_classname = "FingerprintProtos"; 9option java_multiple_files = true; 10option java_package = "org.tensorflow.framework"; 11option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"; 12 13// Protocol buffer representing a SavedModel Fingerprint. 14// 15// If there are multiple MetaGraphDefs in the SavedModel, the FingerprintDef 16// corresponds to the first one. 17message FingerprintDef { 18 // Hash of the graph_def, referred to as a "checksum". 19 uint64 graph_def_checksum = 1; 20 // Hash of regularized graph_def. 21 uint64 graph_def_program_hash = 2; 22 // Hash of the regularized (sorted) SignatureDefs. 23 uint64 signature_def_hash = 3; 24 // Hash of the regularized SavedObjectGraph. 25 uint64 saved_object_graph_hash = 4; 26 // Hash of the checkpoint. 27 uint64 checkpoint_hash = 5; 28 // Version specification of the fingerprint. 29 VersionDef version = 6; 30} 31