1- using System ;
1+ using NumSharp ;
2+ using System ;
23using System . Collections . Generic ;
34using Tensorflow ;
45using Tensorflow . Keras . Constraints ;
56using Tensorflow . Keras . Initializers ;
7+ using Tensorflow . Keras . Losses ;
68using Tensorflow . Keras . Regularizers ;
79
810namespace Keras . Layers
911{
1012 public abstract class Layer
1113 {
14+ public TF_DataType dtype
15+ {
16+ get
17+ {
18+ throw new NotImplementedException ( ) ;
19+ }
20+ }
21+
22+ public string name
23+ {
24+ get
25+ {
26+ throw new NotImplementedException ( ) ;
27+ }
28+ }
29+
30+ public bool stateful
31+ {
32+ get
33+ {
34+ throw new NotImplementedException ( ) ;
35+ }
36+ set
37+ {
38+ throw new NotImplementedException ( ) ;
39+ }
40+ }
41+
42+ public bool trainable
43+ {
44+ get
45+ {
46+ throw new NotImplementedException ( ) ;
47+ }
48+ }
49+
50+ public Regularizer activity_regularizer
51+ {
52+ get
53+ {
54+ throw new NotImplementedException ( ) ;
55+ }
56+ set
57+ {
58+ throw new NotImplementedException ( ) ;
59+ }
60+ }
61+
62+ public dynamic input_spec
63+ {
64+ get
65+ {
66+ throw new NotImplementedException ( ) ;
67+ }
68+ set
69+ {
70+ throw new NotImplementedException ( ) ;
71+ }
72+ }
73+
74+ public Tensor [ ] trainable_weights
75+ {
76+ get
77+ {
78+ throw new NotImplementedException ( ) ;
79+ }
80+ }
81+
82+ public Tensor [ ] non_trainable_weights
83+ {
84+ get
85+ {
86+ throw new NotImplementedException ( ) ;
87+ }
88+ }
89+
90+ public Tensor [ ] weights
91+ {
92+ get
93+ {
94+ throw new NotImplementedException ( ) ;
95+ }
96+ }
97+
98+ public Func < bool > [ ] updates
99+ {
100+ get
101+ {
102+ throw new NotImplementedException ( ) ;
103+ }
104+ }
105+
106+ public Tensor [ ] losses
107+ {
108+ get
109+ {
110+ throw new NotImplementedException ( ) ;
111+ }
112+ }
113+
114+ public Tensor [ ] metrics
115+ {
116+ get
117+ {
118+ throw new NotImplementedException ( ) ;
119+ }
120+ }
121+
122+ public Tensor [ ] input_mask
123+ {
124+ get
125+ {
126+ throw new NotImplementedException ( ) ;
127+ }
128+ }
129+
130+ public Tensor [ ] output_mask
131+ {
132+ get
133+ {
134+ throw new NotImplementedException ( ) ;
135+ }
136+ }
137+
138+ public Tensor [ ] input
139+ {
140+ get
141+ {
142+ throw new NotImplementedException ( ) ;
143+ }
144+ }
145+
146+ public Tensor [ ] output
147+ {
148+ get
149+ {
150+ throw new NotImplementedException ( ) ;
151+ }
152+ }
153+
154+ public TensorShape [ ] input_shape
155+ {
156+ get
157+ {
158+ throw new NotImplementedException ( ) ;
159+ }
160+ }
161+
162+ public TensorShape [ ] output_shape
163+ {
164+ get
165+ {
166+ throw new NotImplementedException ( ) ;
167+ }
168+ }
169+
12170 public Layer ( bool trainable = true , string name = null , string dtype = null , bool @dynamic = false , Dictionary < string , object > kwargs = null )
13171 {
14172
@@ -32,5 +190,39 @@ public void add_weight(string name= null, TensorShape shape= null, string dtype=
32190 public TensorShape compute_output_shape ( TensorShape input_shape ) => throw new NotImplementedException ( ) ;
33191
34192 public dynamic compute_output_signature ( dynamic input_signature ) => throw new NotImplementedException ( ) ;
193+
194+ public Tensor [ ] compute_mask ( Tensor [ ] inputs , Tensor [ ] mask = null ) => throw new NotImplementedException ( ) ;
195+
196+ public void __call__ ( Tensor [ ] inputs ) => throw new NotImplementedException ( ) ;
197+
198+ public void add_loss ( Loss [ ] losses , Tensor [ ] inputs = null ) => throw new NotImplementedException ( ) ;
199+
200+ public void _clear_losses ( ) => throw new NotImplementedException ( ) ;
201+
202+ public void add_metric ( Tensor value , string aggregation = null , string name = null ) => throw new NotImplementedException ( ) ;
203+
204+ public void add_update ( Func < bool > [ ] updates ) => throw new NotImplementedException ( ) ;
205+
206+ public void set_weights ( NDArray [ ] weights ) => throw new NotImplementedException ( ) ;
207+
208+ public NDArray [ ] get_weights ( ) => throw new NotImplementedException ( ) ;
209+
210+ public Func < bool > [ ] get_updates_for ( Tensor [ ] inputs ) => throw new NotImplementedException ( ) ;
211+
212+ public Tensor [ ] get_losses_for ( Tensor [ ] inputs ) => throw new NotImplementedException ( ) ;
213+
214+ public Tensor [ ] get_input_mask_at ( int node_index ) => throw new NotImplementedException ( ) ;
215+
216+ public Tensor [ ] get_output_mask_at ( int node_index ) => throw new NotImplementedException ( ) ;
217+
218+ public TensorShape [ ] get_input_shape_at ( int node_index ) => throw new NotImplementedException ( ) ;
219+
220+ public TensorShape [ ] get_output_shape_at ( int node_index ) => throw new NotImplementedException ( ) ;
221+
222+ public Tensor [ ] get_input_at ( int node_index ) => throw new NotImplementedException ( ) ;
223+
224+ public Tensor [ ] get_output_at ( int node_index ) => throw new NotImplementedException ( ) ;
225+
226+ public int count_params ( ) => throw new NotImplementedException ( ) ;
35227 }
36228}
0 commit comments