* removing unused namespaces * implementing Tensor to scalar and scalar to tensor conversionstags/v0.10
@@ -1,7 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow; | |||||
using Tensorflow; | |||||
namespace Keras | namespace Keras | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Keras | |||||
namespace Keras | |||||
{ | { | ||||
interface IInitializer | interface IInitializer | ||||
{ | { | ||||
@@ -1,10 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow; | |||||
using Tensorflow.Layers; | |||||
namespace Keras.Initializer | |||||
namespace Keras.Initializer | |||||
{ | { | ||||
class BaseInitializer : IInitializer | class BaseInitializer : IInitializer | ||||
{ | { | ||||
@@ -15,12 +15,8 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using System.Linq; | |||||
using Tensorflow; | using Tensorflow; | ||||
using static Keras.Keras; | using static Keras.Keras; | ||||
using Keras; | |||||
using NumSharp; | using NumSharp; | ||||
using Tensorflow.Operations.Activation; | using Tensorflow.Operations.Activation; | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow; | |||||
using NumSharp; | |||||
using Tensorflow; | |||||
namespace Keras.Layers | namespace Keras.Layers | ||||
{ | { | ||||
@@ -18,9 +18,7 @@ using Keras.Layers; | |||||
using NumSharp; | using NumSharp; | ||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | |||||
using Tensorflow; | using Tensorflow; | ||||
using static Keras.Keras; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Keras | namespace Keras | ||||
@@ -15,10 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Net; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,12 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Keras; | |||||
using Tensorflow.Keras.Engine; | |||||
using Tensorflow.Keras.Layers; | using Tensorflow.Keras.Layers; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,9 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow.Keras; | using Tensorflow.Keras; | ||||
using Tensorflow.Keras.Engine; | using Tensorflow.Keras.Engine; | ||||
@@ -17,7 +17,6 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,9 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow.Operations.Initializers; | using Tensorflow.Operations.Initializers; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,9 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | |||||
using Tensorflow.IO; | using Tensorflow.IO; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,9 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow.Keras.Layers; | using Tensorflow.Keras.Layers; | ||||
using Tensorflow.Operations.Activation; | using Tensorflow.Operations.Activation; | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,13 +14,8 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
using Tensorflow.Operations.Activation; | using Tensorflow.Operations.Activation; | ||||
using Tensorflow.Util; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,11 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow.IO; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
@@ -14,16 +14,10 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using NumSharp; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public static partial class tf | public static partial class tf | ||||
{ | { | ||||
public static Tensor convert_to_tensor(object value, | |||||
string name = null) => ops.convert_to_tensor(value, name: name); | |||||
public static Tensor convert_to_tensor(object value, string name = null) => ops.convert_to_tensor(value, name: name); | |||||
} | } | ||||
} | } |
@@ -15,9 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using NumSharp; | using NumSharp; | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,9 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using static Tensorflow.Python; | |||||
namespace Tensorflow.Clustering | namespace Tensorflow.Clustering | ||||
{ | { | ||||
@@ -14,10 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow.Clustering | namespace Tensorflow.Clustering | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Contrib.Learn.Preprocessing | namespace Tensorflow.Contrib.Learn.Preprocessing | ||||
{ | { | ||||
public class VocabularyProcessor | public class VocabularyProcessor | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Data | |||||
namespace Tensorflow.Data | |||||
{ | { | ||||
public class DatasetV1 : DatasetV2 | public class DatasetV1 : DatasetV2 | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Data | |||||
namespace Tensorflow.Data | |||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Wraps a V2 `Dataset` object in the `tf.compat.v1.data.Dataset` API. | /// Wraps a V2 `Dataset` object in the `tf.compat.v1.data.Dataset` API. | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Data | |||||
namespace Tensorflow.Data | |||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a potentially large set of elements. | /// Represents a potentially large set of elements. | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Eager | namespace Tensorflow.Eager | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Eager | namespace Tensorflow.Eager | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using System.Collections.Generic; | |||||
namespace Tensorflow.Eager | namespace Tensorflow.Eager | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Eager | |||||
namespace Tensorflow.Eager | |||||
{ | { | ||||
public class Tape | public class Tape | ||||
{ | { | ||||
@@ -1,7 +1,5 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,7 +1,5 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
namespace Tensorflow.Eager | namespace Tensorflow.Eager | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow.Data; | using Tensorflow.Data; | ||||
namespace Tensorflow.Estimator | namespace Tensorflow.Estimator | ||||
@@ -1,7 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.IO; | |||||
using System.Text; | |||||
using System.IO; | |||||
namespace Tensorflow.Estimator | namespace Tensorflow.Estimator | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Estimator | |||||
namespace Tensorflow.Estimator | |||||
{ | { | ||||
public interface IEstimator | public interface IEstimator | ||||
{ | { | ||||
@@ -1,9 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using static Tensorflow.Python; | |||||
namespace Tensorflow.Estimator | |||||
namespace Tensorflow.Estimator | |||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// The executor to run `Estimator` training and evaluation. | /// The executor to run `Estimator` training and evaluation. | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework | |||||
namespace Tensorflow.Framework | |||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Abstract base class for Tensor-like objects that are composed from Tensors. | /// Abstract base class for Tensor-like objects that are composed from Tensors. | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework | namespace Tensorflow.Framework | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework.Models | |||||
namespace Tensorflow.Framework.Models | |||||
{ | { | ||||
class ScopedTFFunction | class ScopedTFFunction | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework.Models | |||||
namespace Tensorflow.Framework.Models | |||||
{ | { | ||||
public class ScopedTFGraph : Graph | public class ScopedTFGraph : Graph | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework.Models | |||||
namespace Tensorflow.Framework.Models | |||||
{ | { | ||||
public class ScopedTFImportGraphDefOptions : ImportGraphDefOptions | public class ScopedTFImportGraphDefOptions : ImportGraphDefOptions | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework.Models | namespace Tensorflow.Framework.Models | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework.Models | |||||
namespace Tensorflow.Framework.Models | |||||
{ | { | ||||
public class ScopedTFStatus : Status | public class ScopedTFStatus : Status | ||||
{ | { | ||||
@@ -19,7 +19,6 @@ using System.Collections.Generic; | |||||
using System.IO; | using System.IO; | ||||
using System.IO.Compression; | using System.IO.Compression; | ||||
using System.Net; | using System.Net; | ||||
using System.Text; | |||||
using System.Threading; | using System.Threading; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
@@ -15,8 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework | namespace Tensorflow.Framework | ||||
{ | { | ||||
@@ -18,7 +18,6 @@ using NumSharp; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -18,7 +18,6 @@ using Google.Protobuf; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using static Tensorflow.OpDef.Types; | using static Tensorflow.OpDef.Types; | ||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
@@ -19,7 +19,6 @@ using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.IO; | using System.IO; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
using static Tensorflow.CollectionDef; | using static Tensorflow.CollectionDef; | ||||
using static Tensorflow.MetaGraphDef.Types; | using static Tensorflow.MetaGraphDef.Types; | ||||
@@ -14,10 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | |||||
using static Tensorflow.OpDef.Types; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public class random_seed | public class random_seed | ||||
@@ -15,8 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework | namespace Tensorflow.Framework | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Framework | |||||
namespace Tensorflow.Framework | |||||
{ | { | ||||
public static class SparseTensor | public static class SparseTensor | ||||
{ | { | ||||
@@ -1,6 +1,4 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,7 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | |||||
using System.Text; | |||||
using System.Runtime.InteropServices; | |||||
namespace Tensorflow.Functions | namespace Tensorflow.Functions | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | |||||
namespace Tensorflow | |||||
{ | { | ||||
public class AggregationMethod | public class AggregationMethod | ||||
{ | { | ||||
@@ -15,8 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow.Gradients | namespace Tensorflow.Gradients | ||||
{ | { | ||||
@@ -14,12 +14,9 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Framework; | using Tensorflow.Framework; | ||||
using Tensorflow.Operations; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow.Gradients | namespace Tensorflow.Gradients | ||||
@@ -99,7 +96,7 @@ namespace Tensorflow.Gradients | |||||
new Tensor[] { non_neg_concat_dim, tf.constant(0) }, | new Tensor[] { non_neg_concat_dim, tf.constant(0) }, | ||||
new Tensor[] { tf.constant(1), tf.constant(-1) }); | new Tensor[] { tf.constant(1), tf.constant(-1) }); | ||||
var squeeze_sizes = array_ops.squeeze(slice); | var squeeze_sizes = array_ops.squeeze(slice); | ||||
out_grads = gen_array_ops.split(grad, squeeze_sizes, non_neg_concat_dim).ToList(); | |||||
out_grads = gen_array_ops.split(grad, squeeze_sizes, (int)non_neg_concat_dim.Data<int>()[0]).ToList(); | |||||
} | } | ||||
else | else | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
namespace Tensorflow.Gradients | namespace Tensorflow.Gradients | ||||
@@ -14,12 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading; | |||||
using static Tensorflow.Python; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -17,7 +17,6 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using static Tensorflow.Python; | using static Tensorflow.Python; | ||||
namespace Tensorflow.Gradients | namespace Tensorflow.Gradients | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
namespace Tensorflow.Gradients | namespace Tensorflow.Gradients | ||||
@@ -18,7 +18,6 @@ using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Reflection; | using System.Reflection; | ||||
using System.Text; | |||||
using Tensorflow.Gradients; | using Tensorflow.Gradients; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,10 +14,8 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public class FreezeGraph | public class FreezeGraph | ||||
@@ -14,11 +14,8 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Text; | |||||
using Tensorflow.Eager; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -14,11 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public partial class Graph | public partial class Graph | ||||
@@ -1,8 +1,4 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | |||||
namespace Tensorflow | |||||
{ | { | ||||
public partial class Graph | public partial class Graph | ||||
{ | { | ||||
@@ -14,12 +14,8 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using Google.Protobuf; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.IO; | using System.IO; | ||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -18,7 +18,6 @@ using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -18,7 +18,6 @@ using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,8 +15,6 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -1,7 +1,5 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,10 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | |||||
using Tensorflow.Eager; | |||||
using Tensorflow.Operations; | using Tensorflow.Operations; | ||||
namespace Tensorflow | namespace Tensorflow | ||||
@@ -15,9 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -15,10 +15,7 @@ | |||||
******************************************************************************/ | ******************************************************************************/ | ||||
using Google.Protobuf; | using Google.Protobuf; | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.IO; | using System.IO; | ||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
@@ -14,10 +14,8 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.IO; | using System.IO; | ||||
using System.Text; | |||||
namespace Tensorflow.IO | namespace Tensorflow.IO | ||||
{ | { | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
public interface IPyClass | public interface IPyClass | ||||
@@ -14,10 +14,6 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace Tensorflow | namespace Tensorflow | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
@@ -14,11 +14,7 @@ | |||||
limitations under the License. | limitations under the License. | ||||
******************************************************************************/ | ******************************************************************************/ | ||||
using NumSharp; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
using Tensorflow; | |||||
namespace Tensorflow.Keras | namespace Tensorflow.Keras | ||||
{ | { | ||||