We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d337e2 commit 76ef30bCopy full SHA for 76ef30b
docs/source/using-executorch-ios.md
@@ -771,7 +771,7 @@ do {
771
let outputs3 = try module.execute("another_method", [inputTensor1])
772
773
// Process outputs by converting the first output Value to a typed Tensor<Float>.
774
- if let outputTensor: Tensor<Float> = outputs1.first?.toTensor() {
+ if let outputTensor: Tensor<Float> = outputs1.first?.tensor() {
775
// Now you have a type-safe tensor and can access its data easily.
776
let logits = try outputTensor.scalars()
777
print("First 5 logits: \(logits.prefix(5))")
0 commit comments