Documentation ¶
Index ¶
- type AttrValue
- func (*AttrValue) Descriptor() ([]byte, []int)
- func (m *AttrValue) GetB() bool
- func (m *AttrValue) GetF() float32
- func (m *AttrValue) GetFunc() *NameAttrList
- func (m *AttrValue) GetI() int64
- func (m *AttrValue) GetList() *AttrValue_ListValue
- func (m *AttrValue) GetPlaceholder() string
- func (m *AttrValue) GetS() []byte
- func (m *AttrValue) GetShape() *tensor_shape_go_proto.TensorShapeProto
- func (m *AttrValue) GetTensor() *tensor_go_proto.TensorProto
- func (m *AttrValue) GetType() types_go_proto.DataType
- func (m *AttrValue) GetValue() isAttrValue_Value
- func (*AttrValue) ProtoMessage()
- func (m *AttrValue) Reset()
- func (m *AttrValue) String() string
- func (m *AttrValue) XXX_DiscardUnknown()
- func (m *AttrValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttrValue) XXX_Merge(src proto.Message)
- func (*AttrValue) XXX_OneofWrappers() []interface{}
- func (m *AttrValue) XXX_Size() int
- func (m *AttrValue) XXX_Unmarshal(b []byte) error
- type AttrValue_B
- type AttrValue_F
- type AttrValue_Func
- type AttrValue_I
- type AttrValue_List
- type AttrValue_ListValue
- func (*AttrValue_ListValue) Descriptor() ([]byte, []int)
- func (m *AttrValue_ListValue) GetB() []bool
- func (m *AttrValue_ListValue) GetF() []float32
- func (m *AttrValue_ListValue) GetFunc() []*NameAttrList
- func (m *AttrValue_ListValue) GetI() []int64
- func (m *AttrValue_ListValue) GetS() [][]byte
- func (m *AttrValue_ListValue) GetShape() []*tensor_shape_go_proto.TensorShapeProto
- func (m *AttrValue_ListValue) GetTensor() []*tensor_go_proto.TensorProto
- func (m *AttrValue_ListValue) GetType() []types_go_proto.DataType
- func (*AttrValue_ListValue) ProtoMessage()
- func (m *AttrValue_ListValue) Reset()
- func (m *AttrValue_ListValue) String() string
- func (m *AttrValue_ListValue) XXX_DiscardUnknown()
- func (m *AttrValue_ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttrValue_ListValue) XXX_Merge(src proto.Message)
- func (m *AttrValue_ListValue) XXX_Size() int
- func (m *AttrValue_ListValue) XXX_Unmarshal(b []byte) error
- type AttrValue_Placeholder
- type AttrValue_S
- type AttrValue_Shape
- type AttrValue_Tensor
- type AttrValue_Type
- type NameAttrList
- func (*NameAttrList) Descriptor() ([]byte, []int)
- func (m *NameAttrList) GetAttr() map[string]*AttrValue
- func (m *NameAttrList) GetName() string
- func (*NameAttrList) ProtoMessage()
- func (m *NameAttrList) Reset()
- func (m *NameAttrList) String() string
- func (m *NameAttrList) XXX_DiscardUnknown()
- func (m *NameAttrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NameAttrList) XXX_Merge(src proto.Message)
- func (m *NameAttrList) XXX_Size() int
- func (m *NameAttrList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrValue ¶
type AttrValue struct { // Types that are valid to be assigned to Value: // *AttrValue_S // *AttrValue_I // *AttrValue_F // *AttrValue_B // *AttrValue_Type // *AttrValue_Shape // *AttrValue_Tensor // *AttrValue_List // *AttrValue_Func // *AttrValue_Placeholder Value isAttrValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.
func (*AttrValue) Descriptor ¶
func (*AttrValue) GetFunc ¶
func (m *AttrValue) GetFunc() *NameAttrList
func (*AttrValue) GetList ¶
func (m *AttrValue) GetList() *AttrValue_ListValue
func (*AttrValue) GetPlaceholder ¶
func (*AttrValue) GetShape ¶
func (m *AttrValue) GetShape() *tensor_shape_go_proto.TensorShapeProto
func (*AttrValue) GetTensor ¶
func (m *AttrValue) GetTensor() *tensor_go_proto.TensorProto
func (*AttrValue) GetType ¶
func (m *AttrValue) GetType() types_go_proto.DataType
func (*AttrValue) ProtoMessage ¶
func (*AttrValue) ProtoMessage()
func (*AttrValue) XXX_DiscardUnknown ¶
func (m *AttrValue) XXX_DiscardUnknown()
func (*AttrValue) XXX_Marshal ¶
func (*AttrValue) XXX_OneofWrappers ¶
func (*AttrValue) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AttrValue) XXX_Unmarshal ¶
type AttrValue_B ¶
type AttrValue_B struct {
B bool `protobuf:"varint,5,opt,name=b,proto3,oneof"`
}
type AttrValue_F ¶
type AttrValue_F struct {
F float32 `protobuf:"fixed32,4,opt,name=f,proto3,oneof"`
}
type AttrValue_Func ¶
type AttrValue_Func struct {
Func *NameAttrList `protobuf:"bytes,10,opt,name=func,proto3,oneof"`
}
type AttrValue_I ¶
type AttrValue_I struct {
I int64 `protobuf:"varint,3,opt,name=i,proto3,oneof"`
}
type AttrValue_List ¶
type AttrValue_List struct {
List *AttrValue_ListValue `protobuf:"bytes,1,opt,name=list,proto3,oneof"`
}
type AttrValue_ListValue ¶
type AttrValue_ListValue struct { S [][]byte `protobuf:"bytes,2,rep,name=s,proto3" json:"s,omitempty"` I []int64 `protobuf:"varint,3,rep,packed,name=i,proto3" json:"i,omitempty"` F []float32 `protobuf:"fixed32,4,rep,packed,name=f,proto3" json:"f,omitempty"` B []bool `protobuf:"varint,5,rep,packed,name=b,proto3" json:"b,omitempty"` Type []types_go_proto.DataType `protobuf:"varint,6,rep,packed,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"` Shape []*tensor_shape_go_proto.TensorShapeProto `protobuf:"bytes,7,rep,name=shape,proto3" json:"shape,omitempty"` Tensor []*tensor_go_proto.TensorProto `protobuf:"bytes,8,rep,name=tensor,proto3" json:"tensor,omitempty"` Func []*NameAttrList `protobuf:"bytes,9,rep,name=func,proto3" json:"func,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LINT.IfChange
func (*AttrValue_ListValue) Descriptor ¶
func (*AttrValue_ListValue) Descriptor() ([]byte, []int)
func (*AttrValue_ListValue) GetB ¶
func (m *AttrValue_ListValue) GetB() []bool
func (*AttrValue_ListValue) GetF ¶
func (m *AttrValue_ListValue) GetF() []float32
func (*AttrValue_ListValue) GetFunc ¶
func (m *AttrValue_ListValue) GetFunc() []*NameAttrList
func (*AttrValue_ListValue) GetI ¶
func (m *AttrValue_ListValue) GetI() []int64
func (*AttrValue_ListValue) GetS ¶
func (m *AttrValue_ListValue) GetS() [][]byte
func (*AttrValue_ListValue) GetShape ¶
func (m *AttrValue_ListValue) GetShape() []*tensor_shape_go_proto.TensorShapeProto
func (*AttrValue_ListValue) GetTensor ¶
func (m *AttrValue_ListValue) GetTensor() []*tensor_go_proto.TensorProto
func (*AttrValue_ListValue) GetType ¶
func (m *AttrValue_ListValue) GetType() []types_go_proto.DataType
func (*AttrValue_ListValue) ProtoMessage ¶
func (*AttrValue_ListValue) ProtoMessage()
func (*AttrValue_ListValue) Reset ¶
func (m *AttrValue_ListValue) Reset()
func (*AttrValue_ListValue) String ¶
func (m *AttrValue_ListValue) String() string
func (*AttrValue_ListValue) XXX_DiscardUnknown ¶
func (m *AttrValue_ListValue) XXX_DiscardUnknown()
func (*AttrValue_ListValue) XXX_Marshal ¶
func (m *AttrValue_ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttrValue_ListValue) XXX_Merge ¶
func (m *AttrValue_ListValue) XXX_Merge(src proto.Message)
func (*AttrValue_ListValue) XXX_Size ¶
func (m *AttrValue_ListValue) XXX_Size() int
func (*AttrValue_ListValue) XXX_Unmarshal ¶
func (m *AttrValue_ListValue) XXX_Unmarshal(b []byte) error
type AttrValue_Placeholder ¶
type AttrValue_Placeholder struct {
Placeholder string `protobuf:"bytes,9,opt,name=placeholder,proto3,oneof"`
}
type AttrValue_S ¶
type AttrValue_S struct {
S []byte `protobuf:"bytes,2,opt,name=s,proto3,oneof"`
}
type AttrValue_Shape ¶
type AttrValue_Shape struct {
Shape *tensor_shape_go_proto.TensorShapeProto `protobuf:"bytes,7,opt,name=shape,proto3,oneof"`
}
type AttrValue_Tensor ¶
type AttrValue_Tensor struct {
Tensor *tensor_go_proto.TensorProto `protobuf:"bytes,8,opt,name=tensor,proto3,oneof"`
}
type AttrValue_Type ¶
type AttrValue_Type struct {
Type types_go_proto.DataType `protobuf:"varint,6,opt,name=type,proto3,enum=tensorflow.DataType,oneof"`
}
type NameAttrList ¶
type NameAttrList struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].
func (*NameAttrList) Descriptor ¶
func (*NameAttrList) Descriptor() ([]byte, []int)
func (*NameAttrList) GetAttr ¶
func (m *NameAttrList) GetAttr() map[string]*AttrValue
func (*NameAttrList) GetName ¶
func (m *NameAttrList) GetName() string
func (*NameAttrList) ProtoMessage ¶
func (*NameAttrList) ProtoMessage()
func (*NameAttrList) Reset ¶
func (m *NameAttrList) Reset()
func (*NameAttrList) String ¶
func (m *NameAttrList) String() string
func (*NameAttrList) XXX_DiscardUnknown ¶
func (m *NameAttrList) XXX_DiscardUnknown()
func (*NameAttrList) XXX_Marshal ¶
func (m *NameAttrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NameAttrList) XXX_Merge ¶
func (m *NameAttrList) XXX_Merge(src proto.Message)
func (*NameAttrList) XXX_Size ¶
func (m *NameAttrList) XXX_Size() int
func (*NameAttrList) XXX_Unmarshal ¶
func (m *NameAttrList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.