Skip to content

Commit

Permalink
Updates InterpreterOptions, TensorShape, and TensorDataType to be nes…
Browse files Browse the repository at this point in the history
…ted types.

PiperOrigin-RevId: 265160862
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Aug 23, 2019
1 parent a9615c9 commit 751f464
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ModelDataHandler {

// Specify the options for the `Interpreter`.
self.threadCount = threadCount
var options = InterpreterOptions()
var options = Interpreter.Options()
options.threadCount = threadCount
do {
// Create the `Interpreter`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ModelDataHandler {

// Specify the options for the `Interpreter`.
self.threadCount = threadCount
var options = InterpreterOptions()
var options = Interpreter.Options()
options.threadCount = threadCount
do {
// Create the `Interpreter`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ModelDataHandler: NSObject {

// Specify the options for the `Interpreter`.
self.threadCount = threadCount
var options = InterpreterOptions()
var options = Interpreter.Options()
options.threadCount = threadCount
do {
// Create the `Interpreter`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ModelDataHandler {

// Specify the options for the `Interpreter`.
self.threadCount = threadCount
var options = InterpreterOptions()
var options = Interpreter.Options()
options.threadCount = threadCount
do {
// Create the `Interpreter`.
Expand Down

0 comments on commit 751f464

Please sign in to comment.