free static method
Frees a given tensors allocation on the device(GPU).
Implementation
static void free(String name) {
using((Arena arena) {
Pointer<Utf8> nName = name.toNativeUtf8(allocator: arena);
_freeTensor(handle, nName);
});
}
Frees a given tensors allocation on the device(GPU).
static void free(String name) {
using((Arena arena) {
Pointer<Utf8> nName = name.toNativeUtf8(allocator: arena);
_freeTensor(handle, nName);
});
}