1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: tensorflow/core/protobuf/master.proto 3 4 module tensorflow.master; 5 6 import google.protobuf; 7 import tensorflow.device_attributes; 8 import tensorflow.graph; 9 import tensorflow.tensor; 10 import tensorflow.config; 11 import tensorflow.error.error_codes; 12 import tensorflow.named_tensor; 13 14 enum protocVersion = 3012004; 15 16 class CreateSessionRequest 17 { 18 @Proto(1) GraphDef graphDef = protoDefaultValue!(GraphDef); 19 @Proto(2) ConfigProto config = protoDefaultValue!(ConfigProto); 20 @Proto(3) string target = protoDefaultValue!(string); 21 } 22 23 class CreateSessionResponse 24 { 25 @Proto(1) string sessionHandle = protoDefaultValue!(string); 26 @Proto(2) long graphVersion = protoDefaultValue!(long); 27 } 28 29 class ExtendSessionRequest 30 { 31 @Proto(1) string sessionHandle = protoDefaultValue!(string); 32 @Proto(2) GraphDef graphDef = protoDefaultValue!(GraphDef); 33 @Proto(3) long currentGraphVersion = protoDefaultValue!(long); 34 } 35 36 class ExtendSessionResponse 37 { 38 @Proto(4) long newGraphVersion = protoDefaultValue!(long); 39 } 40 41 class RunStepRequest 42 { 43 @Proto(1) string sessionHandle = protoDefaultValue!(string); 44 @Proto(2) NamedTensorProto[] feed = protoDefaultValue!(NamedTensorProto[]); 45 @Proto(3) string[] fetch = protoDefaultValue!(string[]); 46 @Proto(4) string[] target = protoDefaultValue!(string[]); 47 @Proto(5) RunOptions options = protoDefaultValue!(RunOptions); 48 @Proto(6) string partialRunHandle = protoDefaultValue!(string); 49 @Proto(7) bool storeErrorsInResponseBody = protoDefaultValue!(bool); 50 @Proto(8) long requestId = protoDefaultValue!(long); 51 } 52 53 class RunStepResponse 54 { 55 @Proto(1) NamedTensorProto[] tensor = protoDefaultValue!(NamedTensorProto[]); 56 @Proto(2) RunMetadata metadata = protoDefaultValue!(RunMetadata); 57 @Proto(3) Code statusCode = protoDefaultValue!(Code); 58 @Proto(4) string statusErrorMessage = protoDefaultValue!(string); 59 } 60 61 class PartialRunSetupRequest 62 { 63 @Proto(1) string sessionHandle = protoDefaultValue!(string); 64 @Proto(2) string[] feed = protoDefaultValue!(string[]); 65 @Proto(3) string[] fetch = protoDefaultValue!(string[]); 66 @Proto(4) string[] target = protoDefaultValue!(string[]); 67 @Proto(5) long requestId = protoDefaultValue!(long); 68 } 69 70 class PartialRunSetupResponse 71 { 72 @Proto(1) string partialRunHandle = protoDefaultValue!(string); 73 } 74 75 class CloseSessionRequest 76 { 77 @Proto(1) string sessionHandle = protoDefaultValue!(string); 78 } 79 80 class CloseSessionResponse 81 { 82 } 83 84 class ResetRequest 85 { 86 @Proto(1) string[] container = protoDefaultValue!(string[]); 87 @Proto(2) string[] deviceFilters = protoDefaultValue!(string[]); 88 } 89 90 class ResetResponse 91 { 92 } 93 94 class ListDevicesRequest 95 { 96 @Proto(1) string sessionHandle = protoDefaultValue!(string); 97 } 98 99 class ListDevicesResponse 100 { 101 @Proto(1) DeviceAttributes[] localDevice = protoDefaultValue!(DeviceAttributes[]); 102 @Proto(2) DeviceAttributes[] remoteDevice = protoDefaultValue!(DeviceAttributes[]); 103 } 104 105 class MakeCallableRequest 106 { 107 @Proto(1) string sessionHandle = protoDefaultValue!(string); 108 @Proto(2) CallableOptions options = protoDefaultValue!(CallableOptions); 109 @Proto(3) long requestId = protoDefaultValue!(long); 110 } 111 112 class MakeCallableResponse 113 { 114 @Proto(1) long handle = protoDefaultValue!(long); 115 } 116 117 class RunCallableRequest 118 { 119 @Proto(1) string sessionHandle = protoDefaultValue!(string); 120 @Proto(2) long handle = protoDefaultValue!(long); 121 @Proto(3) TensorProto[] feed = protoDefaultValue!(TensorProto[]); 122 @Proto(4) long requestId = protoDefaultValue!(long); 123 } 124 125 class RunCallableResponse 126 { 127 @Proto(1) TensorProto[] fetch = protoDefaultValue!(TensorProto[]); 128 @Proto(2) RunMetadata metadata = protoDefaultValue!(RunMetadata); 129 } 130 131 class ReleaseCallableRequest 132 { 133 @Proto(1) string sessionHandle = protoDefaultValue!(string); 134 @Proto(2) long handle = protoDefaultValue!(long); 135 } 136 137 class ReleaseCallableResponse 138 { 139 }