InputTensorInfo

Inputs tensor information. The header file is include/ge/ge_api_types.h in the CANN component directory.

1
2
3
4
5
6
struct InputTensorInfo {
  uint32_t data_type;               // data type
  std::vector<int64_t> dims;        // shape description
  void *data;                       // tensor data
  int64_t length;                   // tensor length
};