You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Layer.Layers.cs 493 B

5 years ago
12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Tensorflow.Keras.Engine
  4. {
  5. public partial class Layer
  6. {
  7. protected List<ILayer> _layers = new List<ILayer>();
  8. public List<ILayer> Layers => _layers;
  9. protected void StackLayers(params ILayer[] layers)
  10. {
  11. _layers.AddRange(layers);
  12. }
  13. public virtual TensorShape ComputeOutputShape(TensorShape input_shape)
  14. => throw new NotImplementedException("");
  15. }
  16. }