graph_transfer_info_go_proto

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GraphTransferInfo_Destination_name = map[int32]string{
		0: "NOP",
		1: "HEXAGON",
	}
	GraphTransferInfo_Destination_value = map[string]int32{
		"NOP":     0,
		"HEXAGON": 1,
	}
)

Enum value maps for GraphTransferInfo_Destination.

View Source
var File_tensorflow_core_framework_graph_transfer_info_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GraphTransferConstNodeInfo

type GraphTransferConstNodeInfo struct {
	Name   string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId int32                   `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Shape  []int64                 `protobuf:"varint,3,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Data   []byte                  `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Dtype  types_go_proto.DataType `protobuf:"varint,5,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferConstNodeInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferConstNodeInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferConstNodeInfo) GetData

func (x *GraphTransferConstNodeInfo) GetData() []byte

func (*GraphTransferConstNodeInfo) GetDtype

func (*GraphTransferConstNodeInfo) GetName

func (x *GraphTransferConstNodeInfo) GetName() string

func (*GraphTransferConstNodeInfo) GetNodeId

func (x *GraphTransferConstNodeInfo) GetNodeId() int32

func (*GraphTransferConstNodeInfo) GetShape

func (x *GraphTransferConstNodeInfo) GetShape() []int64

func (*GraphTransferConstNodeInfo) ProtoMessage

func (*GraphTransferConstNodeInfo) ProtoMessage()

func (*GraphTransferConstNodeInfo) ProtoReflect

func (*GraphTransferConstNodeInfo) Reset

func (x *GraphTransferConstNodeInfo) Reset()

func (*GraphTransferConstNodeInfo) String

func (x *GraphTransferConstNodeInfo) String() string

type GraphTransferGraphInputNodeInfo

type GraphTransferGraphInputNodeInfo struct {
	Name  string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64                 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype types_go_proto.DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferGraphInputNodeInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferGraphInputNodeInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferGraphInputNodeInfo) GetDtype

func (*GraphTransferGraphInputNodeInfo) GetName

func (*GraphTransferGraphInputNodeInfo) GetShape

func (x *GraphTransferGraphInputNodeInfo) GetShape() []int64

func (*GraphTransferGraphInputNodeInfo) ProtoMessage

func (*GraphTransferGraphInputNodeInfo) ProtoMessage()

func (*GraphTransferGraphInputNodeInfo) ProtoReflect

func (*GraphTransferGraphInputNodeInfo) Reset

func (*GraphTransferGraphInputNodeInfo) String

type GraphTransferGraphOutputNodeInfo

type GraphTransferGraphOutputNodeInfo struct {
	Name  string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64                 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype types_go_proto.DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferGraphOutputNodeInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferGraphOutputNodeInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferGraphOutputNodeInfo) GetDtype

func (*GraphTransferGraphOutputNodeInfo) GetName

func (*GraphTransferGraphOutputNodeInfo) GetShape

func (x *GraphTransferGraphOutputNodeInfo) GetShape() []int64

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage()

func (*GraphTransferGraphOutputNodeInfo) ProtoReflect

func (*GraphTransferGraphOutputNodeInfo) Reset

func (*GraphTransferGraphOutputNodeInfo) String

type GraphTransferInfo

