Browse Source

Keras: BaseLayerUtil method skeleton added

tags/v0.20
Deepak Kumar 5 years ago
parent
commit
51087b8ded
2 changed files with 32 additions and 1 deletions
  1. +22
    -1
      src/TensorFlowNET.Keras/Engine/BaseLayerUtils.cs
  2. +10
    -0
      src/TensorFlowNET.Keras/Engine/CallContext.cs

+ 22
- 1
src/TensorFlowNET.Keras/Engine/BaseLayerUtils.cs View File

@@ -1,4 +1,5 @@
using System;
using Keras.Layers;
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.Keras.Initializers;
@@ -20,5 +21,25 @@ namespace Tensorflow.Keras.Engine
public bool have_all_keras_metadata(Tensor[] tensors) => throw new NotImplementedException();

public static dynamic generate_placeholders_from_shape(TensorShape shape) => throw new NotImplementedException();

public Layer[] create_keras_history(Tensor[] tensors) => throw new NotImplementedException();

private void _create_keras_history_helper(Tensor[] tensors, TensorFlowOpLayer[] processed_ops, Layer[] created_layers) => throw new NotImplementedException();

public Tensor[] unnest_if_single_tensor(Tensor[] input_tensors) => throw new NotImplementedException();

public bool needs_keras_history(Tensor[] tensors, bool ignore_call_context= false) => throw new NotImplementedException();

public bool is_in_keras_graph() => throw new NotImplementedException();

public string is_in_eager_or_tf_function() => throw new NotImplementedException();

public bool is_in_tf_function() => throw new NotImplementedException();

public bool uses_keras_history(Tensor[] tensors) => throw new NotImplementedException();

public Tensor[] mark_checked(Tensor[] tensors) => throw new NotImplementedException();

public CallContext call_context() => throw new NotImplementedException();
}
}

+ 10
- 0
src/TensorFlowNET.Keras/Engine/CallContext.cs View File

@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow.Keras.Engine
{
public class CallContext
{
}
}

Loading…
Cancel
Save