package tensorflow.contrib.mpi

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum MPIDataType

mpi_message.proto:12

We would like to just use DataType here, but since this is a contrib package, linking directly to TensorFlow protos seems to be impossible. Doing so compiles, but fails with a cryptic error at runtime about a pointer that was passed to free() but not created by malloc(). Since using the tensorflow/core protos seems to cause issues, we use our own, which also has the benefit of supporting only the data types we want to support.

Used in: MPIRequest

message MPIRequest

mpi_message.proto:22

An MPIRequest is a message sent from a rank greater than zero to the coordinator (rank zero), informing the coordinator of an operation that the rank wants to do and the tensor that it wants to apply the operation to.

enum MPIRequest.RequestType

mpi_message.proto:23

Used in: MPIRequest

message MPIResponse

mpi_message.proto:48

An MPIResponse is a message sent from the coordinator (rank zero) to a rank greater than zero, informing the rank of an operation should be performed now. If the operation requested would result in an error (for example, due to a type or shape mismatch), then the MPIResponse can contain an error and an error message instead. Finally, an MPIResponse can be a DONE message (if there are no more tensors to reduce on this tick of the background loop) or SHUTDOWN if all MPI processes should shut down.

enum MPIResponse.ResponseType

mpi_message.proto:49

Used in: MPIResponse