Browse Source

remove Python baseclass.

tags/v0.9
Oceania2018 6 years ago
parent
commit
0b1a8d3c33
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      src/TensorFlowNET.Core/Estimator/TrainingExecutor.cs
  2. +2
    -1
      test/TensorFlowNET.Examples/Text/NER/CRF.cs

+ 2
- 1
src/TensorFlowNET.Core/Estimator/TrainingExecutor.cs View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using static Tensorflow.Python;

namespace Tensorflow.Estimator
{
@@ -8,7 +9,7 @@ namespace Tensorflow.Estimator
/// The executor to run `Estimator` training and evaluation.
/// <see cref="tensorflow_estimator\python\estimator\training.py"/>
/// </summary>
public class TrainingExecutor : Python
public class TrainingExecutor
{
private IEstimator _estimator;
public TrainingExecutor(IEstimator estimator)


+ 2
- 1
test/TensorFlowNET.Examples/Text/NER/CRF.cs View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using Tensorflow;
using static Tensorflow.Python;

namespace TensorFlowNET.Examples
{
@@ -12,7 +13,7 @@ namespace TensorFlowNET.Examples
///
/// tensorflow\contrib\crf\python\ops\crf.py
/// </summary>
public class CRF : Python, IExample
public class CRF : IExample
{
public int Priority => 13;



Loading…
Cancel
Save