type GraphTransferInfo struct {
	NodeInfo       []*GraphTransferNodeInfo       `protobuf:"bytes,1,rep,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
	ConstNodeInfo  []*GraphTransferConstNodeInfo  `protobuf:"bytes,2,rep,name=const_node_info,json=constNodeInfo,proto3" json:"const_node_info,omitempty"`
	NodeInputInfo  []*GraphTransferNodeInputInfo  `protobuf:"bytes,3,rep,name=node_input_info,json=nodeInputInfo,proto3" json:"node_input_info,omitempty"`
	NodeOutputInfo []*GraphTransferNodeOutputInfo `protobuf:"bytes,4,rep,name=node_output_info,json=nodeOutputInfo,proto3" json:"node_output_info,omitempty"`
	// Input Node parameters of transferred graph
	GraphInputNodeInfo  []*GraphTransferGraphInputNodeInfo  `protobuf:"bytes,5,rep,name=graph_input_node_info,json=graphInputNodeInfo,proto3" json:"graph_input_node_info,omitempty"`
	GraphOutputNodeInfo []*GraphTransferGraphOutputNodeInfo `protobuf:"bytes,6,rep,name=graph_output_node_info,json=graphOutputNodeInfo,proto3" json:"graph_output_node_info,omitempty"`
	// Destination of graph transfer
	Destination GraphTransferInfo_Destination `protobuf:"varint,7,opt,name=destination,proto3,enum=tensorflow.GraphTransferInfo_Destination" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*GraphTransferInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferInfo) GetConstNodeInfo

func (x *GraphTransferInfo) GetConstNodeInfo() []*GraphTransferConstNodeInfo

func (*GraphTransferInfo) GetDestination

func (*GraphTransferInfo) GetGraphInputNodeInfo

func (x *GraphTransferInfo) GetGraphInputNodeInfo() []*GraphTransferGraphInputNodeInfo

func (*GraphTransferInfo) GetGraphOutputNodeInfo

func (x *GraphTransferInfo) GetGraphOutputNodeInfo() []*GraphTransferGraphOutputNodeInfo

func (*GraphTransferInfo) GetNodeInfo

func (x *GraphTransferInfo) GetNodeInfo() []*GraphTransferNodeInfo

func (*GraphTransferInfo) GetNodeInputInfo

func (x *GraphTransferInfo) GetNodeInputInfo() []*GraphTransferNodeInputInfo

func (*GraphTransferInfo) GetNodeOutputInfo

func (x *GraphTransferInfo) GetNodeOutputInfo() []*GraphTransferNodeOutputInfo

func (*GraphTransferInfo) ProtoMessage

func (*GraphTransferInfo) ProtoMessage()

func (*GraphTransferInfo) ProtoReflect

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

func (*GraphTransferInfo) Reset

func (x *GraphTransferInfo) Reset()

func (*GraphTransferInfo) String

func (x *GraphTransferInfo) String() string

type GraphTransferInfo_Destination

type GraphTransferInfo_Destination int32
const (
	GraphTransferInfo_NOP     GraphTransferInfo_Destination = 0
	GraphTransferInfo_HEXAGON GraphTransferInfo_Destination = 1
)

func (GraphTransferInfo_Destination) Descriptor

func (GraphTransferInfo_Destination) Enum

func (GraphTransferInfo_Destination) EnumDescriptor deprecated

func (GraphTransferInfo_Destination) EnumDescriptor() ([]byte, []int)

Deprecated: Use GraphTransferInfo_Destination.Descriptor instead.

func (GraphTransferInfo_Destination) Number

func (GraphTransferInfo_Destination) String

func (GraphTransferInfo_Destination) Type

type GraphTransferNodeInfo

type GraphTransferNodeInfo struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId      int32  `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	TypeName    string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	SocOpId     int32  `protobuf:"varint,4,opt,name=soc_op_id,json=socOpId,proto3" json:"soc_op_id,omitempty"`
	PaddingId   int32  `protobuf:"varint,5,opt,name=padding_id,json=paddingId,proto3" json:"padding_id,omitempty"`
	InputCount  int32  `protobuf:"varint,6,opt,name=input_count,json=inputCount,proto3" json:"input_count,omitempty"`
	OutputCount int32  `protobuf:"varint,7,opt,name=output_count,json=outputCount,proto3" json:"output_count,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferNodeInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferNodeInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferNodeInfo) GetInputCount

func (x *GraphTransferNodeInfo) GetInputCount() int32

func (*GraphTransferNodeInfo) GetName

func (x *GraphTransferNodeInfo) GetName() string

func (*GraphTransferNodeInfo) GetNodeId

func (x *GraphTransferNodeInfo) GetNodeId() int32

func (*GraphTransferNodeInfo) GetOutputCount

