public final class TensorHandle<Scalar> where Scalar : AccelerableByTensorFlow

TensorHandle is the type used by ops and the #tfop() syntax specifically. It includes a Scalar type, which compiler internals depend on to determine the datatypes of parameters when they are extracted into a tensor program.

  • The underlying TF_TensorHandle *.

    Note

    The compiler knows that TensorHandle has a single stored property, and assumes that this is it. Changing the design of TensorHandle will require tweaking the compiler.

    Declaration

    public let cTensorHandle: CTensorHandle