cpu

package
v2.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_XlaFrameworkMappingProto_Result = int64(-1)
)

Default values for XlaFrameworkMappingProto fields.

Variables

View Source
var File_tensorflow_compiler_xla_service_cpu_backend_config_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_compiler_xla_service_cpu_executable_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_compiler_xla_service_cpu_xla_framework_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BackendConfig

type BackendConfig struct {

	// Number of partitions per outer dimension (in order, starting with
	// outer-most dimension first). Used by the parallel cpu backend to partition
	// HLOs into parallel tasks.
	OuterDimensionPartitions []int64 `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Backend config for XLA:CPU.

func (*BackendConfig) Descriptor deprecated

func (*BackendConfig) Descriptor() ([]byte, []int)

Deprecated: Use BackendConfig.ProtoReflect.Descriptor instead.

func (*BackendConfig) GetOuterDimensionPartitions

func (x *BackendConfig) GetOuterDimensionPartitions() []int64

func (*BackendConfig) ProtoMessage

func (*BackendConfig) ProtoMessage()

func (*BackendConfig) ProtoReflect

func (x *BackendConfig) ProtoReflect() protoreflect.Message

func (*BackendConfig) Reset

func (x *BackendConfig) Reset()

func (*BackendConfig) String

func (x *BackendConfig) String() string

type XlaFrameworkMappingProto

type XlaFrameworkMappingProto struct {
	Inputs           []int64 `protobuf:"varint,1,rep,packed,name=inputs" json:"inputs,omitempty"`
	FlattenedOutputs []int64 `protobuf:"varint,2,rep,packed,name=flattened_outputs,json=flattenedOutputs" json:"flattened_outputs,omitempty"`
	Result           *int64  `protobuf:"varint,3,opt,name=result,def=-1" json:"result,omitempty"`
	OutputIsTuple    *bool   `protobuf:"varint,4,opt,name=output_is_tuple,json=outputIsTuple" json:"output_is_tuple,omitempty"`
	// contains filtered or unexported fields
}

func (*XlaFrameworkMappingProto) Descriptor deprecated

func (*XlaFrameworkMappingProto) Descriptor() ([]byte, []int)

Deprecated: Use XlaFrameworkMappingProto.ProtoReflect.Descriptor instead.

func (*XlaFrameworkMappingProto) GetFlattenedOutputs

func (x *XlaFrameworkMappingProto) GetFlattenedOutputs() []int64

func (*XlaFrameworkMappingProto) GetInputs

func (x *XlaFrameworkMappingProto) GetInputs() []int64

func (*XlaFrameworkMappingProto) GetOutputIsTuple

func (x *XlaFrameworkMappingProto) GetOutputIsTuple() bool

func (*XlaFrameworkMappingProto) GetResult

func (x *XlaFrameworkMappingProto) GetResult() int64

func (*XlaFrameworkMappingProto) ProtoMessage

func (*XlaFrameworkMappingProto) ProtoMessage()

func (*XlaFrameworkMappingProto) ProtoReflect

func (x *XlaFrameworkMappingProto) ProtoReflect() protoreflect.Message

func (*XlaFrameworkMappingProto) Reset

func (x *XlaFrameworkMappingProto) Reset()

func (*XlaFrameworkMappingProto) String

func (x *XlaFrameworkMappingProto) String() string

type XlaRuntimeCpuExecutableProto

type XlaRuntimeCpuExecutableProto struct {
	XlaRuntimeExecutable *service.XlaRuntimeExecutableProto `protobuf:"bytes,1,opt,name=xla_runtime_executable,json=xlaRuntimeExecutable" json:"xla_runtime_executable,omitempty"`
	XlaFrameworkMapping  *XlaFrameworkMappingProto          `protobuf:"bytes,2,opt,name=xla_framework_mapping,json=xlaFrameworkMapping" json:"xla_framework_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*XlaRuntimeCpuExecutableProto) Descriptor deprecated

func (*XlaRuntimeCpuExecutableProto) Descriptor() ([]byte, []int)

Deprecated: Use XlaRuntimeCpuExecutableProto.ProtoReflect.Descriptor instead.

func (*XlaRuntimeCpuExecutableProto) GetXlaFrameworkMapping

func (x *XlaRuntimeCpuExecutableProto) GetXlaFrameworkMapping() *XlaFrameworkMappingProto

func (*XlaRuntimeCpuExecutableProto) GetXlaRuntimeExecutable

func (x *XlaRuntimeCpuExecutableProto) GetXlaRuntimeExecutable() *service.XlaRuntimeExecutableProto

func (*XlaRuntimeCpuExecutableProto) ProtoMessage

func (*XlaRuntimeCpuExecutableProto) ProtoMessage()

func (*XlaRuntimeCpuExecutableProto) ProtoReflect

func (*XlaRuntimeCpuExecutableProto) Reset

func (x *XlaRuntimeCpuExecutableProto) Reset()

func (*XlaRuntimeCpuExecutableProto) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL