Eli Belash
2259eb5196
Added process-wide locks to non-threadsafe calls. Added unit tests.
- Ignored all unit tests related to CSession as it does not use TF.NET's api directly and unable to be tested with other tests parallely.
6 years ago
Eli Belash
f27b0c892f
Graph, Session: defaulting was changed to thread-wide using ThreadLocal<T>
6 years ago
Eli Belash
e56164de00
BaseSession: revamped fetchValue (perf-op)
6 years ago
Eli Belash
9d6525ef9f
Buffer: Revamped and all perf-optted all use-cases.
- Fixed all test cases to use using(Buffer)
- Fixed all test cases to explicitly specify session
6 years ago
Eli Belash
2129dbd675
Tensor perf-ops and cleanup, Revamped dtypes.cs, some renames.
- Cleanup and docs to all Tensor.cs files
- Changed all uses of System.Convert to NumSharp.Utilities.Converts
- Added all missing types in dtypes.cs
- Renamed tensor.Data<T> to tensor.ToArray<T>, added obsolete message
- Renamed tensor.Data() to tensor.BufferToArray(), added obsolete message
- Made GraphKeys to use const string instead allocating strings at every use of GraphKeys.
6 years ago
Oceania2018
67a58b3eac
change tensorflow to non-static class in order to execute some initialization.
6 years ago
Oceania2018
a89c9aba34
rename with to tf_with, only use to construct graph purpose.
6 years ago
Johann Dirry
0e9aeafad5
removing unused namespaces ( #301 )
* removing unused namespaces
* implementing Tensor to scalar and scalar to tensor conversions
6 years ago
Kerry Jiang
3f9f2a3725
changed the class Python to be static
6 years ago
Oceania2018
bfdaa6b94d
work with NumSharp v0.9
6 years ago
Oceania2018
5a7d28c200
simplify with function.
6 years ago
Oceania2018
f516966f34
#144
6 years ago
Oceania2018
1b7003b2d3
Tensor.eval() #145
6 years ago
Oceania2018
4c912dfe6a
TEST(CAPI, Session) port completed.
6 years ago
Oceania2018
5f9e3d8563
Finally, session.run works for placeholder.
6 years ago
Oceania2018
c8f8806870
Session.Run works for two Scalar constants.
6 years ago