Typedef CustomGetOutputV2Fn_t

Typedef Documentation

typedef bool (*CustomGetOutputV2Fn_t)(void *output_context, const char *name, size_t shape_dim_cnt, int64_t *shape_dims, uint64_t content_byte_size, void **content, CustomMemoryType *memory_type, int64_t *memory_type_id)

See CustomGetOutputFn_t.

Parameters
  • memory_type: Acts as both input and output. On input gives the buffer memory type preferred by the function caller. Returns the actual memory type of ‘content’.

  • memory_type_id: Acts as both input and output. On input gives the buffer memory type id preferred by the function caller. Returns the actual memory type id of ‘content’.