You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

versions.proto 954 B

12345678910111213141516171819202122232425262728293031
  1. syntax = "proto3";
  2. package tensorflow;
  3. option cc_enable_arenas = true;
  4. option java_outer_classname = "VersionsProtos";
  5. option java_multiple_files = true;
  6. option java_package = "org.tensorflow.framework";
  7. // Version information for a piece of serialized data
  8. //
  9. // There are different types of versions for each type of data
  10. // (GraphDef, etc.), but they all have the same common shape
  11. // described here.
  12. //
  13. // Each consumer has "consumer" and "min_producer" versions (specified
  14. // elsewhere). A consumer is allowed to consume this data if
  15. //
  16. // producer >= min_producer
  17. // consumer >= min_consumer
  18. // consumer not in bad_consumers
  19. //
  20. message VersionDef {
  21. // The version of the code that produced this data.
  22. int32 producer = 1;
  23. // Any consumer below this version is not allowed to consume this data.
  24. int32 min_consumer = 2;
  25. // Specific consumer versions which are disallowed (e.g. due to bugs).
  26. repeated int32 bad_consumers = 3;
  27. };