Skip to content

Commit 68f604c

Browse files
Densenet method skeleton WIP
1 parent c40b906 commit 68f604c

4 files changed

Lines changed: 30 additions & 3 deletions

File tree

‎src/TensorFlowNET.Keras/Applications/Densenet.cs‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44

55
namespace Tensorflow.Keras.Applications
66
{
7-
class Densenet
7+
public class Densenet
88
{
9+
public static Tensor dense_block(Tensor x, int blocks, string name) => throw new NotImplementedException();
10+
11+
public static Tensor transition_block(Tensor x, float reduction, string name) => throw new NotImplementedException();
12+
13+
public static Tensor conv_block(Tensor x, float growth_rate, string name) => throw new NotImplementedException();
14+
15+
public static Model DenseNet(int blocks, bool include_top=true, string weights = "imagenet",
16+
Tensor input_tensor = null, TensorShape input_shape = null,
17+
string pooling = null, int classes = 1000) => throw new NotImplementedException();
918
}
1019
}

‎src/TensorFlowNET.Keras/Engine/Training.cs‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,21 @@
44

55
namespace Tensorflow.Keras.Engine
66
{
7-
class Training
7+
public class Training
88
{
9+
public class Model
10+
{
11+
12+
}
13+
14+
public class _TrainingEndpoint
15+
{
16+
17+
}
18+
19+
public class _TrainingTarget
20+
{
21+
22+
}
923
}
1024
}

‎src/TensorFlowNET.Keras/Model.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ limitations under the License.
2121
using Tensorflow;
2222
using static Tensorflow.Binding;
2323

24-
namespace Keras
24+
namespace Tensorflow.Keras
2525
{
2626
public class Model
2727
{

‎src/TensorFlowNET.Keras/Models.cs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ namespace Tensorflow.Keras
66
{
77
class Models
88
{
9+
public class Model : Keras.Engine.Training.Model
10+
{
11+
12+
}
913
}
1014
}

0 commit comments

Comments
 (0)