Table of Contents

Class OutputFrame

Namespace
DotFly
Assembly
DotFly.Engine.dll

One published readout: K values in set order, with the neural time it describes.

public sealed class OutputFrame
Inheritance
OutputFrame
Inherited Members

Properties

FrameIndex

Sequential frame number, starting at 0 after each reset.

public long FrameIndex { get; }

Property Value

long

this[int]

Value by position.

public float this[int position] { get; }

Parameters

position int

Property Value

float

Memory

The values as memory (for tensor / interop views).

public ReadOnlyMemory<float> Memory { get; }

Property Value

ReadOnlyMemory<float>

NeuralTime

Neural time at the end of that step.

public TimeSpan NeuralTime { get; }

Property Value

TimeSpan

Step

Step at the end of which the frame was published.

public long Step { get; }

Property Value

long

Values

The values (one per neuron of the port's set).

public ReadOnlySpan<float> Values { get; }

Property Value

ReadOnlySpan<float>

Methods

Mean()

Arithmetic mean of the values (0 for an empty port).

public float Mean()

Returns

float