trace_type

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

This section is empty.

Variables

View Source
var File_tensorflow_core_function_trace_type_default_types_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_function_trace_type_serialization_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_function_trace_type_serialization_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MyCompositeRepresentation

type MyCompositeRepresentation struct {
	Elements []*SerializedTraceType `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

Represents a class that is composed of multiple SerializedTraceType objects.

func (*MyCompositeRepresentation) Descriptor deprecated

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

Deprecated: Use MyCompositeRepresentation.ProtoReflect.Descriptor instead.

func (*MyCompositeRepresentation) GetElements

func (x *MyCompositeRepresentation) GetElements() []*SerializedTraceType

func (*MyCompositeRepresentation) ProtoMessage

func (*MyCompositeRepresentation) ProtoMessage()

func (*MyCompositeRepresentation) ProtoReflect

func (*MyCompositeRepresentation) Reset

func (x *MyCompositeRepresentation) Reset()

func (*MyCompositeRepresentation) String

func (x *MyCompositeRepresentation) String() string

type MyCustomRepresentation

type MyCustomRepresentation struct {
	Index *int32  `protobuf:"varint,1,opt,name=index" json:"index,omitempty"`
	Name  *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Represents a class with just two fields.

func (*MyCustomRepresentation) Descriptor deprecated

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

Deprecated: Use MyCustomRepresentation.ProtoReflect.Descriptor instead.

func (*MyCustomRepresentation) GetIndex

func (x *MyCustomRepresentation) GetIndex() int32

func (*MyCustomRepresentation) GetName

func (x *MyCustomRepresentation) GetName() string

func (*MyCustomRepresentation) ProtoMessage

func (*MyCustomRepresentation) ProtoMessage()

func (*MyCustomRepresentation) ProtoReflect

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

func (*MyCustomRepresentation) Reset

func (x *MyCustomRepresentation) Reset()

func (*MyCustomRepresentation) String

func (x *MyCustomRepresentation) String() string

type MyMultiClassRepresentation

type MyMultiClassRepresentation struct {
	Id *int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MyMultiClassRepresentation) Descriptor deprecated

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

Deprecated: Use MyMultiClassRepresentation.ProtoReflect.Descriptor instead.

func (*MyMultiClassRepresentation) GetId

func (x *MyMultiClassRepresentation) GetId() int32

func (*MyMultiClassRepresentation) ProtoMessage

func (*MyMultiClassRepresentation) ProtoMessage()

func (*MyMultiClassRepresentation) ProtoReflect

func (*MyMultiClassRepresentation) Reset

func (x *MyMultiClassRepresentation) Reset()

func (*MyMultiClassRepresentation) String

func (x *MyMultiClassRepresentation) String() string

type SerializedAttrs

type SerializedAttrs struct {
	NamedAttributes *SerializedNamedTuple `protobuf:"bytes,1,opt,name=named_attributes,json=namedAttributes" json:"named_attributes,omitempty"`
	// contains filtered or unexported fields
}

Represents a serialized Attrs type.

func (*SerializedAttrs) Descriptor deprecated

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

Deprecated: Use SerializedAttrs.ProtoReflect.Descriptor instead.

func (*SerializedAttrs) GetNamedAttributes

func (x *SerializedAttrs) GetNamedAttributes() *SerializedNamedTuple

func (*SerializedAttrs) ProtoMessage

func (*SerializedAttrs) ProtoMessage()

func (*SerializedAttrs) ProtoReflect

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

func (*SerializedAttrs) Reset

func (x *SerializedAttrs) Reset()

func (*SerializedAttrs) String

func (x *SerializedAttrs) String() string

type SerializedDict

type SerializedDict struct {
	Keys   []*SerializedLiteral   `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
	Values []*SerializedTraceType `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Represents a serialized Dict type.

func (*SerializedDict) Descriptor deprecated

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

Deprecated: Use SerializedDict.ProtoReflect.Descriptor instead.

func (*SerializedDict) GetKeys

func (x *SerializedDict) GetKeys() []*SerializedLiteral

func (*SerializedDict) GetValues

func (x *SerializedDict) GetValues() []*SerializedTraceType

func (*SerializedDict) ProtoMessage

func (*SerializedDict) ProtoMessage()

func (*SerializedDict) ProtoReflect

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

func (*SerializedDict) Reset

func (x *SerializedDict) Reset()

func (*SerializedDict) String

func (x *SerializedDict) String() string

type SerializedList

type SerializedList struct {
	ComponentsTuple *SerializedTuple `protobuf:"bytes,1,opt,name=components_tuple,json=componentsTuple" json:"components_tuple,omitempty"`
	// contains filtered or unexported fields
}

Represents a serialized List type.

func (*SerializedList) Descriptor deprecated

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

Deprecated: Use SerializedList.ProtoReflect.Descriptor instead.

func (*SerializedList) GetComponentsTuple

func (x *SerializedList) GetComponentsTuple() *SerializedTuple

func (*SerializedList) ProtoMessage

func (*SerializedList) ProtoMessage()

func (*SerializedList) ProtoReflect

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

func (*SerializedList) Reset

func (x *SerializedList) Reset()

func (*SerializedList) String

func (x *SerializedList) String() string

type SerializedLiteral

type SerializedLiteral struct {

	// Types that are assignable to Value:
	//
	//	*SerializedLiteral_BoolValue
	//	*SerializedLiteral_IntValue
	//	*SerializedLiteral_FloatValue
	//	*SerializedLiteral_StrValue
	//	*SerializedLiteral_NoneValue_
	Value isSerializedLiteral_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Represents a serialized Literal type.

func (*SerializedLiteral) Descriptor deprecated

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

Deprecated: Use SerializedLiteral.ProtoReflect.Descriptor instead.

func (*SerializedLiteral) GetBoolValue

func (x *SerializedLiteral) GetBoolValue() bool

func (*SerializedLiteral) GetFloatValue

func (x *SerializedLiteral) GetFloatValue() float64

func (*SerializedLiteral) GetIntValue

func (x *SerializedLiteral) GetIntValue() int64

func (*SerializedLiteral) GetNoneValue

func (*SerializedLiteral) GetStrValue

func (x *SerializedLiteral) GetStrValue() string

func (*SerializedLiteral) GetValue

func (m *SerializedLiteral) GetValue() isSerializedLiteral_Value

func (*SerializedLiteral) ProtoMessage

func (*SerializedLiteral) ProtoMessage()

func (*SerializedLiteral) ProtoReflect

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

func (*SerializedLiteral) Reset

func (x *SerializedLiteral) Reset()

func (*SerializedLiteral) String

func (x *SerializedLiteral) String() string

type SerializedLiteral_BoolValue

type SerializedLiteral_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,oneof"`
}

