Пример #1
0
 public IEnumerable <Matrix> Fwd(IEnumerable <Matrix> inputs)
 {
     return(BlockTransformer.Transform(inputs, m => T * m * T.Transpose()));
 }
Пример #2
0
 public IEnumerable <Matrix> Fwd(IEnumerable <Matrix> inputs)
 {
     return
         (BlockTransformer.Transform(inputs.Take(1), x => Quantize(x, ym, -1))
          .Concat(BlockTransformer.Transform(inputs.Skip(1), x => Quantize(x, crcbm, -1))));
 }
Пример #3
0
 public IEnumerable <Matrix> Back(IEnumerable <Matrix> matrices)
 {
     return(BlockTransformer.Transform(matrices, m => T.Transpose() * m * T));
 }
Пример #4
0
 public IEnumerable <Matrix> Back(IEnumerable <Matrix> matrices)
 {
     return
         (BlockTransformer.Transform(matrices.Take(1), x => Quantize(x, ym, 1))
          .Concat(BlockTransformer.Transform(matrices.Skip(1), x => Quantize(x, crcbm, 1))));
 }