Show / Hide Table of Contents

    Property Value

    property Value: 'T

    Accesses the value of a zero-dimensional (scalar) tensor.

    Declaration
    property Value: 'T with get, set
    Property Value
    Type Description
    'T

    The scalar value of the tensor.

    Remarks

    Gets or sets the value of a scalar tensor.

    The tensor must have zero dimensions.

    Examples
     let a = HostTensor.sclar 2.0
     let b = a.Value // 2.0
     a.Value <- 3.0 // a = 3.0
    Exceptions
    Type Condition
    System.IndexOutOfRangeException

    Raised when the tensor is not zero-dimensional.

    See Also
    member Item: int64 list -> 'T
    Back to top Generated by DocFX