Oceania2018
58d2daebfa
Fix graph instance in InputLayer.
4 years ago
Oceania2018
ba490102c1
clean code.
5 years ago
Oceania2018
e92aa44c1d
rename call to call_fn.
5 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
33e17dff25
Mark SafeHandle interop constructors private
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
Oceania2018
4893331bc5
Rename IObjectLife to ITensorFlowObject
5 years ago
dogvane
f10a72f747
1. 增加一个减法运算函数
2. 修正一个缺少参数处理的bug
5 years ago
Sam Harwell
a3795c880a
Renormalize all files
5 years ago
Oceania2018
ded0325f42
Change to NumSharp compact version.
5 years ago
Oceania2018
06c08c93de
ByteString #479
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.
6 years ago
Eli Belash
448246b96b
Supported for forced singlethreading
- Separated multithreading related methods to classname.threading.cs partial file
- ops: Added enforce_singlethreading(), enforce_multithreading()
6 years ago
Oceania2018
1d9e2e57cd
overload session.run for 4 tuples.
6 years ago
Oceania2018
67949251b2
override graph
6 years ago
Oceania2018
6931d5c425
change Session(ConfigProto).
6 years ago
Eli Belash
d23eed0c34
Session.LoadFromSavedModel: Prevent optimization
6 years ago
Eli Belash
da70cdc790
Session.LoadFromSavedModel: Added fallback for non-absolute path
6 years ago
Eli Belash
dc4a4c22d8
Session.LoadFromSavedModel: Removed redundant .as_default() call.
6 years ago
Eli Belash
b2512954bf
Session: LoadFromSavedModel Fixed multithreading issue and added as_default() to the created session, fixed #380
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
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
bd18f5db17
Removed all use-cases of Marshal.PtrToStructure in favor of unsafe ptrs.
6 years ago
Eli Belash
fb7f4d42eb
FeedItem: Added deconstructor
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
c876be4a79
_FetchHandler: Switched to NPTypeCode
6 years ago
Eli Belash
891346e4e3
Refactored DisposableObject
6 years ago
Oceania2018
226720dd88
Merge Tensorflow.Python into Tensorflow.Binding.
6 years ago
Oceania2018
67a58b3eac
change tensorflow to non-static class in order to execute some initialization.
6 years ago
Oceania2018
caeb0e3050
overloade session.run(), make syntax simpler.
6 years ago
Oceania2018
1961e815e7
all examples passed, ready to merge to master.
6 years ago
Oceania2018
bba0dcf6b2
"HelloWorld" passed.
6 years ago