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
5d046071ee
MultiThreadedUnitTestExecuter: Fixed exception throwing.
6 years ago
Eli Belash
be996facb8
Tensor.Creation: Revamp of CreateTensorFromArray to properly handle TF_NewTensor
- Added other missing AllocationType setting in different cases.
6 years ago
Eli Belash
a539b9fd12
Merge branch 'gc-deallocation' into multithreading
6 years ago
Eli Belash
e4e62dd988
Tensor: Rewrite Creation to fix heap corruption.
TensorTest: Added Unit tests for more coverage, reformatted file.
c_api.tensor: Added overloads for TF_NewTensor that does not have deallocator parameters.
BaseSession: Removed disposal immediately after TF_SessionRun call.
c_api.DeallocatorArgs: Added DeallocatorArgs.Empty
6 years ago
Eli Belash
76905017a5
Merge branch 'master' into multithreading
6 years ago
Eli Belash
1d6f3de37d
Tensor.Creation: Added IntPtr.Zero check for FreeHGlobalMemory
6 years ago
Eli Belash
288085be0c
Tensor.Creation: uncommented FreeGCHandle deallocation
6 years ago
Eli Belash
70c877d18f
gradients_utils: minor changes
6 years ago
Eli Belash
f27b0c892f
Graph, Session: defaulting was changed to thread-wide using ThreadLocal<T>
6 years ago
Eli Belash
0bcddfdfd7
DefaultGraphStack: Minor perf-op
6 years ago
Eli Belash
3578c35945
TensorFlowNET.UnitTest: Upgraded to LangVersion - Latest.
6 years ago
Eli Belash
067e62bed2
Graph: Added tf.peak_default_graph which just returns null if no default exists.
6 years ago
Eli Belash
44d58bcd3c
MultiThreadedUnitTestEvaluator: Fixed when using ThreadCount==1
Set all methods inside as Hidden
6 years ago
Eli Belash
a7cdf6e1a2
ops.uid: Use Interlocked.Increment instead of ++
6 years ago
Eli Belash
8cb647082c
Graph.Operation: Throw ValueError exception when `Current graph is not default graph.`
6 years ago
Eli Belash
70a90e5aa7
TensorflowNET.UnitTest: Added MultiThreadedUnitTestExecuter
6 years ago
Eli Belash
a039e64f86
TensorflowNET.UnitTest: Added PrivateObject
6 years ago
Eli Belash
e28d09469f
Create Locks.cs
6 years ago
Oceania2018
116f21728c
fix gen_nn_ops.fused_batch_norm return values.
6 years ago
Haiping
b95ed0d649
Merge pull request #363 from chaami/redist
Attempt to provide meta-packages for TensorFlow.lib
6 years ago
Eli Belash
e56164de00
BaseSession: revamped fetchValue (perf-op)
6 years ago
Eli Belash
621ffffa3e
TensorflowNET.UnitTest: Added FluentAssertions package
6 years ago
Eli Belash
49e0eca801
Buffer: Changed constructor to public
6 years ago
Eli Belash
98c383ccd3
BaseSession: Perf-op
6 years ago
Eli Belash
02d75dfb7f
Merge branch 'master' of https://github.com/SciSharp/TensorFlow.NET
6 years ago
Oceania2018
05b3172ddf
fix name for array_ops.ones
6 years ago
Oceania2018
e867a67203
fix name_scope for random_normal
6 years ago
Oceania2018
4aee841ab3
Finish RandomNormal.call().
Override TensorShape.ToString().
6 years ago
Oceania2018
da8f66c0c0
Merge branch 'master' of https://github.com/SciSharp/TensorFlow.NET
6 years ago
Oceania2018
ecbda0cdb9
add RefVariable.read_value()
6 years ago
Eli Belash
c7bc4dd19e
NeuralNetXor: Changed activation to tanh
6 years ago
Eli Belash
cb68cd3500
Ignored unimplemented unit-test
6 years ago
Eli Belash
ae72160d33
Removed redundant deconstructors
6 years ago
Eli Belash
4e2e71d888
Added Eli Belash to Authors
6 years ago
Eli Belash
463c62e412
DisposableObject.Dispose(): Added lock to prevent concurrent disposal
6 years ago
Haiping
af73e3cb26
Merge pull request #366 from SciSharp/perf-ops
Performance optimization, refactoring and revamping.
6 years ago
Eli Belash
854c2e5251
Binding.Util: Minor perf-op
6 years ago
Eli Belash
6b2fa402c4
BaseSession: Reverted all changes
6 years ago
Eli Belash
c0969be2b0
Tensor.Creation: Minor bug fix
6 years ago
Eli Belash
70aafa7203
ObjectDetection: Fixed download url
6 years ago
Eli Belash
8347f61f51
RetrainImageClassifier.cs: Changed cache_bottlenecks to use Parallel.For
6 years ago
Eli Belash
33286b99e9
RetainImageClassifier.cs: Fixed download url
6 years ago
Eli Belash
f1bc50ecb7
Reverted: DefaultGraphStack: Perf-ops
6 years ago
Eli Belash
d8df2e9fdf
Fix typo in readme.md
Fix typo in readme.md
6 years ago
Eli Belash
3a42d80aca
Tensor.StringData: Changed to public.
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
7e46d4fa93
CSession: Revmoed Dispose of Input and Ouput values in DeleteInputValues, ResetOutputValues
They are managed by GC.
6 years ago
Eli Belash
bd18f5db17
Removed all use-cases of Marshal.PtrToStructure in favor of unsafe ptrs.
6 years ago
Eli Belash
4a9a2c6c95
Tensor.ToArray<T>: Minor change
6 years ago