package xla

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

message BatchNormGradRequest

xla_data.proto:517

Used in: OpRequest

message BatchNormInferenceRequest

xla_data.proto:507

Used in: OpRequest

message BatchNormTrainingRequest

xla_data.proto:499

Used in: OpRequest

message BinaryOpRequest

xla_data.proto:726

Used in: OpRequest

enum BinaryOperation

xla_data.proto:677

Used in: BinaryOpRequest

message BroadcastRequest

xla_data.proto:557

Used in: OpRequest

message BufferAllocationProto

hlo.proto:177

Serialization of BufferAllocation.

Used in: BufferAssignmentProto

message BufferAllocationProto.Assigned

hlo.proto:180

Assigned represents a single LogicalBuffer that is assigned to this BufferAllocation.

Used in: BufferAllocationProto

message BufferAssignmentProto

hlo.proto:233

Serialization of BufferAssignment.

Used in: HloProto

message BufferAssignmentProto.BufferAlias

hlo.proto:236

Alias represents a source LogicalBuffer, and the buffer location that aliases it.

Used in: BufferAssignmentProto

message CallRequest

xla_data.proto:455

Used in: OpRequest

message ChannelHandle

xla_data.proto:276

Handle given to a user to represent a channel between two computations via a Send and Recv instruction pair. Channels are unbuffered, so Send Send instructions will be blocked until the data is transferred.

Used in: CreateChannelHandleResponse, RecvRequest, SendRequest

message ComputationDataHandle

xla_data.proto:258

Handle given to a user that represents a data result in a computation. This is used to pass to subsequent computations that depends upon the data as an operand.

Used in: BatchNormGradRequest, BatchNormInferenceRequest, BatchNormTrainingRequest, BinaryOpRequest, BroadcastRequest, CallRequest, ComputeConstantRequest, ConcatenateRequest, ConvertRequest, ConvolveRequest, CrossReplicaSumRequest, CustomCallRequest, DynamicSliceRequest, DynamicUpdateSliceRequest, GetLocalShapeRequest, GetTupleElementRequest, IsConstantRequest, MapRequest, OpResponse, OperationRequest, OutfeedRequest, PadRequest, ReducePrecisionRequest, ReduceRequest, ReduceWindowRequest, ReshapeRequest, ReverseRequest, RngRequest, SelectAndScatterRequest, SendRequest, SetReturnValueRequest, SliceRequest, TernaryOpRequest, TraceRequest, TransposeRequest, UnaryOpRequest, VariadicOpRequest, WhileRequest

message ComputationHandle

xla_data.proto:238

Handle given to a user that represents a computation that the user builds up before execution.

Used in: CallRequest, ComputationResponse, ComputationStatsRequest, ComputeConstantRequest, ExecuteAsyncRequest, ExecuteRequest, GetComputationShapeRequest, GetLocalShapeRequest, IsConstantRequest, LoadComputationSnapshotResponse, MapRequest, OpRequest, ReduceRequest, ReduceWindowRequest, SelectAndScatterRequest, SessionComputation, SetReturnValueRequest, SnapshotComputationRequest, SpecializeRequest, WhileRequest

message ComputationRequest

xla.proto:284

message ComputationResponse

xla.proto:288

message ComputationStats

xla_data.proto:178

Statistics of a computation.

Used in: ComputationStatsResponse

message ComputationStatsRequest

xla.proto:275

message ComputationStatsResponse

xla.proto:280

message ComputeConstantRequest

xla.proto:370

message ComputeConstantResponse

xla.proto:376

message ConcatenateRequest

xla_data.proto:610

Used in: OpRequest

message ConstantRequest

xla_data.proto:363

Used in: OpRequest

message ConvertRequest

xla_data.proto:605

Used in: OpRequest

message ConvolutionDimensionNumbers

xla_data.proto:398

Used in: ConvolveRequest, HloInstructionProto

message ConvolveRequest

xla_data.proto:429

Used in: OpRequest

message CreateChannelHandleRequest

xla.proto:292

(message has no fields)

message CreateChannelHandleResponse

xla.proto:295

message CrossReplicaSumRequest

xla_data.proto:527

