Skip to content

Commit 0e9aeaf

Browse files
MovGP0Oceania2018
authored andcommitted
removing unused namespaces (#301)
* removing unused namespaces * implementing Tensor to scalar and scalar to tensor conversions
1 parent c616eea commit 0e9aeaf

File tree

351 files changed

+1511
-2263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+1511
-2263
lines changed

src/KerasNET.Core/Core.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
using Tensorflow;
1+
using Tensorflow;
52

63
namespace Keras
74
{

src/KerasNET.Core/IInitializer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
5-
namespace Keras
1+
namespace Keras
62
{
73
interface IInitializer
84
{

src/KerasNET.Core/Initializer/BaseInitializer.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
using Tensorflow;
5-
using Tensorflow.Layers;
6-
7-
namespace Keras.Initializer
1+
namespace Keras.Initializer
82
{
93
class BaseInitializer : IInitializer
104
{

src/KerasNET.Core/Layers/Dense.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ limitations under the License.
1515
******************************************************************************/
1616

1717
using System;
18-
using System.Collections.Generic;
19-
using System.Text;
20-
using System.Linq;
2118
using Tensorflow;
2219
using static Keras.Keras;
23-
using Keras;
2420
using NumSharp;
2521
using Tensorflow.Operations.Activation;
2622

src/KerasNET.Core/Layers/ILayer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
using Tensorflow;
5-
using NumSharp;
1+
using Tensorflow;
62

73
namespace Keras.Layers
84
{

src/KerasNET.Core/Model.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ limitations under the License.
1818
using NumSharp;
1919
using System;
2020
using System.Collections.Generic;
21-
using System.Text;
2221
using Tensorflow;
23-
using static Keras.Keras;
2422
using static Tensorflow.Python;
2523

2624
namespace Keras

src/TensorFlowNET.Core/APIs/c_api.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ limitations under the License.
1515
******************************************************************************/
1616

1717
using System;
18-
using System.Collections.Generic;
19-
using System.Net;
2018
using System.Runtime.InteropServices;
21-
using System.Text;
2219

2320
namespace Tensorflow
2421
{

src/TensorFlowNET.Core/APIs/keras.layers.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ You may obtain a copy of the License at
1414
limitations under the License.
1515
******************************************************************************/
1616

17-
using System;
18-
using System.Collections.Generic;
1917
using System.Linq;
20-
using System.Text;
21-
using Tensorflow.Keras;
22-
using Tensorflow.Keras.Engine;
2318
using Tensorflow.Keras.Layers;
2419

2520
namespace Tensorflow

src/TensorFlowNET.Core/APIs/keras.preprocessing.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ You may obtain a copy of the License at
1414
limitations under the License.
1515
******************************************************************************/
1616

17-
using System;
18-
using System.Collections.Generic;
19-
using System.Text;
2017
using Tensorflow.Keras;
2118
using Tensorflow.Keras.Engine;
2219

src/TensorFlowNET.Core/APIs/tf.array.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ limitations under the License.
1717
using System;
1818
using System.Collections.Generic;
1919
using System.Linq;
20-
using System.Text;
2120

2221
namespace Tensorflow
2322
{

0 commit comments

Comments
 (0)