|
| 1 | +using System; |
| 2 | +using System.Collections.Generic; |
| 3 | +using Tensorflow; |
| 4 | +using Tensorflow.Keras.Constraints; |
| 5 | +using Tensorflow.Keras.Initializers; |
| 6 | +using Tensorflow.Keras.Regularizers; |
| 7 | + |
| 8 | +namespace Keras.Layers |
| 9 | +{ |
| 10 | + public abstract class Layer |
| 11 | + { |
| 12 | + public Layer(bool trainable = true, string name = null, string dtype = null, bool @dynamic = false, Dictionary<string, object> kwargs = null) |
| 13 | + { |
| 14 | + |
| 15 | + } |
| 16 | + |
| 17 | + public void build(TensorShape shape) => throw new NotImplementedException(); |
| 18 | + |
| 19 | + public void call(Tensor[] inputs) => throw new NotImplementedException(); |
| 20 | + |
| 21 | + public void _add_trackable(dynamic trackable_object, bool trainable) => throw new NotImplementedException(); |
| 22 | + |
| 23 | + public void add_weight(string name= null, TensorShape shape= null, string dtype= null, Initializer initializer = null, |
| 24 | + Regularizer regularizer = null, bool? trainable = null, ConstraintBase constraint = null, |
| 25 | + dynamic partitioner= null, bool? use_resource= null, VariableSynchronization synchronization= VariableSynchronization.Auto, |
| 26 | + VariableAggregation aggregation= VariableAggregation.None, Dictionary<string, object> kwargs = null) => throw new NotImplementedException(); |
| 27 | + |
| 28 | + public Dictionary<string, object> get_config() => throw new NotImplementedException(); |
| 29 | + |
| 30 | + public Layer from_config(Dictionary<string, object> config) => throw new NotImplementedException(); |
| 31 | + |
| 32 | + public TensorShape compute_output_shape(TensorShape input_shape) => throw new NotImplementedException(); |
| 33 | + |
| 34 | + public dynamic compute_output_signature(dynamic input_signature) => throw new NotImplementedException(); |
| 35 | + } |
| 36 | +} |
0 commit comments