public protocol TensorFlowScalar : _TensorFlowDataTypeCompatible
  • makeTensor(rank:)

    Extension method

    Convert to a tensor with the specified rank, with all dimensions equal to 1.

    Declaration

    func makeTensor(rank: Int) -> Tensor<Self>
  • init(_:)

    Extension method

    Declaration

    convenience init?(_ tensor: Tensor<Self>)