tensor_description_go_proto

package
v0.0.0-...-88323db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_framework_tensor_description_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TensorDescription

type TensorDescription struct {

	// Data type of tensor elements
	Dtype types_go_proto.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// Shape of the tensor.
	Shape *tensor_shape_go_proto.TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// Information about the size and allocator used for the data
	AllocationDescription *allocation_description_go_proto.AllocationDescription `protobuf:"bytes,4,opt,name=allocation_description,json=allocationDescription,proto3" json:"allocation_description,omitempty"`
	// contains filtered or unexported fields
}

func (*TensorDescription) Descriptor deprecated

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

Deprecated: Use TensorDescription.ProtoReflect.Descriptor instead.

func (*TensorDescription) GetAllocationDescription

func (*TensorDescription) GetDtype

func (*TensorDescription) GetShape

func (*TensorDescription) ProtoMessage

func (*TensorDescription) ProtoMessage()

func (*TensorDescription) ProtoReflect

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

func (*TensorDescription) Reset

func (x *TensorDescription) Reset()

func (*TensorDescription) String

func (x *TensorDescription) String() string

Jump to

Keyboard shortcuts

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