Update node_def.proto comments (#13874)
The device field had outdated comments. Note: We could consider adding tpu as an example here, e.g. "gpu" | "cpu" | "tpu". Thoughts?
This commit is contained in:
parent
c9cb5a58d5
commit
bfa4ec194a
@ -35,7 +35,7 @@ message NodeDef {
|
||||
// CONSTRAINT ::= ("job:" JOB_NAME)
|
||||
// | ("replica:" [1-9][0-9]*)
|
||||
// | ("task:" [1-9][0-9]*)
|
||||
// | ( ("gpu" | "cpu") ":" ([1-9][0-9]* | "*") )
|
||||
// | ("device:" ("gpu" | "cpu") ":" ([1-9][0-9]* | "*") )
|
||||
//
|
||||
// Valid values for this string include:
|
||||
// * "/job:worker/replica:0/task:1/device:GPU:3" (full specification)
|
||||
|
Loading…
Reference in New Issue
Block a user