public final class TensorHandle<Scalar> : _AnyTensorHandle
  where Scalar : _TensorFlowDataTypeCompatible

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

  • Declaration

    public init(_owning cTensorHandle: CTensorHandle)
  • Return true if the underlying tensor is concrete (as opposed to being symbolic).

    Declaration

    public var isConcrete: Bool { get }
  • Declaration

    public convenience init(_owning tensorHandles: UnsafePointer<CTensorHandle>?)