Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit b0ff781

Browse files
committed
Remove printRefCounts function.
1 parent f7eefd7 commit b0ff781

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Sources/TensorFlow/LazyTensor/LazyTensorOperation.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ class LazyTensor: _AnyTensorHandle {
104104
}
105105
}
106106

107-
static func printRefCounts() {
108-
let live = operationRefCounts.values.reduce(0, { (sum, element) in
109-
return sum + (element.liveRefCount > 0 ? 1 : 0)
110-
})
111-
print("LazyTensorOperations: \(operationRefCounts.count) (\(live) live)")
112-
}
113-
114107
static var _materializationCallback: (String) -> () = { _ in }
115108
}
116109

0 commit comments

Comments
 (0)