Used in: OpRequest

message CustomCallRequest

xla_data.proto:460

Used in: OpRequest

message DebugOptions

xla.proto:63

Debugging options for XLA. These options may change at any time - there are no guarantees about backward or forward compatibility for these fields.

Used in: ComputationStatsRequest, ExecutionOptions

message DeconstructTupleRequest

xla.proto:382

message DeconstructTupleResponse

xla.proto:386

message DeviceAssignmentProto

xla_data.proto:283

DeviceAssignmentProto is a serialized form of DeviceAssignment class, which represents the device ids assigned to a set of replicated computations. See xla::DeviceAssignment class comment for more details.

message DeviceAssignmentProto.ComputationDevice

xla_data.proto:289

Each logical computation runs on replica_count physical devices. ComputationDevice represents the device ids assinged to the replicas.

Used in: DeviceAssignmentProto

message DeviceHandle

xla_data.proto:265

Handle given to a user that represents a replicated virtual device. Each replicated device represents N physical devices for execution where N is the number of replicas.

Used in: ExecutionOptions, GetDeviceHandlesResponse, ResetDeviceRequest, TransferFromOutfeedRequest, TransferToInfeedRequest, TransferToServerRequest

message DynamicSliceRequest

xla_data.proto:379

Used in: OpRequest

message DynamicUpdateSliceRequest

xla_data.proto:389

Used in: OpRequest

message ExecuteAsyncRequest

xla.proto:337

message ExecuteAsyncResponse

xla.proto:347

message ExecuteParallelRequest

xla.proto:324

message ExecuteParallelResponse

xla.proto:333

message ExecuteRequest

xla.proto:314

Used in: ExecuteParallelRequest

message ExecuteResponse

xla.proto:328

Used in: ExecuteParallelResponse

message ExecutionHandle

xla_data.proto:244

Handle given to a user that represents an execution that the user launched asynchronously on the device.

Used in: ExecuteAsyncResponse, WaitForExecutionRequest

message ExecutionOptions

xla.proto:179

These settings control how XLA compiles and/or runs code. Not all settings will have an effect on every platform. When adding new fields, keep in mind that boolean fields default to false.

Used in: ExecuteAsyncRequest, ExecuteRequest

message ExecutionProfile

xla_data.proto:212

Profile data from the execution of a computation.

Used in: ExecuteResponse, WaitForExecutionResponse

message GetComputationShapeRequest

xla.proto:436

message GetComputationShapeResponse

xla.proto:440

message GetDeviceHandlesRequest

xla.proto:217

message GetDeviceHandlesResponse

xla.proto:221

message GetLocalShapeRequest

xla_data.proto:591

message GetLocalShapeResponse

xla_data.proto:596

message GetShapeRequest

xla.proto:428

message GetShapeResponse

xla.proto:432

message GetTupleElementRequest

xla_data.proto:367

Used in: OpRequest

message GlobalDataHandle

xla_data.proto:251

Handle given to a user that represents a globally accessible allocation. Contrast this against a ComputationDataHandle, which is not globally accessible, since it only exists within a specific computation.

Used in: DeconstructTupleRequest, DeconstructTupleResponse, ExecuteAsyncRequest, ExecuteRequest, ExecuteResponse, GetShapeRequest, LoadDataResponse, SpecializeRequest, TransferToClientRequest, TransferToServerResponse, UnpackRequest, UnpackResponse, UnregisterRequest, WaitForExecutionResponse

message HeapSimulatorTrace

hlo.proto:198

A trace of a HeapSimulator run.

Used in: BufferAssignmentProto

message HeapSimulatorTrace.Event

hlo.proto:201

The trace includes a list of events, where each event describes one action performed by the heap simulator.

Used in: HeapSimulatorTrace

enum HeapSimulatorTrace.Event.Kind

hlo.proto:202

Used in: Event

message HloComputationProto

hlo.proto:124

Serialization of HloComputation.

Used in: HloInstructionProto, HloModuleProto

message HloInstructionProto

hlo.proto:38

Serialization of HloInstruction.

Used in: HloComputationProto

message HloInstructionProto.SliceDimensions

hlo.proto:75

