mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Change "can" to "must" to avoid ambiguity in required arguments
Change-Id: Icc43cfc9950c7acae145a37af8eb83282dada455
This commit is contained in:
parent
a5d8217c4e
commit
f32659b041
|
|
@ -155,7 +155,7 @@ typedef struct TF_Tensor TF_Tensor;
|
|||
//
|
||||
// The data will be deallocated by a subsequent call to TF_DeleteTensor via:
|
||||
// (*deallocator_fn)(data, len, deallocator_arg)
|
||||
// Clients can provide a custom deallocator function so they can pass in
|
||||
// Clients must provide a custom deallocator function so they can pass in
|
||||
// memory managed by something like numpy.
|
||||
extern TF_Tensor* TF_NewTensor(TF_DataType, long long* dims, int num_dims,
|
||||
void* data, size_t len,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user