| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class BostonHousing | |||||
| public class BostonHousing | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "boston_housing.npz", float test_split = 0.2f, int seed = 113) => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class Cifar100 | |||||
| public class Cifar | |||||
| { | { | ||||
| public (Tensor, Tensor) load_batch(string fpath, string label_key = "labels") => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class Cifar10 | |||||
| public class Cifar10 | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data() => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class Cifar | |||||
| public class Cifar100 | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string label_mode = "fine") => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class FashionMNIST | |||||
| public class FashionMNIST | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data() => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -1,10 +1,15 @@ | |||||
| using System; | |||||
| using Newtonsoft.Json.Linq; | |||||
| using System; | |||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||
| using System.Text; | using System.Text; | ||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class IMDB | |||||
| public class IMDB | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path= "imdb.npz", int? num_words= null, int skip_top= 0, int? maxlen= null, | |||||
| int seed= 113,int start_char= 1, int oov_char= 2, int index_from= 3) => throw new NotImplementedException(); | |||||
| public static JObject get_word_index(string path= "imdb_word_index.json") => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,8 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class MNIST | |||||
| public class MNIST | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "mnist.npz") => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -4,7 +4,9 @@ using System.Text; | |||||
| namespace Tensorflow.Keras.Datasets | namespace Tensorflow.Keras.Datasets | ||||
| { | { | ||||
| class Reuters | |||||
| public class Reuters | |||||
| { | { | ||||
| public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "reuters.npz", int? num_words= null, int skip_top= 0, | |||||
| int? maxlen= null,float test_split= 0.2f, int seed= 113,int start_char= 1,int oov_char= 2,int index_from= 3) => throw new NotImplementedException(); | |||||
| } | } | ||||
| } | } | ||||
| @@ -6,6 +6,10 @@ | |||||
| <RootNamespace>Tensorflow.Keras</RootNamespace> | <RootNamespace>Tensorflow.Keras</RootNamespace> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | |||||
| <PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> | |||||
| </ItemGroup> | |||||
| <ItemGroup> | <ItemGroup> | ||||
| <ProjectReference Include="..\TensorFlowNET.Core\TensorFlow.Binding.csproj" /> | <ProjectReference Include="..\TensorFlowNET.Core\TensorFlow.Binding.csproj" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||