Describes the [begin, end) index range and stride for slices.

Used in: HloInstructionProto

message HloModuleProto

hlo.proto:136

Serialization of HloModule.

Used in: HloProto

message HloOrderingProto

hlo.proto:146

Serialization of HloOrdering.

Used in: HloProto

message HloOrderingProto.SequentialComputation

hlo.proto:148

NOTE: currently only sequential orderings are serialized.

Used in: HloOrderingProto

message HloProto

hlo.proto:248

Grouping message that contains all of the information above.

Used in: HloProtos

message HloProtos

hlo.proto:254

message HloReducePrecisionOptions

xla.proto:24

Options for the HLO insert-reduce-precision-operations pass.

Used in: DebugOptions

enum HloReducePrecisionOptions.Location

xla.proto:26

Where and when the reduce-precision operations will be added.

Used in: HloReducePrecisionOptions

message InfeedRequest

xla_data.proto:436

Used in: OpRequest

message IsConstantRequest

xla.proto:361

message IsConstantResponse

xla.proto:366

message Layout

xla_data.proto:118

A layout describes how the array is placed in (1D) memory space. This includes the minor-to-major ordering of dimensions within a shape, as well as any padding present in those dimensions. Clients must specify the layouts of input Literals to the computation. Layouts specified in interior operations which take Shapes (for example, Convert) are ignored. See the XLA documentation for more information on shapes and layouts.

Used in: ComputeConstantRequest, Shape

message LiteralProto

xla_data.proto:301

Literals are used when the server and client need to exchange materialized data / results. Literals are also used to describe constants used in computations. Transfers to/from the client are encoded in literal form, and the structure of the repeated fields is implied by the shape.

Used in: ComputeConstantResponse, ConstantRequest, HloInstructionProto, SessionModule, TransferFromOutfeedResponse, TransferToClientResponse, TransferToInfeedRequest, TransferToServerRequest

message LoadComputationSnapshotRequest

xla.proto:209

message LoadComputationSnapshotResponse

xla.proto:213

message LoadDataRequest

xla.proto:390

message LoadDataResponse

xla.proto:412

message LogicalBufferProto

hlo.proto:156

Serialization of LogicalBuffer.

Used in: BufferAssignmentProto

message LogicalBufferProto.Location

hlo.proto:159

Location represents an instruction and its shape index, which uniquely identifies a point where a buffer is needed.

Used in: BufferAssignmentProto.BufferAlias, LogicalBufferProto

message MapRequest

xla_data.proto:466

Used in: OpRequest

message OpDeviceAssignment

xla_data.proto:807

Used in: OpRequest

message OpMetadata

xla_data.proto:190

Symbolization metadata for HLO Instructions. This metadata is used for debugging XLA code generation, as well as performance profiling of XLA-generated executables.

Used in: HloInstructionProto, OpRequest

message OpRequest

xla_data.proto:815

Used in: OperationRequest

message OpResponse

xla_data.proto:861

message OperationRequest

session.proto:26

Describes a single operation request.

Used in: SessionComputation

message OutfeedRequest

xla_data.proto:444

Used in: OpRequest

message PadRequest

xla_data.proto:562

Used in: OpRequest

message PaddingConfig

xla_data.proto:92

Describes the padding configuration for Pad operation. The padding amount on both edges as well as between the elements are specified for each dimension.

Used in: HloInstructionProto, PadRequest

message PaddingConfig.PaddingConfigDimension

xla_data.proto:94

Describes the padding configuration for a dimension.

Used in: PaddingConfig

enum PaddingValue

xla_data.proto:69

Describes the value held inside padding elements.

Used in: Layout

message ParameterRequest

xla_data.proto:585

Used in: OpRequest

enum PrimitiveType

xla_data.proto:24

Primitive types are the individual values that can be held in rectangular multidimensional arrays. A description of the rectangular multidimensional array dimensions / primitive type is given by Shape, below.

Used in: ConvertRequest, Shape

message ProgramShape

xla_data.proto:171

Shape of the parameters and output of a computation (like a traditional function signature).

Used in: GetComputationShapeResponse

enum RandomDistribution

xla_data.proto:733

