Compute Library
 22.05
TensorPack::PackPair Struct Reference

Pack pair construct. More...

#include <Acl.hpp>

Collaboration diagram for TensorPack::PackPair:
[legend]

Public Member Functions

 PackPair (Tensor *tensor_, int32_t slot_id_)
 Constructor. More...
 

Data Fields

Tensortensor { nullptr }
 Tensor object. More...
 
int32_t slot_id { AclSlotUnknown }
 Slot id in respect with the operator. More...
 

Detailed Description

Pack pair construct.

Definition at line 688 of file Acl.hpp.

Constructor & Destructor Documentation

◆ PackPair()

PackPair ( Tensor tensor_,
int32_t  slot_id_ 
)
inline

Constructor.

Parameters
[in]tensor_Tensor to pack
[in]slot_id_Slot identification of the tensor in respect with the operator

Definition at line 695 of file Acl.hpp.

696  : tensor(tensor_), slot_id(slot_id_)
697  {
698  }
Tensor * tensor
Tensor object.
Definition: Acl.hpp:700
int32_t slot_id
Slot id in respect with the operator.
Definition: Acl.hpp:701

Field Documentation

◆ slot_id

int32_t slot_id { AclSlotUnknown }

Slot id in respect with the operator.

Definition at line 701 of file Acl.hpp.

◆ tensor

Tensor* tensor { nullptr }

Tensor object.

Definition at line 700 of file Acl.hpp.


The documentation for this struct was generated from the following file: