mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
428 B
18 lines
428 B
using System;
|
|
using System.Collections.Generic;
|
|
using ZeroLevel.ML.DNN.Models;
|
|
|
|
namespace ZeroLevel.ML.DNN.Classify
|
|
{
|
|
public interface IClassifier
|
|
: IDisposable
|
|
{
|
|
float RNorm(float x);
|
|
float GNorm(float x);
|
|
float BNorm(float x);
|
|
int InputSize { get; }
|
|
List<float[]> Predict(FastTensorPool inputs);
|
|
List<(int, float)> DetectClass(FastTensorPool inputs);
|
|
}
|
|
}
|