func (x *GraphTransferNodeInfo) GetOutputCount() int32

func (*GraphTransferNodeInfo) GetPaddingId

func (x *GraphTransferNodeInfo) GetPaddingId() int32

func (*GraphTransferNodeInfo) GetSocOpId

func (x *GraphTransferNodeInfo) GetSocOpId() int32

func (*GraphTransferNodeInfo) GetTypeName

func (x *GraphTransferNodeInfo) GetTypeName() string

func (*GraphTransferNodeInfo) ProtoMessage

func (*GraphTransferNodeInfo) ProtoMessage()

func (*GraphTransferNodeInfo) ProtoReflect

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

func (*GraphTransferNodeInfo) Reset

func (x *GraphTransferNodeInfo) Reset()

func (*GraphTransferNodeInfo) String

func (x *GraphTransferNodeInfo) String() string

type GraphTransferNodeInput

type GraphTransferNodeInput struct {
	NodeId     int32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	OutputPort int32 `protobuf:"varint,2,opt,name=output_port,json=outputPort,proto3" json:"output_port,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferNodeInput) Descriptor deprecated

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

Deprecated: Use GraphTransferNodeInput.ProtoReflect.Descriptor instead.

func (*GraphTransferNodeInput) GetNodeId

func (x *GraphTransferNodeInput) GetNodeId() int32

func (*GraphTransferNodeInput) GetOutputPort

func (x *GraphTransferNodeInput) GetOutputPort() int32

func (*GraphTransferNodeInput) ProtoMessage

func (*GraphTransferNodeInput) ProtoMessage()

func (*GraphTransferNodeInput) ProtoReflect

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

func (*GraphTransferNodeInput) Reset

func (x *GraphTransferNodeInput) Reset()

func (*GraphTransferNodeInput) String

func (x *GraphTransferNodeInput) String() string

type GraphTransferNodeInputInfo

type GraphTransferNodeInputInfo struct {
	NodeId    int32                     `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeInput []*GraphTransferNodeInput `protobuf:"bytes,2,rep,name=node_input,json=nodeInput,proto3" json:"node_input,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferNodeInputInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferNodeInputInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferNodeInputInfo) GetNodeId

func (x *GraphTransferNodeInputInfo) GetNodeId() int32

func (*GraphTransferNodeInputInfo) GetNodeInput

func (*GraphTransferNodeInputInfo) ProtoMessage

func (*GraphTransferNodeInputInfo) ProtoMessage()

func (*GraphTransferNodeInputInfo) ProtoReflect

func (*GraphTransferNodeInputInfo) Reset

func (x *GraphTransferNodeInputInfo) Reset()

func (*GraphTransferNodeInputInfo) String

func (x *GraphTransferNodeInputInfo) String() string

type GraphTransferNodeOutputInfo

type GraphTransferNodeOutputInfo struct {
	NodeId      int32   `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	MaxByteSize []int32 `protobuf:"varint,2,rep,packed,name=max_byte_size,json=maxByteSize,proto3" json:"max_byte_size,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphTransferNodeOutputInfo) Descriptor deprecated

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

Deprecated: Use GraphTransferNodeOutputInfo.ProtoReflect.Descriptor instead.

func (*GraphTransferNodeOutputInfo) GetMaxByteSize

func (x *GraphTransferNodeOutputInfo) GetMaxByteSize() []int32

func (*GraphTransferNodeOutputInfo) GetNodeId

func (x *GraphTransferNodeOutputInfo) GetNodeId() int32

func (*GraphTransferNodeOutputInfo) ProtoMessage

func (*GraphTransferNodeOutputInfo) ProtoMessage()

func (*GraphTransferNodeOutputInfo) ProtoReflect

func (*GraphTransferNodeOutputInfo) Reset

func (x *GraphTransferNodeOutputInfo) Reset()

func (*GraphTransferNodeOutputInfo) String

func (x *GraphTransferNodeOutputInfo) String() string

Jump to

Keyboard shortcuts

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