Superpiffer
43625abe91
Removed use of tf.Status static instance
In multithreading .NET 4.8 applications, sometimes in Session finalizer the method c_api.TF_DeleteSession find f.Status static instance already disposed for some reason. No problem for .NET 6 application or with a single thread.
2 years ago
Oceania2018
8dd1eecdbe
remove unnecessary variables.
3 years ago
Oceania2018
85139ed131
Fix Session.LoadFromSavedModel memroy leak.
4 years ago
Oceania2018
a4a4da9d30
np.permutation
4 years ago
Oceania2018
e73ed66b7c
add SafeTensorHandle to manage tensor handle reference.
4 years ago
Oceania2018
9c2d5c4897
fix NDArray creation in graph mode.
4 years ago
Oceania2018
2192f4d875
fix placeholder feeds value issue.
4 years ago
Oceania2018
4c51d1b678
fixt build_results.
4 years ago
Oceania2018
3231500660
linspace and meshgrid.
4 years ago
Oceania2018
f3eb31fb87
Built-in numpy api.
4 years ago
Oceania2018
48d96f4afc
return weights for load_weights.
4 years ago
Oceania2018
a6ee058d00
Memory leak in FuncGraph #727 .
4 years ago
Oceania2018
58d2daebfa
Fix graph instance in InputLayer.
4 years ago
Oceania2018
ba490102c1
clean code.
4 years ago
Oceania2018
e2f7be6d43
InputLayer for Keras.
5 years ago
Sam Harwell
5e2aa2bff5
Fix CS1711 (XML comment has a typeparam tag, but there is no type parameter by that name)
5 years ago
Sam Harwell
fe625866ad
Suppress CS0162 (Unreachable code detected)
5 years ago
Sam Harwell
bfac6f7b6c
Implement SafeSessionOptionsHandle as a wrapper for TF_SessionOptions
5 years ago
Sam Harwell
6b48c0d208
Merge remote-tracking branch 'SciSharp/master' into safe-status-handle
5 years ago
Oceania2018
7d2d186fe3
Use shared status object.
5 years ago
Sam Harwell
d123f44322
Merge remote-tracking branch 'SciSharp/master' into safe-status-handle
5 years ago
Pavel Šavara
13b1b63b4e
fix NullReferenceException on session run with ITensorOrOperation signature
5 years ago
Sam Harwell
7a30362cdb
Implement SafeStatusHandle as a wrapper for TF_Status
5 years ago
Matthew Moloney
2848c07f3b
Using ByteString instead of String
In TF ByteString is more of a byte buffer than valid utf8. Reading it as a String adds escape characters to non-valid utf8. Then converting it to utf16 causes separate issues. Going from ByteString to byte[] fixes both of these.
5 years ago
Oceania2018
1d9e2e57cd
overload session.run for 4 tuples.
5 years ago
Oceania2018
6931d5c425
change Session(ConfigProto).
6 years ago
Eli Belash
b252a07d29
BaseSession: Added transparent dtype conversion to feed_dict
6 years ago
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