다음을 통해 공유


TensorPrimitives.Exp 메서드

정의

오버로드

Exp(ReadOnlySpan<Single>, Span<Single>)

지정된 텐서의 단정밀도 부동 소수점 수로 e 발생시키는 요소별 결과를 계산합니다.

Exp<T>(ReadOnlySpan<T>, Span<T>)

지정된 텐서의 수 e 발생시키는 요소별 결과를 계산합니다.

Exp(ReadOnlySpan<Single>, Span<Single>)

Source:
TensorPrimitives.cs
Source:
TensorPrimitives.Single.cs
Source:
TensorPrimitives.Single.cs

지정된 텐서의 단정밀도 부동 소수점 수로 e 발생시키는 요소별 결과를 계산합니다.

public:
 static void Exp(ReadOnlySpan<float> x, Span<float> destination);
public static void Exp (ReadOnlySpan<float> x, Span<float> destination);
static member Exp : ReadOnlySpan<single> * Span<single> -> unit
Public Shared Sub Exp (x As ReadOnlySpan(Of Single), destination As Span(Of Single))

매개 변수

x
ReadOnlySpan<Single>

범위로 표현되는 텐서입니다.

destination
Span<Single>

범위로 표시되는 대상 텐서입니다.

예외

xdestination 겹치는 메모리 위치를 참조하며 동일한 위치에서 시작하지 않습니다.

설명

이 메서드는 destination[i] = MathF.Exp(x[i])효과적으로 계산합니다.

값이 NaN 또는 PositiveInfinity같으면 해당 대상 위치에 저장된 결과가 NaN으로 설정됩니다. 값이 NegativeInfinity같으면 해당 대상 위치에 저장된 결과가 0으로 설정됩니다.

이 메서드는 기본 C 런타임을 호출하거나 현재 아키텍처와 관련된 지침을 사용할 수 있습니다. 정확한 결과는 운영 체제 또는 아키텍처마다 다를 수 있습니다.

적용 대상

Exp<T>(ReadOnlySpan<T>, Span<T>)

Source:
TensorPrimitives.Exp.cs
Source:
TensorPrimitives.Exp.cs

지정된 텐서의 수 e 발생시키는 요소별 결과를 계산합니다.

public:
generic <typename T>
 where T : System::Numerics::IExponentialFunctions<T> static void Exp(ReadOnlySpan<T> x, Span<T> destination);
public static void Exp<T> (ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IExponentialFunctions<T>;
static member Exp : ReadOnlySpan<'T (requires 'T :> System.Numerics.IExponentialFunctions<'T>)> * Span<'T (requires 'T :> System.Numerics.IExponentialFunctions<'T>)> -> unit (requires 'T :> System.Numerics.IExponentialFunctions<'T>)
Public Shared Sub Exp(Of T As IExponentialFunctions(Of T)) (x As ReadOnlySpan(Of T), destination As Span(Of T))

형식 매개 변수

T

매개 변수

x
ReadOnlySpan<T>

범위로 표현되는 텐서입니다.

destination
Span<T>

범위로 표시되는 대상 텐서입니다.

예외

xdestination 겹치는 메모리 위치를 참조하며 동일한 위치에서 시작하지 않습니다.

설명

이 메서드는 destination[i] = T.Exp(x[i])효과적으로 계산합니다.

값이 NaN 또는 PositiveInfinity같으면 해당 대상 위치에 저장된 결과가 NaN으로 설정됩니다. 값이 NegativeInfinity같으면 해당 대상 위치에 저장된 결과가 0으로 설정됩니다.

이 메서드는 기본 C 런타임을 호출하거나 현재 아키텍처와 관련된 지침을 사용할 수 있습니다. 정확한 결과는 운영 체제 또는 아키텍처마다 다를 수 있습니다.

적용 대상