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
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
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
98c383ccd3
BaseSession: Perf-op
6 years ago
Eli Belash
6b2fa402c4
BaseSession: Reverted all changes
6 years ago
Eli Belash
b5d1021f07
BaseSession.run: revamped validate and process feed_dict.
6 years ago
Eli Belash
916ebc53b2
BaseSession: Heavy perf-ops in sess.run logic-flow.
6 years ago
Oceania2018
672c923006
DisposableObject #362
6 years ago
Eli Belash
35360e9d5a
BaseSession: Added Session.run(ITensorOrOperation fetche, params FeedItem[] feed_dict)
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
Eli Belash
891346e4e3
Refactored DisposableObject
6 years ago
Oceania2018
caeb0e3050
overloade session.run(), make syntax simpler.
6 years ago
Oceania2018
bba0dcf6b2
"HelloWorld" passed.
6 years ago
Oceania2018
a192d88c84
Object Detection pass.
6 years ago
Oceania2018
07bed359b9
merge from master
6 years ago
Oceania2018
8a50673baa
Make Graph inherits from DisposableObject.
6 years ago
Oceania2018
d519ffb93d
remove duplicate code.
6 years ago
Oceania2018
f28693b34c
rename with to tf_with, only use to construct graph purpose.
6 years ago
Oceania2018
abdf4d815b
add DisposableObject as base class.
6 years ago
Oceania2018
a89c9aba34
rename with to tf_with, only use to construct graph purpose.
6 years ago
Oceania2018
40da3d7a61
add DisposableObject as base class.
6 years ago
Oceania2018
8178785b97
rename with to tf_with, only use to construct graph purpose.
6 years ago
Oceania2018
b06b09932e
add DisposableObject as base class.
6 years ago
Oceania2018
0f26c7736b
GC.SuppressFinalize for TF object.
6 years ago
Oceania2018
33d82e8817
GC.SuppressFinalize for TF object.
6 years ago
Oceania2018
4ca080e565
Hello World works.
6 years ago
Oceania2018
2b52e1142f
build_results can't go through at full_values.Add().
6 years ago
Johann Dirry
da2cb19d81
adding tests and ignoring failing ones ( #321 )
* adding unit tests
* ignoring failing tests
* removing ignore from unit tests
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
Meinrad Recheis
9a58ebb60e
BaseSession: feeddict values are not auto-converted to NDArray any more (was a waste of time and memory)
6 years ago
Oceania2018
7950e8e9e4
apply the Apache License boilerplate notice at the top of every single file.
6 years ago
Oceania2018
5751c2037d
can training and cross validating, but train_saver.save failed. #248
6 years ago
Oceania2018
bd04f5bad2
run_bottleneck_on_image.resized_input_values
6 years ago
Oceania2018
ddbbe068e7
fix SessionTest.Session #247
6 years ago
Oceania2018
a5d2aa950f
#247
6 years ago
pkingwsd
8bf4edb713
fix call sessionoptions issue
6 years ago
Meinrad Recheis
6479706535
added FeedDict
6 years ago
Meinrad Recheis
5b49f73eda
session.run: added overload with Hashtable as feed dict
6 years ago
Oceania2018
ffebb85e78
Word2Vec example works, but still has a minor display issue.
6 years ago
c q
b345efa320
Solve ObjectDetection functions
6 years ago
haiping008
cc0b994d8c
rollback object detection example.
6 years ago
c q
f8324e87e5
Add object detection example
Add byte type support in Session and Tensor
Add pbtxtParser class to utility
6 years ago
c q
60fafc7872
测试
Signed-off-by: c q <quchenxy@yeah.net>
6 years ago
Oceania2018
bfdaa6b94d
work with NumSharp v0.9
6 years ago
Oceania2018
a1853a9236
v0.5.2, memory leak when allocating Tensor.
6 years ago
haiping008
2f29995d14
fixed Tensor memory leak.
6 years ago
Oceania2018
8654b41c2a
Add Nearest Neighbor
release v0.5.1
6 years ago
Oceania2018
6495cace99
fix NotImplementedException for short data type #186
6 years ago