AnyTensor

public protocol AnyTensor

A type-erased tensor.

  • Undocumented

    Declaration

    Swift

    var storage: AnyTensorStorage { get }
  • Undocumented

    Declaration

    Swift

    var cTensor: UnsafeMutablePointer<ccv_nnc_tensor_t> { get }
  • dataType Extension method

    Undocumented

    Declaration

    Swift

    public var dataType: DataType { get }
  • kind Extension method

    Undocumented

    Declaration

    Swift

    public var kind: DeviceKind { get }
  • format Extension method

    Undocumented

    Declaration

    Swift

    public var format: TensorFormat { get }
  • dimensions Extension method

    Undocumented

    Declaration

    Swift

    public var dimensions: [Int] { get }
  • isTensorView Extension method

    Undocumented

    Declaration

    Swift

    public var isTensorView: Bool { get }
  • increments Extension method

    Undocumented

    Declaration

    Swift

    public var increments: [Int] { get }