Skip to content
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: 1 addition & 1 deletion docs/source/using-executorch-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ do {
let outputs3 = try module.execute("another_method", [inputTensor1])

// Process outputs by converting the first output Value to a typed Tensor<Float>.
if let outputTensor: Tensor<Float> = outputs1.first?.toTensor() {
if let outputTensor: Tensor<Float> = outputs1.first?.tensor() {
// Now you have a type-safe tensor and can access its data easily.
let logits = try outputTensor.scalars()
print("First 5 logits: \(logits.prefix(5))")
Expand Down
Loading