tf2xlav1

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceType_name = map[int32]string{
		0: "DEVICE_TYPE_UNSPECIFIED",
		1: "XLA_TPU_JIT",
		2: "XLA_CPU_JIT",
		3: "XLA_GPU_JIT",
	}
	DeviceType_value = map[string]int32{
		"DEVICE_TYPE_UNSPECIFIED": 0,
		"XLA_TPU_JIT":             1,
		"XLA_CPU_JIT":             2,
		"XLA_GPU_JIT":             3,
	}
)

Enum value maps for DeviceType.

View Source
var File_tensorflow_compiler_mlir_tf2xla_api_v1_device_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceType

type DeviceType int32

The requested device type to compile for.

const (
	DeviceType_DEVICE_TYPE_UNSPECIFIED DeviceType = 0
	DeviceType_XLA_TPU_JIT             DeviceType = 1
	DeviceType_XLA_CPU_JIT             DeviceType = 2
	DeviceType_XLA_GPU_JIT             DeviceType = 3
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

func (DeviceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

func (*DeviceType) UnmarshalJSON deprecated

func (x *DeviceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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