Struct cntk::Value
[−]
[src]
pub struct Value { /* fields omitted */ }
Methods
impl Value
[src]
fn batch_from_vec(
shape: &Shape,
data: &[f32],
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
data: &[f32],
device: DeviceDescriptor
) -> Value
fn batch_from_ndarray<D: Dimension, S: Data<Elem = f32>>(
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
fn sequence_from_vec(
shape: &Shape,
data: &[f32],
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
data: &[f32],
device: DeviceDescriptor
) -> Value
fn sequence_from_ndarray<D: Dimension, S: Data<Elem = f32>>(
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
fn from_vec(shape: &Shape, data: &[f32], device: DeviceDescriptor) -> Value
[src]
fn from_ndarray<D: Dimension, S: Data<Elem = f32>>(
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
data: &ArrayBase<S, D>,
device: DeviceDescriptor
) -> Value
fn one_hot_seq(shape: &Shape, seq: &[usize], device: DeviceDescriptor) -> Value
[src]
fn batch_of_sequences_from_vec<T: Borrow<[f32]>>(
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value
fn batch_of_sequences_from_ndarray<S: Data<Elem = f32>, D: Dimension, T: Borrow<ArrayBase<S, D>>>(
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value
fn batch_of_one_hot_sequences<T: Borrow<[usize]>>(
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value
[src]
shape: &Shape,
seqs: &[T],
device: DeviceDescriptor
) -> Value