Skip to content

Commit 51087b8

Browse files
Keras: BaseLayerUtil method skeleton added
1 parent 2dd7ac9 commit 51087b8

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

src/TensorFlowNET.Keras/Engine/BaseLayerUtils.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using Keras.Layers;
2+
using System;
23
using System.Collections.Generic;
34
using System.Text;
45
using Tensorflow.Keras.Initializers;
@@ -20,5 +21,25 @@ public static VariableV1 make_variable(string name, TensorShape shape= null, TF_
2021
public bool have_all_keras_metadata(Tensor[] tensors) => throw new NotImplementedException();
2122

2223
public static dynamic generate_placeholders_from_shape(TensorShape shape) => throw new NotImplementedException();
24+
25+
public Layer[] create_keras_history(Tensor[] tensors) => throw new NotImplementedException();
26+
27+
private void _create_keras_history_helper(Tensor[] tensors, TensorFlowOpLayer[] processed_ops, Layer[] created_layers) => throw new NotImplementedException();
28+
29+
public Tensor[] unnest_if_single_tensor(Tensor[] input_tensors) => throw new NotImplementedException();
30+
31+
public bool needs_keras_history(Tensor[] tensors, bool ignore_call_context= false) => throw new NotImplementedException();
32+
33+
public bool is_in_keras_graph() => throw new NotImplementedException();
34+
35+
public string is_in_eager_or_tf_function() => throw new NotImplementedException();
36+
37+
public bool is_in_tf_function() => throw new NotImplementedException();
38+
39+
public bool uses_keras_history(Tensor[] tensors) => throw new NotImplementedException();
40+
41+
public Tensor[] mark_checked(Tensor[] tensors) => throw new NotImplementedException();
42+
43+
public CallContext call_context() => throw new NotImplementedException();
2344
}
2445
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Text;
4+
5+
namespace Tensorflow.Keras.Engine
6+
{
7+
public class CallContext
8+
{
9+
}
10+
}

0 commit comments

Comments
 (0)