package xla

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

message BatchNormGradRequest

xla_data.proto:542

Used in: OpRequest

message BatchNormInferenceRequest

xla_data.proto:532

Used in: OpRequest

message BatchNormTrainingRequest

xla_data.proto:524

Used in: OpRequest

message BinaryOpRequest

xla_data.proto:755

Used in: OpRequest

enum BinaryOperation

xla_data.proto:708

Used in: BinaryOpRequest

message BroadcastRequest

xla_data.proto:582

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:480

Used in: OpRequest

message ChannelHandle

xla_data.proto:284

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:266

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, FftRequest, 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:246

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:292

message ComputationResponse

xla.proto:296

message ComputationStats

xla_data.proto:186

Statistics of a computation.

Used in: ComputationStatsResponse

message ComputationStatsRequest

xla.proto:283

message ComputationStatsResponse

xla.proto:288

message ComputeConstantRequest

xla.proto:379

message ComputeConstantResponse

xla.proto:386

message ConcatenateRequest

xla_data.proto:635

Used in: OpRequest

message ConstantRequest

xla_data.proto:374

Used in: OpRequest

message ConvertRequest

xla_data.proto:630

Used in: OpRequest

message ConvolutionDimensionNumbers

xla_data.proto:409

Used in: ConvolveRequest, HloInstructionProto

message ConvolveRequest

xla_data.proto:440

Used in: OpRequest

message CreateChannelHandleRequest

xla.proto:300

(message has no fields)

message CreateChannelHandleResponse

xla.proto:303

message CrossReplicaSumRequest

xla_data.proto:552

Used in: OpRequest

message CustomCallRequest

xla_data.proto:485

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:392

message DeconstructTupleResponse

xla.proto:396

message DeviceAssignmentProto

xla_data.proto:291

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:297

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:273

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:390

Used in: OpRequest

message DynamicUpdateSliceRequest

xla_data.proto:400

Used in: OpRequest

message ExecuteAsyncRequest

xla.proto:345

message ExecuteAsyncResponse

xla.proto:355

message ExecuteParallelRequest

xla.proto:332

message ExecuteParallelResponse

xla.proto:341

message ExecuteRequest

xla.proto:322

Used in: ExecuteParallelRequest

message ExecuteResponse

xla.proto:336

Used in: ExecuteParallelResponse

message ExecutionHandle

xla_data.proto:252

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:187

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:220

Profile data from the execution of a computation.

Used in: ExecuteResponse, WaitForExecutionResponse

message FftRequest

xla_data.proto:455

Used in: OpRequest

enum FftType

xla_data.proto:447

Used in: FftRequest

message GetComputationShapeRequest

xla.proto:446

message GetComputationShapeResponse

xla.proto:450

message GetDeviceHandlesRequest

xla.proto:225

message GetDeviceHandlesResponse

xla.proto:229

message GetLocalShapeRequest

xla_data.proto:616

message GetLocalShapeResponse

xla_data.proto:621

message GetShapeRequest

xla.proto:438

message GetShapeResponse

xla.proto:442

message GetTupleElementRequest

xla_data.proto:378

Used in: OpRequest

message GlobalDataHandle

xla_data.proto:259

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:461

Used in: OpRequest

message IsConstantRequest

xla.proto:369

message IsConstantResponse

xla.proto:375

message Layout

xla_data.proto:126

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:309

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: ComputeConstantRequest, ComputeConstantResponse, ConstantRequest, HloInstructionProto, SessionModule, TransferFromOutfeedResponse, TransferToClientResponse, TransferToInfeedRequest, TransferToServerRequest

message LoadComputationSnapshotRequest

xla.proto:217

message LoadComputationSnapshotResponse

xla.proto:221

message LoadDataRequest

xla.proto:400

message LoadDataResponse

xla.proto:422

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:491

Used in: OpRequest

message OpMetadata

xla_data.proto:198

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:863

Used in: OperationRequest

message OpResponse

xla_data.proto:910

message OpSharding

xla_data.proto:832

Used in: OpRequest

enum OpSharding.Type

xla_data.proto:833

Used in: OpSharding

message OperationRequest

session.proto:26

Describes a single operation request.

Used in: SessionComputation

message OutfeedRequest

xla_data.proto:469

Used in: OpRequest

message PadRequest

xla_data.proto:587

Used in: OpRequest

message PaddingConfig

xla_data.proto:100

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:102

Describes the padding configuration for a dimension.

Used in: PaddingConfig

enum PaddingValue

xla_data.proto:77

Describes the value held inside padding elements.

Used in: Layout

message ParameterRequest

xla_data.proto:610

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:179

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

Used in: GetComputationShapeResponse

enum RandomDistribution

xla_data.proto:762

Used in: HloInstructionProto, RngRequest

message RecvRequest

xla_data.proto:827

Used in: OpRequest

message ReducePrecisionRequest

xla_data.proto:816

Used in: OpRequest

message ReduceRequest

xla_data.proto:502

Used in: OpRequest

message ReduceWindowRequest

xla_data.proto:517

Used in: OpRequest

message ResetDeviceRequest

xla.proto:276

message ResetDeviceResponse

xla.proto:280

(message has no fields)

message ReshapeRequest

xla_data.proto:593

Used in: OpRequest

message ReverseRequest

xla_data.proto:577

Used in: OpRequest

message RngRequest

xla_data.proto:778

Used in: OpRequest

message SelectAndScatterRequest

xla_data.proto:556

Used in: OpRequest

message SendRequest

xla_data.proto:822

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:314

message SetReturnValueResponse

xla.proto:319

(message has no fields)

message Shape

xla_data.proto:153

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, OpSharding, OperationRequest, OutfeedRequest, ParameterRequest, ProgramShape, RecvRequest, RngRequest, TransferFromOutfeedRequest, TransferToClientRequest

message SliceRequest

xla_data.proto:383

Used in: OpRequest

message SnapshotComputationRequest

xla.proto:209

message SnapshotComputationResponse

xla.proto:213

message SpecializeRequest

xla.proto:430

message SpecializeResponse

xla.proto:435

(message has no fields)

message TernaryOpRequest

xla_data.proto:797

Used in: OpRequest

enum TernaryOperation

xla_data.proto:784

Used in: TernaryOpRequest

message TraceRequest

xla_data.proto:625

Used in: OpRequest

message TransferFromOutfeedRequest

xla.proto:263

message TransferFromOutfeedResponse

xla.proto:272

message TransferToClientRequest

xla.proto:233

message TransferToClientResponse

xla.proto:241

message TransferToInfeedRequest

xla.proto:254

message TransferToInfeedResponse

xla.proto:260

(message has no fields)

message TransferToServerRequest

xla.proto:245

message TransferToServerResponse

xla.proto:250

message TransposeRequest

xla_data.proto:603

Used in: OpRequest

message UnaryOpRequest

xla_data.proto:703

Used in: OpRequest

enum UnaryOperation

xla_data.proto:650

Used in: UnaryOpRequest

message UnpackRequest

xla.proto:454

message UnpackResponse

xla.proto:458

message UnregisterRequest

xla.proto:307

message UnregisterResponse

xla.proto:311

(message has no fields)

message VariadicOpRequest

xla_data.proto:811

Used in: OpRequest

enum VariadicOperation

xla_data.proto:804

Used in: VariadicOpRequest

message WaitForExecutionRequest

xla.proto:360

message WaitForExecutionResponse

xla.proto:364

message WhileRequest

xla_data.proto:644

Used in: OpRequest

message Window

xla_data.proto:367

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:327

Used in: Window