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

Commit 5a3485d

Browse files
authored
Make some LazyTensor properties @usableFromInline (#191)
1 parent d538aab commit 5a3485d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/TensorFlow/LazyTensor/LazyTensorOperation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class LazyTensor: _AnyTensorHandle {
1414

1515
let handle: Handle
1616

17+
@usableFromInline
1718
var _tfeTensorHandle: TFETensorHandle {
1819
switch handle {
1920
case .concrete(let h, _):
@@ -104,6 +105,7 @@ class LazyTensor: _AnyTensorHandle {
104105
}
105106
}
106107

108+
@usableFromInline
107109
static var _materializationCallback: (String) -> () = { _ in }
108110
}
109111

0 commit comments

Comments
 (0)