type SerializedLiteral_FloatValue

type SerializedLiteral_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,3,opt,name=float_value,json=floatValue,oneof"` // Python "float" is double precision.
}

type SerializedLiteral_IntValue

type SerializedLiteral_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,oneof"`
}

type SerializedLiteral_NoneValue

type SerializedLiteral_NoneValue struct {
	// contains filtered or unexported fields
}

func (*SerializedLiteral_NoneValue) Descriptor deprecated

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

Deprecated: Use SerializedLiteral_NoneValue.ProtoReflect.Descriptor instead.

func (*SerializedLiteral_NoneValue) ProtoMessage

func (*SerializedLiteral_NoneValue) ProtoMessage()

func (*SerializedLiteral_NoneValue) ProtoReflect

func (*SerializedLiteral_NoneValue) Reset

func (x *SerializedLiteral_NoneValue) Reset()

func (*SerializedLiteral_NoneValue) String

func (x *SerializedLiteral_NoneValue) String() string

type SerializedLiteral_NoneValue_

type SerializedLiteral_NoneValue_ struct {
	NoneValue *SerializedLiteral_NoneValue `protobuf:"bytes,5,opt,name=none_value,json=noneValue,oneof"`
}

type SerializedLiteral_StrValue

type SerializedLiteral_StrValue struct {
	StrValue string `protobuf:"bytes,4,opt,name=str_value,json=strValue,oneof"`
}

type SerializedNamedTuple

type SerializedNamedTuple struct {
	TypeName       *string          `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
	AttributeNames []string         `protobuf:"bytes,2,rep,name=attribute_names,json=attributeNames" json:"attribute_names,omitempty"`
	Attributes     *SerializedTuple `protobuf:"bytes,3,opt,name=attributes" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

Represents a serialized NamedTuple type.

func (*SerializedNamedTuple) Descriptor deprecated

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

Deprecated: Use SerializedNamedTuple.ProtoReflect.Descriptor instead.

func (*SerializedNamedTuple) GetAttributeNames

func (x *SerializedNamedTuple) GetAttributeNames() []string

func (*SerializedNamedTuple) GetAttributes

func (x *SerializedNamedTuple) GetAttributes() *SerializedTuple

func (*SerializedNamedTuple) GetTypeName

func (x *SerializedNamedTuple) GetTypeName() string

func (*SerializedNamedTuple) ProtoMessage

func (*SerializedNamedTuple) ProtoMessage()

func (*SerializedNamedTuple) ProtoReflect

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

func (*SerializedNamedTuple) Reset

func (x *SerializedNamedTuple) Reset()

func (*SerializedNamedTuple) String

func (x *SerializedNamedTuple) String() string

type SerializedTraceType

type SerializedTraceType struct {
	Representation *anypb.Any `protobuf:"bytes,1,opt,name=representation" json:"representation,omitempty"`
	// contains filtered or unexported fields
}

Represents an intermediary representation of a Serializable TraceType.

func (*SerializedTraceType) Descriptor deprecated

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

Deprecated: Use SerializedTraceType.ProtoReflect.Descriptor instead.

func (*SerializedTraceType) GetRepresentation

func (x *SerializedTraceType) GetRepresentation() *anypb.Any

func (*SerializedTraceType) ProtoMessage

func (*SerializedTraceType) ProtoMessage()

func (*SerializedTraceType) ProtoReflect

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

func (*SerializedTraceType) Reset

func (x *SerializedTraceType) Reset()

func (*SerializedTraceType) String

func (x *SerializedTraceType) String() string

type SerializedTuple

type SerializedTuple struct {
	Components []*SerializedTraceType `protobuf:"bytes,1,rep,name=components" json:"components,omitempty"`
	// contains filtered or unexported fields
}

Represents a serialized Tuple type.

func (*SerializedTuple) Descriptor deprecated

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

Deprecated: Use SerializedTuple.ProtoReflect.Descriptor instead.

func (*SerializedTuple) GetComponents

func (x *SerializedTuple) GetComponents() []*SerializedTraceType

func (*SerializedTuple) ProtoMessage

func (*SerializedTuple) ProtoMessage()

func (*SerializedTuple) ProtoReflect

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

func (*SerializedTuple) Reset

func (x *SerializedTuple) Reset()

func (*SerializedTuple) String

func (x *SerializedTuple) String() string

Jump to

Keyboard shortcuts

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