Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

In Xcode has a build error:Array input is not a constant array of tensors #10

@TuomaXu

Description

@TuomaXu

code:
import TensorFlow
let x = Tensor([[1, 2], [3, 4]]) //error:Array input is not a constant array of tensors
print(x)

i have install tensorflow-swift。Xcode Version 9.3 (9E145) and Selected a Swift toolchain affects the Xcode。

but the same code is ok in Swift REPL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions