Browse Source

Densenet method skeleton WIP

tags/v0.20
Deepak Kumar 5 years ago
parent
commit
68f604c394
4 changed files with 30 additions and 3 deletions
  1. +10
    -1
      src/TensorFlowNET.Keras/Applications/Densenet.cs
  2. +15
    -1
      src/TensorFlowNET.Keras/Engine/Training.cs
  3. +1
    -1
      src/TensorFlowNET.Keras/Model.cs
  4. +4
    -0
      src/TensorFlowNET.Keras/Models.cs

+ 10
- 1
src/TensorFlowNET.Keras/Applications/Densenet.cs View File

@@ -4,7 +4,16 @@ using System.Text;

namespace Tensorflow.Keras.Applications
{
class Densenet
public class Densenet
{
public static Tensor dense_block(Tensor x, int blocks, string name) => throw new NotImplementedException();

public static Tensor transition_block(Tensor x, float reduction, string name) => throw new NotImplementedException();

public static Tensor conv_block(Tensor x, float growth_rate, string name) => throw new NotImplementedException();

public static Model DenseNet(int blocks, bool include_top=true, string weights = "imagenet",
Tensor input_tensor = null, TensorShape input_shape = null,
string pooling = null, int classes = 1000) => throw new NotImplementedException();
}
}

+ 15
- 1
src/TensorFlowNET.Keras/Engine/Training.cs View File

@@ -4,7 +4,21 @@ using System.Text;

namespace Tensorflow.Keras.Engine
{
class Training
public class Training
{
public class Model
{

}

public class _TrainingEndpoint
{

}

public class _TrainingTarget
{

}
}
}

+ 1
- 1
src/TensorFlowNET.Keras/Model.cs View File

@@ -21,7 +21,7 @@ using System.Collections.Generic;
using Tensorflow;
using static Tensorflow.Binding;

namespace Keras
namespace Tensorflow.Keras
{
public class Model
{


+ 4
- 0
src/TensorFlowNET.Keras/Models.cs View File

@@ -6,5 +6,9 @@ namespace Tensorflow.Keras
{
class Models
{
public class Model : Keras.Engine.Training.Model
{

}
}
}

Loading…
Cancel
Save