Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

TFETensorHandle

public class TFETensorHandle : _AnyTensorHandle
extension TFETensorHandle: Equatable

Class wrapping a C pointer to a TensorHandle. This class owns the TensorHandle and is responsible for destroying it.

  • Declaration

    public init(_owning base: CTensorHandle)
  • The number of dimensions of the underlying Tensor.

    Declaration

    public var rank: Int { get }
  • The shape of the underlying Tensor.

    Declaration

    public var shape: TensorShape { get }
  • Declaration

    public var valueDescription: String { get }