Struct prophet::SampleView [] [src]

pub struct SampleView<'a> {
    pub input: ArrayView1<'a, f32>,
    pub target: ArrayView1<'a, f32>,
}

A sample view used to train a disciple during supervised learning.

Views are non-owning.

Fields

The input parameter of this SampleView.

The expected target values of this SampleView.

Trait Implementations

impl<'a> Debug for SampleView<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Clone for SampleView<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> From<&'a Sample> for SampleView<'a>
[src]

[src]

Performs the conversion.