TensorFormat

public enum TensorFormat

Tensor arrangements.

  • Declaration

    Swift

    case NHWC
  • Declaration

    Swift

    case NCHW
  • Declaration

    Swift

    case CHWN
  • Declaration

    Swift

    public static func from(cTensorParams: ccv_nnc_tensor_param_t) -> TensorFormat