Tensor info🔗

Takes in a tensor and outputs various information about the tensor.

Inputs🔗

  • tensor: Input tensor.

Outputs🔗

  • tensorType: Type of the tensor. Tensor type codes are:

Type

Code

invalid

512

float

513

uint8

514

int8

515

uint16

516

int16

517

int32

518

int64

519

string

520

bool

521

float16

522

double

523

uint32

524

uint64

525

fcomplex

526

dcomplex

527

bfloat16

528

  • typeName: Tensor type in human-readable format.

  • shape: A 1-by-N matrix which contains the dimensions of the tensor.