Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions src/KerasNET.Core/Core.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow;
using Tensorflow;

namespace Keras
{
Expand Down
6 changes: 1 addition & 5 deletions src/KerasNET.Core/IInitializer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Keras
namespace Keras
{
interface IInitializer
{
Expand Down
8 changes: 1 addition & 7 deletions src/KerasNET.Core/Initializer/BaseInitializer.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
4 changes: 0 additions & 4 deletions src/KerasNET.Core/Layers/Dense.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Tensorflow;
using static Keras.Keras;
using Keras;
using NumSharp;
using Tensorflow.Operations.Activation;

Expand Down
6 changes: 1 addition & 5 deletions src/KerasNET.Core/Layers/ILayer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow;
using NumSharp;
using Tensorflow;

namespace Keras.Layers
{
Expand Down
2 changes: 0 additions & 2 deletions src/KerasNET.Core/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ limitations under the License.
using NumSharp;
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow;
using static Keras.Keras;
using static Tensorflow.Python;

namespace Keras
Expand Down
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/APIs/c_api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;

namespace Tensorflow
{
Expand Down
5 changes: 0 additions & 5 deletions src/TensorFlowNET.Core/APIs/keras.layers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tensorflow.Keras;
using Tensorflow.Keras.Engine;
using Tensorflow.Keras.Layers;

namespace Tensorflow
Expand Down
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/APIs/keras.preprocessing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.Keras;
using Tensorflow.Keras.Engine;

Expand Down
1 change: 0 additions & 1 deletion src/TensorFlowNET.Core/APIs/tf.array.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tensorflow
{
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.control.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.distributions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.exp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.gradients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.graph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/APIs/tf.init.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.Operations.Initializers;

namespace Tensorflow
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/APIs/tf.io.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.IO;

namespace Tensorflow
Expand Down
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/APIs/tf.layers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.Keras.Layers;
using Tensorflow.Operations.Activation;

Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.linalg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.loss.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.math.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
5 changes: 0 additions & 5 deletions src/TensorFlowNET.Core/APIs/tf.nn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tensorflow.Operations;
using Tensorflow.Operations.Activation;
using Tensorflow.Util;
using static Tensorflow.Python;

namespace Tensorflow
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.ops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.random.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.reduce_logsumexp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
4 changes: 0 additions & 4 deletions src/TensorFlowNET.Core/APIs/tf.reshape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
public static partial class tf
Expand Down
5 changes: 0 additions & 5 deletions src/TensorFlowNET.Core/APIs/tf.summary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.IO;

namespace Tensorflow
{
public static partial class tf
Expand Down
8 changes: 1 addition & 7 deletions src/TensorFlowNET.Core/APIs/tf.tensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,10 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using NumSharp;
using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
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);
}
}
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/APIs/tf.tile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ limitations under the License.
******************************************************************************/

using NumSharp;
using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/APIs/tf.variable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Tensorflow
{
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/Attributes/c_api.ops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace Tensorflow
{
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/Buffers/Buffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace Tensorflow
{
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/Buffers/TF_Buffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace Tensorflow
{
Expand Down
2 changes: 0 additions & 2 deletions src/TensorFlowNET.Core/Buffers/c_api.buffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace Tensorflow
{
Expand Down
3 changes: 0 additions & 3 deletions src/TensorFlowNET.Core/Clustering/KMeans.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using static Tensorflow.Python;

namespace Tensorflow.Clustering
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ You may obtain a copy of the License at
limitations under the License.
******************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static Tensorflow.Python;

namespace Tensorflow.Clustering
Expand Down
Loading