Skip to content

Commit

Permalink
add binding to TF_NewTensor (#15)
Browse files Browse the repository at this point in the history
* add binding to `TF_NewTensor` #14

* fix typo in deallocator: method name
  • Loading branch information
syrel authored and SergeStinckwich committed Aug 24, 2019
1 parent 1f89790 commit d6493f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibTensorFlow-Core/TensorFlowCAPI.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ TensorFlowCAPI >> newStatus [
]

{ #category : #tensor }
TensorFlowCAPI >> newTensorType: anInteger shape: aLongLongArray rank: dimCount data: aData length: len dealocattor: deallocator args: args [
TensorFlowCAPI >> newTensorType: anInteger shape: aLongLongArray rank: dimCount data: aData length: len deallocator: deallocator args: args [
"TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(
TF_DataType, const int64_t* dims, int num_dims, void* data, size_t len,
void (*deallocator)(void* data, size_t len, void* arg),
Expand Down

0 comments on commit d6493f1

Please sign in to comment.