Used in: HloInstructionProto, RngRequest

message RecvRequest

xla_data.proto:802

Used in: OpRequest

message ReducePrecisionRequest

xla_data.proto:791

Used in: OpRequest

message ReduceRequest

xla_data.proto:477

Used in: OpRequest

message ReduceWindowRequest

xla_data.proto:492

Used in: OpRequest

message ResetDeviceRequest

xla.proto:268

message ResetDeviceResponse

xla.proto:272

(message has no fields)

message ReshapeRequest

xla_data.proto:568

Used in: OpRequest

message ReverseRequest

xla_data.proto:552

Used in: OpRequest

message RngRequest

xla_data.proto:749

Used in: OpRequest

message SelectAndScatterRequest

xla_data.proto:531

Used in: OpRequest

message SendRequest

xla_data.proto:797

Used in: OpRequest

message SessionComputation

session.proto:50

Describes a sequence of operation requests which define an XLA computation.

Used in: SessionModule

message SessionModule

session.proto:68

Describes a group of SessionComputations with an "entry point" computation that may refer to the other non-entry (AKA embedded) computations. This message is used to serialize a computation that has been built via the XLA service API, along with its dependencies, for purposes such as analysis/replay/file-storage.

Used in: LoadComputationSnapshotRequest, SnapshotComputationResponse

message SetReturnValueRequest

xla.proto:306

message SetReturnValueResponse

xla.proto:311

(message has no fields)

message Shape

xla_data.proto:145

A shape describes the number of dimensions in the array, the size of each dimension, and the primitive component type. Tuples are a special case in that they have rank zero and have tuple_shapes defined. See the XLA documentation for more information on shapes and layouts.

Used in: CustomCallRequest, ExecutionOptions, GetLocalShapeResponse, GetShapeResponse, HloInstructionProto, InfeedRequest, LiteralProto, LoadDataRequest, LoadDataResponse, OperationRequest, OutfeedRequest, ParameterRequest, ProgramShape, RecvRequest, RngRequest, TransferFromOutfeedRequest, TransferToClientRequest

message SliceRequest

xla_data.proto:372

Used in: OpRequest

message SnapshotComputationRequest

xla.proto:201

message SnapshotComputationResponse

xla.proto:205

message SpecializeRequest

xla.proto:420

message SpecializeResponse

xla.proto:425

(message has no fields)

message TernaryOpRequest

xla_data.proto:772

Used in: OpRequest

enum TernaryOperation

xla_data.proto:755

Used in: TernaryOpRequest

message TraceRequest

xla_data.proto:600

Used in: OpRequest

message TransferFromOutfeedRequest

xla.proto:255

message TransferFromOutfeedResponse

xla.proto:264

message TransferToClientRequest

xla.proto:225

message TransferToClientResponse

xla.proto:233

message TransferToInfeedRequest

xla.proto:246

message TransferToInfeedResponse

xla.proto:252

(message has no fields)

message TransferToServerRequest

xla.proto:237

message TransferToServerResponse

xla.proto:242

message TransposeRequest

xla_data.proto:578

Used in: OpRequest

message UnaryOpRequest

xla_data.proto:672

Used in: OpRequest

enum UnaryOperation

xla_data.proto:625

Used in: UnaryOpRequest

message UnpackRequest

xla.proto:444

message UnpackResponse

xla.proto:448

message UnregisterRequest

xla.proto:299

message UnregisterResponse

xla.proto:303

(message has no fields)

message VariadicOpRequest

xla_data.proto:786

Used in: OpRequest

enum VariadicOperation

xla_data.proto:779

Used in: VariadicOpRequest

message WaitForExecutionRequest

xla.proto:352

message WaitForExecutionResponse

xla.proto:356

message WhileRequest

xla_data.proto:619

Used in: OpRequest

message Window

xla_data.proto:356

Describes the windowing in an operation such as convolution. The window is moved across a base area and for each position of the window a computation is performed. The field below describes the window and the movement of the window across a base area.

Used in: ConvolveRequest, HloInstructionProto, ReduceWindowRequest, SelectAndScatterRequest

message WindowDimension

xla_data.proto:316

Used in: Window