Oceania2018
e3de67385c
fix StringVar testing.
6 years ago
Eli Belash
6c8c2e5ec9
Performance optimization, refactoring and revamping. ( #362 )
* Refactored DisposableObject
* Added different build directory for TensorflowNET.Examples.GPU
* _FetchHandler: Switched to NPTypeCode
* gfile.cs, Walk(...): Handle case when directory top doesn't exist.
* Tensor.Creation: Perf-opted when creating tensor from NDArray of string
* Graph.cs: refactor and added docs
* Tensor.Creation.cs: perf-ops
* Tensor.Explicit.cs: perf-ops
* Copied globals.regen from NumSharp
- Added supported_numericals_TF_DataType
* 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.
* Tensor: Added guards for explicit casts.
* Tensor: Added explicit cast to string
* Tensor.ToArray<T>(): Added support for cases when tensor is scalar.
* Tensor.BufferToArray(): Fixed to use long instead of int.
* TensorShape: Revamped and documented.
* BaseSession: Added Session.run(ITensorOrOperation fetche, params FeedItem[] feed_dict)
* Tensor: renamed _dtype to _override_dtype
- Fixed all locations _dtype is used incorrectly.
* Fixed unit tests
* Tensor.Operations: Reverted commit
* DisposableObject: sorted internal_dispose to properly handle Dispose() calls
* Tensor.DisposeUnmanagedResources: Nullify _handle after delete.
* TensorShape.this[...]: fixed guard check.
* DisposableObject #362
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
Arnav Das
fef7fe4140
added isinstance ( #358 )
6 years ago
Sattisvar TANDABANY
235bad2575
StopGradient: Adding basic gradient for stop_gradient function. ( #357 )
6 years ago
Oceania2018
d515c815e8
Upgrade NumSharp to v0.20-alpha1
6 years ago
Oceania2018
a192d88c84
Object Detection pass.
6 years ago
Oceania2018
164759174d
merge with master.
6 years ago
Oceania2018
879067deb4
tf.WhileContext()
6 years ago
Meinrad Recheis
1f0d4d6315
PythonTest: commented out non-compiling function because it is not used anyway
6 years ago
Antonio Cifonelli
924e1592af
Adding `logical_xor` operator ( #346 )
Relative unit test in `OperationTest`.
6 years ago
Antonio Cifonelli
9f6c04ba75
Adding `logical_or` operator ( #344 )
Relative unit test in `OperationTest`.
6 years ago
Antonio Cifonelli
0e99b605a5
Adding `logical_or` operator ( #344 )
Relative unit test in `OperationTest`.
6 years ago
Oceania2018
07bed359b9
merge from master
6 years ago
Oceania2018
8a50673baa
Make Graph inherits from DisposableObject.
6 years ago
Antonio Cifonelli
bad9aba49e
Adding `logical_not` operator ( #343 )
Relative unit test in `OperationTest`.
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
Antonio Cifonelli
3ff5988c1d
Adding `logical_and` operator ( #338 )
Relative unit test in `OperationTest`.
6 years ago
Oceania2018
810df5bf23
Removed shared Status instance in Operation.
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
Antonio Cifonelli
9502395de7
Adding `logical_and` operator ( #338 )
Relative unit test in `OperationTest`.
6 years ago
Oceania2018
c12b5b9d58
Removed shared Status instance in Operation.
6 years ago
Antonio
198e598231
Add missing `operator >=`s and `operator <=`s ( #331 )
* Add missing `operator >=`s
Also unit testing the new operators.
* Add missing `operator <=`s
Also unit testing all the operator cases.
6 years ago
Antonio
c938fa895f
Add missing `operator >=`s and `operator <=`s ( #331 )
* Add missing `operator >=`s
Also unit testing the new operators.
* Add missing `operator <=`s
Also unit testing all the operator cases.
6 years ago
Oceania2018
787c772b06
Merge branch 'master' into v0.11.x-numsharp
6 years ago
Antonio
368556d77e
Add missing `operator >`s and `operator <`s ( #329 )
* Add missing `operator >`s
Also unit testing all the operator cases.
* Add missing `operator <`s
Also unit testing the new operators.
6 years ago
Oceania2018
86463d9967
compile successfully with v0.11-numsharp.
6 years ago
Antonio
ebf4c9f018
Unit testing `operator *`s. Add missing `operator /`s ( #324 )
Also unit testing the new operators.
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
Antonio
f8912135a7
Adding `Cumsum` operation ( #322 )
Unit testing the operation too.
6 years ago
Antonio
a880b5326d
Adding `IsNan` operation ( #315 )
Exposing also the `IsFinite` one.
Unit testing both operations.
6 years ago
Oceania2018
51b6c07f81
Init TensorFlow.Text project. put all UnitTest and Example into one project.
6 years ago
Oceania2018
6ac66516ef
fix strided_slice_grad type convention error. #307
6 years ago
Sattisvar TANDABANY
930f601f75
Testing gradients function: ( #307 )
- Concat
- LGamma
- Tanh
- Slice
6 years ago
Kerry Jiang
a4daf8f91b
cleared warnings in the UnitTest project
6 years ago
Kerry Jiang
a1806d4905
added a test case for MnistModelLoader
6 years ago
Oceania2018
63e13b11e1
Remove tf binary from core project. entry project will install binary seperate because enrty could choose platform and gpu version.
6 years ago
Oceania2018
654fc76d0c
fix gradients parameters issue.
6 years ago
Oceania2018
99bd08b1da
fix object reference issue for _AggregatedGrads #303
6 years ago
Oceania2018
4a367470b6
Add _StridedSliceGrad, _StridedSliceGradGrad, tf.math.lgamma
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
Antonio
c616eea1e8
Adding `BatchMatMul` gradient ( #304 )
Unit testing the gradient too.
6 years ago
Antonio Cifonelli
1e54c41f43
Add missing `operator -`s
Also unit testing all the operator cases.
6 years ago
Antonio Cifonelli
e13c444bff
Add missing `operator +`s
Also unit testing all the operator cases.
6 years ago
Meinrad Recheis
7cb17461a9
Tensor: added a constructor to create a Tensor from a fixed memory pointer that is owned by the caller
6 years ago
Oceania2018
ed15b2450e
upgrade NumSharp to v0.10.4.
6 years ago
Oceania2018
ee0b935557
Add BasicRNNCell, LayerRNNCell, RNNCell,
Change nest.flatten to generic.
6 years ago