| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a1798c commit b9c339c
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class BostonHousing | ||
| 7 | + public class BostonHousing | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "boston_housing.npz", float test_split = 0.2f, int seed = 113) => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class Cifar100 | ||
| 7 | + public class Cifar | ||
| 8 | 8 | { | |
| 9 | + public (Tensor, Tensor) load_batch(string fpath, string label_key = "labels") => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class Cifar10 | ||
| 7 | + public class Cifar10 | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data() => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class Cifar | ||
| 7 | + public class Cifar100 | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string label_mode = "fine") => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class FashionMNIST | ||
| 7 | + public class FashionMNIST | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data() => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,15 @@ | |||
| 1 | - using System; | ||
| 1 | + using Newtonsoft.Json.Linq; | ||
| 2 | + using System; | ||
| 2 | 3 | using System.Collections.Generic; | |
| 3 | 4 | using System.Text; | |
| 4 | 5 | ||
| 5 | 6 | namespace Tensorflow.Keras.Datasets | |
| 6 | 7 | { | |
| 7 | - class IMDB | ||
| 8 | + public class IMDB | ||
| 8 | 9 | { | |
| 10 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path= "imdb.npz", int? num_words= null, int skip_top= 0, int? maxlen= null, | ||
| 11 | + int seed= 113,int start_char= 1, int oov_char= 2, int index_from= 3) => throw new NotImplementedException(); | ||
| 12 | + | ||
| 13 | + public static JObject get_word_index(string path= "imdb_word_index.json") => throw new NotImplementedException(); | ||
| 9 | 14 | } | |
| 10 | 15 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class MNIST | ||
| 7 | + public class MNIST | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "mnist.npz") => throw new NotImplementedException(); | ||
| 9 | 10 | } | |
| 10 | 11 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,9 @@ | |||
| 4 | 4 | ||
| 5 | 5 | namespace Tensorflow.Keras.Datasets | |
| 6 | 6 | { | |
| 7 | - class Reuters | ||
| 7 | + public class Reuters | ||
| 8 | 8 | { | |
| 9 | + public static ((Tensor, Tensor), (Tensor, Tensor)) load_data(string path = "reuters.npz", int? num_words= null, int skip_top= 0, | ||
| 10 | + 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(); | ||
| 9 | 11 | } | |
| 10 | 12 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,10 @@ | |||
| 6 | 6 | <RootNamespace>Tensorflow.Keras</RootNamespace> | |
| 7 | 7 | </PropertyGroup> | |
| 8 | 8 | ||
| 9 | + <ItemGroup> | ||
| 10 | + <PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> | ||
| 11 | + </ItemGroup> | ||
| 12 | + | ||
| 9 | 13 | <ItemGroup> | |
| 10 | 14 | <ProjectReference Include="..\TensorFlowNET.Core\TensorFlow.Binding.csproj" /> | |
| 11 | 15 | </ItemGroup> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments