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

Make some LazyTensor properties @usableFromInline #191

Merged
merged 1 commit into from
Jun 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/TensorFlow/LazyTensor/LazyTensorOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class LazyTensor: _AnyTensorHandle {

let handle: Handle

@usableFromInline
var _tfeTensorHandle: TFETensorHandle {
switch handle {
case .concrete(let h, _):
Expand Down Expand Up @@ -44,6 +45,7 @@ class LazyTensor: _AnyTensorHandle {
handle = Handle.symbolic(op, index: index, isLive: true)
}

@usableFromInline
static var _materializationCallback: (String) -> () = { _ in }
}

Expand Down