Documentation ¶
Index ¶
- Variables
- type TensorSliceProto
- func (*TensorSliceProto) Descriptor() ([]byte, []int)deprecated
- func (x *TensorSliceProto) GetExtent() []*TensorSliceProto_Extent
- func (*TensorSliceProto) ProtoMessage()
- func (x *TensorSliceProto) ProtoReflect() protoreflect.Message
- func (x *TensorSliceProto) Reset()
- func (x *TensorSliceProto) String() string
- type TensorSliceProto_Extent
- func (*TensorSliceProto_Extent) Descriptor() ([]byte, []int)deprecated
- func (m *TensorSliceProto_Extent) GetHasLength() isTensorSliceProto_Extent_HasLength
- func (x *TensorSliceProto_Extent) GetLength() int64
- func (x *TensorSliceProto_Extent) GetStart() int64
- func (*TensorSliceProto_Extent) ProtoMessage()
- func (x *TensorSliceProto_Extent) ProtoReflect() protoreflect.Message
- func (x *TensorSliceProto_Extent) Reset()
- func (x *TensorSliceProto_Extent) String() string
- type TensorSliceProto_Extent_Length
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tensorflow_core_framework_tensor_slice_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TensorSliceProto ¶
type TensorSliceProto struct { // Extent of the slice in all tensor dimensions. // // Must have one entry for each of the dimension of the tensor that this // slice belongs to. The order of sizes is the same as the order of // dimensions in the TensorShape. Extent []*TensorSliceProto_Extent `protobuf:"bytes,1,rep,name=extent,proto3" json:"extent,omitempty"` // contains filtered or unexported fields }
Can only be interpreted if you know the corresponding TensorShape.
func (*TensorSliceProto) Descriptor
deprecated
func (*TensorSliceProto) Descriptor() ([]byte, []int)
Deprecated: Use TensorSliceProto.ProtoReflect.Descriptor instead.
func (*TensorSliceProto) GetExtent ¶
func (x *TensorSliceProto) GetExtent() []*TensorSliceProto_Extent
func (*TensorSliceProto) ProtoMessage ¶
func (*TensorSliceProto) ProtoMessage()
func (*TensorSliceProto) ProtoReflect ¶
func (x *TensorSliceProto) ProtoReflect() protoreflect.Message
func (*TensorSliceProto) Reset ¶
func (x *TensorSliceProto) Reset()
func (*TensorSliceProto) String ¶
func (x *TensorSliceProto) String() string
type TensorSliceProto_Extent ¶
type TensorSliceProto_Extent struct { // Start index of the slice, starting at 0. Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // Length of the slice: if the length is missing or -1 we will // interpret this as "everything in this dimension". We use // "oneof" to preserve information about whether the length is // present without changing the serialization format from the // prior proto2 version of this proto. // // Types that are assignable to HasLength: // *TensorSliceProto_Extent_Length HasLength isTensorSliceProto_Extent_HasLength `protobuf_oneof:"has_length"` // contains filtered or unexported fields }
Extent of the slice in one dimension.
func (*TensorSliceProto_Extent) Descriptor
deprecated
func (*TensorSliceProto_Extent) Descriptor() ([]byte, []int)
Deprecated: Use TensorSliceProto_Extent.ProtoReflect.Descriptor instead.
func (*TensorSliceProto_Extent) GetHasLength ¶
func (m *TensorSliceProto_Extent) GetHasLength() isTensorSliceProto_Extent_HasLength
func (*TensorSliceProto_Extent) GetLength ¶
func (x *TensorSliceProto_Extent) GetLength() int64
func (*TensorSliceProto_Extent) GetStart ¶
func (x *TensorSliceProto_Extent) GetStart() int64
func (*TensorSliceProto_Extent) ProtoMessage ¶
func (*TensorSliceProto_Extent) ProtoMessage()
func (*TensorSliceProto_Extent) ProtoReflect ¶
func (x *TensorSliceProto_Extent) ProtoReflect() protoreflect.Message
func (*TensorSliceProto_Extent) Reset ¶
func (x *TensorSliceProto_Extent) Reset()
func (*TensorSliceProto_Extent) String ¶
func (x *TensorSliceProto_Extent) String() string
type TensorSliceProto_Extent_Length ¶
type TensorSliceProto_Extent_Length struct {
Length int64 `protobuf:"varint,2,opt,name=length,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.