Skip to content

Commit

Permalink
Make TENSOR_READ_METADATA_ONLY the alias to CCV_NO_DATA_ALLOC
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Dec 5, 2023
1 parent 5fcd54a commit 45aac58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nnc/ccv_nnc.h
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ typedef struct {
int ccv_nnc_tensor_write(const ccv_nnc_tensor_t* const tensor, void* const handle, const char* const name, const ccv_nnc_tensor_io_option_t* const options);

enum {
CCV_NNC_TENSOR_READ_METADATA_ONLY = 0x1, /**< Read tensor that data is nil, with only metadata. */
CCV_NNC_TENSOR_READ_METADATA_ONLY = CCV_NO_DATA_ALLOC, /**< Read tensor that data is nil, with only metadata. */
};
/**
* Read a tensor from a SQLite database with a given name.
Expand Down

0 comments on commit 45aac58

Please sign in to comment.