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

Commit 2005d6b

Browse files
committed
make materializationcallback a public var.
1 parent 94178bb commit 2005d6b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Sources/TensorFlow/LazyTensor/LazyTensorOperation.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,8 @@ public class LazyTensor : _AnyTensorHandle {
4646
handle = Handle.symbolic(op, index: index, isLive: true)
4747
}
4848

49-
static var materializationCallback: (String) -> () = {
49+
public static var _materializationCallback: (String) -> () = {
5050
(s: String) in return }
51-
52-
public static func registerMaterializationCallback(
53-
f: @escaping (String) -> ()) {
54-
materializationCallback = f
55-
}
5651
}
5752

5853
class LazyTensorOperation : TensorOperation {

0 commit comments

Comments
 (0)