Skip to content

Commit 27ab492

Browse files
committed
change to Newtonsoft.Json.
1 parent e9d2e90 commit 27ab492

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/TensorFlowNET.Core/Operations/Operation.Input.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
using System.Linq;
1919
using System.Runtime.InteropServices;
2020
#if SERIALIZABLE
21-
using System.Text.Json.Serialization;
21+
using Newtonsoft.Json;
2222
#endif
2323

2424
namespace Tensorflow

src/TensorFlowNET.Core/Operations/Operation.Output.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
using System.Linq;
1919
using System.Runtime.InteropServices;
2020
#if SERIALIZABLE
21-
using System.Text.Json.Serialization;
21+
using Newtonsoft.Json;
2222
#endif
2323
using static Tensorflow.Binding;
2424

src/TensorFlowNET.Core/Operations/Operation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
using Google.Protobuf.Collections;
1818
#if SERIALIZABLE
19-
using System.Text.Json.Serialization;
19+
using Newtonsoft.Json;
2020
#endif
2121
using System;
2222
using System.Collections.Generic;

src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626
using NumSharp.Backends.Unmanaged;
2727
using static Tensorflow.c_api;
2828
#if SERIALIZABLE
29-
using System.Text.Json.Serialization;
29+
using Newtonsoft.Json;
3030
#endif
3131

3232
namespace Tensorflow

src/TensorFlowNET.Core/Tensors/Tensor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ limitations under the License.
2929
using NumSharp.Utilities;
3030
using Tensorflow.Framework;
3131
#if SERIALIZABLE
32-
using System.Text.Json.Serialization;
32+
using Newtonsoft.Json;
3333
#endif
3434

3535
namespace Tensorflow

src/TensorFlowNET.Core/Tensors/TensorShape.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Linq;
66
using System.Runtime.CompilerServices;
77
#if SERIALIZABLE
8-
using System.Text.Json.Serialization;
8+
using Newtonsoft.Json;
99
#endif
1010
using static Tensorflow.Binding;
1111

0 commit comments

Comments
 (0)