Repository navigation
Expand file tree
/
Copy pathResnet.cs
More file actions
41 lines (29 loc) · 2.65 KB
/
Copy pathResnet.cs
File metadata and controls
41 lines (29 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Text;
namespace Tensorflow.Keras.Applications
{
public class Resnet
{
public static Model ResNet(Func<Tensor, Tensor> stack_fn, bool preact, bool use_bias, string model_name= "resnet", bool include_top= true,
string weights= "imagenet", Tensor input_tensor= null, TensorShape input_shape= null, string pooling= null,
int classes= 1000) => throw new NotImplementedException();
public static Tensor block1(Tensor x, int filters, int kernel_size= 3, int stride= 1, bool conv_shortcut= true, string name= null) => throw new NotImplementedException();
public static Tensor stack1(Tensor x, int filters, int blocks, int stride1 = 2, string name = null) => throw new NotImplementedException();
public static Tensor block2(Tensor x, int filters, int kernel_size = 3, int stride = 1, bool conv_shortcut = true, string name = null) => throw new NotImplementedException();
public static Tensor stack2(Tensor x, int filters, int blocks, int stride1 = 2, string name = null) => throw new NotImplementedException();
public static Tensor block3(Tensor x, int filters, int kernel_size = 3, int stride = 1, int groups = 32, bool conv_shortcut = true, string name = null) => throw new NotImplementedException();
public static Tensor stack3(Tensor x, int filters, int blocks, int stride1 = 2, int groups = 32, string name = null) => throw new NotImplementedException();
public static Model ResNet50(bool include_top = true, string weights = "imagenet",
Tensor input_tensor = null, TensorShape input_shape = null,
string pooling = null, int classes = 1000) => throw new NotImplementedException();
public static Model ResNet101(bool include_top = true, string weights = "imagenet",
Tensor input_tensor = null, TensorShape input_shape = null,
string pooling = null, int classes = 1000) => throw new NotImplementedException();
public static Model ResNet152(bool include_top = true, string weights = "imagenet",
Tensor input_tensor = null, TensorShape input_shape = null,
string pooling = null, int classes = 1000) => throw new NotImplementedException();
public static Tensor preprocess_input(Tensor x, string data_format = null) => throw new NotImplementedException();
public static Tensor decode_predictions(Tensor preds, int top = 5) => throw new NotImplementedException();
}
}