tensor_description_go_proto

package
Version: v0.0.0-...-6cd68a2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0, BSD-2-Clause, MIT 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

This method has been 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL