| @@ -18,7 +18,7 @@ using System; | |||||
| using System.Linq; | using System.Linq; | ||||
| using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| namespace Tensorflow | namespace Tensorflow | ||||
| @@ -18,7 +18,7 @@ using System; | |||||
| using System.Linq; | using System.Linq; | ||||
| using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| using static Tensorflow.Binding; | using static Tensorflow.Binding; | ||||
| @@ -16,7 +16,7 @@ | |||||
| using Google.Protobuf.Collections; | using Google.Protobuf.Collections; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| using System; | using System; | ||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||
| @@ -26,7 +26,7 @@ using NumSharp.Backends; | |||||
| using NumSharp.Backends.Unmanaged; | using NumSharp.Backends.Unmanaged; | ||||
| using static Tensorflow.c_api; | using static Tensorflow.c_api; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| namespace Tensorflow | namespace Tensorflow | ||||
| @@ -29,7 +29,7 @@ using NumSharp.Backends.Unmanaged; | |||||
| using NumSharp.Utilities; | using NumSharp.Utilities; | ||||
| using Tensorflow.Framework; | using Tensorflow.Framework; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| namespace Tensorflow | namespace Tensorflow | ||||
| @@ -5,7 +5,7 @@ using System.Diagnostics.CodeAnalysis; | |||||
| using System.Linq; | using System.Linq; | ||||
| using System.Runtime.CompilerServices; | using System.Runtime.CompilerServices; | ||||
| #if SERIALIZABLE | #if SERIALIZABLE | ||||
| using System.Text.Json.Serialization; | |||||
| using Newtonsoft.Json; | |||||
| #endif | #endif | ||||
| using static Tensorflow.Binding; | using static Tensorflow.Binding; | ||||