Skip to content

Adding new ctor for Session and adding AbsGrad - #309

Merged
Oceania2018 merged 1 commit into
SciSharp:masterfrom
acifonelli:master
Jul 24, 2019
Merged

Oceania2018 merged 1 commit into
SciSharp:masterfrom
acifonelli:master

Conversation

@acifonelli

Copy link
Copy Markdown
Contributor
  • Adding new ctor for Session
    Meant to be a shortcut to directly set some basic configuration.

E.g.

var sessionOptions = new SessionOptions();
sessionOptions.SetConfig(new ConfigProto
{
   LogDevicePlacement = true,
   InterOpParallelismThreads = 4,
   GpuOptions = new GPUOptions
   {
      AllowGrowth = true,
      PerProcessGpuMemoryFraction = 0.12
   }
});
var session = tf.Session(sessionOptions);
  • Adding AbsGrad

To be aligned with Tensorflow, introducing also Sign operation
and its gradient.

Meant to be a shortcut to directly set some basic configuration.

E.g.

```
var sessionOptions = new SessionOptions();
sessionOptions.SetConfig(new ConfigProto
{
   LogDevicePlacement = true,
   InterOpParallelismThreads = 4,
   GpuOptions = new GPUOptions
   {
      AllowGrowth = true,
      PerProcessGpuMemoryFraction = 0.12
   }
});
var session = tf.Session(sessionOptions);
```

Adding `AbsGrad`

To be aligned with Tensorflow, introducing also `Sign` operation
and its gradient.
@Oceania2018
Oceania2018 self-requested a review July 24, 2019 18:12
@Oceania2018
Oceania2018 merged commit 46ec8e5 into SciSharp:master Jul 24, 2019
@Oceania2018
Oceania2018 removed their request for review July 24, 2019 18:57
Oceania2018 added a commit that referenced this pull request Jul 26, 2019
* fixed a bug about unzip

* added a test case for MnistModelLoader

* cleared warnings in the UnitTest project

* Upgrade NumSharp with signature.

* Testing gradients function: (#307)

- Concat
- LGamma
- Tanh
- Slice

* Adding new ctor for `Session` (#309)

Meant to be a shortcut to directly set some basic configuration.

E.g.

```
var sessionOptions = new SessionOptions();
sessionOptions.SetConfig(new ConfigProto
{
   LogDevicePlacement = true,
   InterOpParallelismThreads = 4,
   GpuOptions = new GPUOptions
   {
      AllowGrowth = true,
      PerProcessGpuMemoryFraction = 0.12
   }
});
var session = tf.Session(sessionOptions);
```

Adding `AbsGrad`

To be aligned with Tensorflow, introducing also `Sign` operation
and its gradient.

* fix strided_slice_grad type convention error. #307

* added a static load method for MnistModelLoader

* adjusted the assembly name for hub

* add Prediction function for Transfer Learning

* fixed the path combining issue

* Init TensorFlow.Text project. put all UnitTest and Example into one project.

* Predict image category in bootleneck file.

* Adding `IsNan` operation (#315)

Exposing also the `IsFinite` one.
Unit testing both operations.

* change bottleneck file to raw image as input for transfer learning.

* remove unnecessary projects (#316)

* implementing some additional methods (#317)

* got rid off the reference to the TF.NET

* updated project file for packaging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants