Documentation ¶
Index ¶
- Variables
- type MyCompositeRepresentation
- func (*MyCompositeRepresentation) Descriptor() ([]byte, []int)deprecated
- func (x *MyCompositeRepresentation) GetElements() []*SerializedTraceType
- func (*MyCompositeRepresentation) ProtoMessage()
- func (x *MyCompositeRepresentation) ProtoReflect() protoreflect.Message
- func (x *MyCompositeRepresentation) Reset()
- func (x *MyCompositeRepresentation) String() string
- type MyCustomRepresentation
- func (*MyCustomRepresentation) Descriptor() ([]byte, []int)deprecated
- func (x *MyCustomRepresentation) GetIndex() int32
- func (x *MyCustomRepresentation) GetName() string
- func (*MyCustomRepresentation) ProtoMessage()
- func (x *MyCustomRepresentation) ProtoReflect() protoreflect.Message
- func (x *MyCustomRepresentation) Reset()
- func (x *MyCustomRepresentation) String() string
- type MyMultiClassRepresentation
- func (*MyMultiClassRepresentation) Descriptor() ([]byte, []int)deprecated
- func (x *MyMultiClassRepresentation) GetId() int32
- func (*MyMultiClassRepresentation) ProtoMessage()
- func (x *MyMultiClassRepresentation) ProtoReflect() protoreflect.Message
- func (x *MyMultiClassRepresentation) Reset()
- func (x *MyMultiClassRepresentation) String() string
- type SerializedAttrs
- func (*SerializedAttrs) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedAttrs) GetNamedAttributes() *SerializedNamedTuple
- func (*SerializedAttrs) ProtoMessage()
- func (x *SerializedAttrs) ProtoReflect() protoreflect.Message
- func (x *SerializedAttrs) Reset()
- func (x *SerializedAttrs) String() string
- type SerializedDict
- func (*SerializedDict) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedDict) GetKeys() []*SerializedLiteral
- func (x *SerializedDict) GetValues() []*SerializedTraceType
- func (*SerializedDict) ProtoMessage()
- func (x *SerializedDict) ProtoReflect() protoreflect.Message
- func (x *SerializedDict) Reset()
- func (x *SerializedDict) String() string
- type SerializedList
- type SerializedLiteral
- func (*SerializedLiteral) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedLiteral) GetBoolValue() bool
- func (x *SerializedLiteral) GetFloatValue() float64
- func (x *SerializedLiteral) GetIntValue() int64
- func (x *SerializedLiteral) GetNoneValue() *SerializedLiteral_NoneValue
- func (x *SerializedLiteral) GetStrValue() string
- func (m *SerializedLiteral) GetValue() isSerializedLiteral_Value
- func (*SerializedLiteral) ProtoMessage()
- func (x *SerializedLiteral) ProtoReflect() protoreflect.Message
- func (x *SerializedLiteral) Reset()
- func (x *SerializedLiteral) String() string
- type SerializedLiteral_BoolValue
- type SerializedLiteral_FloatValue
- type SerializedLiteral_IntValue
- type SerializedLiteral_NoneValue
- type SerializedLiteral_NoneValue_
- type SerializedLiteral_StrValue
- type SerializedNamedTuple
- func (*SerializedNamedTuple) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedNamedTuple) GetAttributeNames() []string
- func (x *SerializedNamedTuple) GetAttributes() *SerializedTuple
- func (x *SerializedNamedTuple) GetTypeName() string
- func (*SerializedNamedTuple) ProtoMessage()
- func (x *SerializedNamedTuple) ProtoReflect() protoreflect.Message
- func (x *SerializedNamedTuple) Reset()
- func (x *SerializedNamedTuple) String() string
- type SerializedTraceType
- func (*SerializedTraceType) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedTraceType) GetRepresentation() *anypb.Any
- func (*SerializedTraceType) ProtoMessage()
- func (x *SerializedTraceType) ProtoReflect() protoreflect.Message
- func (x *SerializedTraceType) Reset()
- func (x *SerializedTraceType) String() string
- type SerializedTuple
- func (*SerializedTuple) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedTuple) GetComponents() []*SerializedTraceType
- func (*SerializedTuple) ProtoMessage()
- func (x *SerializedTuple) ProtoReflect() protoreflect.Message
- func (x *SerializedTuple) Reset()
- func (x *SerializedTuple) String() string
Constants ¶
This section is empty.
Variables ¶
var File_tensorflow_core_function_trace_type_default_types_proto protoreflect.FileDescriptor
var File_tensorflow_core_function_trace_type_serialization_proto protoreflect.FileDescriptor
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 (x *MyCompositeRepresentation) ProtoReflect() protoreflect.Message
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 (x *MyMultiClassRepresentation) ProtoReflect() protoreflect.Message
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 (x *SerializedLiteral) GetNoneValue() *SerializedLiteral_NoneValue
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 (x *SerializedLiteral_NoneValue) ProtoReflect() protoreflect.Message
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