C# 클래스 Ocronet.Dynamic.IOData.MnistDatasource

파일 보기 프로젝트 열기: nickun/OCRonet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MnistPostfixImages string
MnistPostfixImagesShort string
MnistPostfixLabels string
MnistPostfixLabelsShort string

공개 메소드들

메소드 설명
AddImage ( byte imgData, byte label ) : void
CheckForMnistImagesFileName ( string fileName ) : bool
CheckForMnistLabelsFileName ( string fileName ) : bool
GetImagesFullFileName ( string prefix ) : string
GetLabelsFullFileName ( string prefix ) : string
LoadFromFile ( string prefix ) : void
MnistDatasource ( ) : System
MnistDatasource ( int height, int width ) : System
NSamples ( ) : int
SaveToFile ( string prefix ) : void
SwapInt16 ( short v ) : short
SwapInt32 ( int v ) : int

비공개 메소드들

메소드 설명
ReadData ( BinaryReader imagesReader, BinaryReader labelsReader ) : void
ReadHeaders ( BinaryReader imagesReader, BinaryReader labelsReader ) : void
TransposeBytes ( byte bytes ) : byte[]
WriteData ( BinaryWriter imagesWriter, BinaryWriter labelsWriter ) : void
WriteHeaders ( BinaryWriter imagesWriter, BinaryWriter labelsWriter ) : void

메소드 상세

AddImage() 공개 메소드

public AddImage ( byte imgData, byte label ) : void
imgData byte
label byte
리턴 void

CheckForMnistImagesFileName() 공개 정적인 메소드

public static CheckForMnistImagesFileName ( string fileName ) : bool
fileName string
리턴 bool

CheckForMnistLabelsFileName() 공개 정적인 메소드

public static CheckForMnistLabelsFileName ( string fileName ) : bool
fileName string
리턴 bool

GetImagesFullFileName() 공개 정적인 메소드

public static GetImagesFullFileName ( string prefix ) : string
prefix string
리턴 string

GetLabelsFullFileName() 공개 정적인 메소드

public static GetLabelsFullFileName ( string prefix ) : string
prefix string
리턴 string

LoadFromFile() 공개 메소드

public LoadFromFile ( string prefix ) : void
prefix string
리턴 void

MnistDatasource() 공개 메소드

public MnistDatasource ( ) : System
리턴 System

MnistDatasource() 공개 메소드

public MnistDatasource ( int height, int width ) : System
height int
width int
리턴 System

NSamples() 공개 메소드

public NSamples ( ) : int
리턴 int

SaveToFile() 공개 메소드

public SaveToFile ( string prefix ) : void
prefix string
리턴 void

SwapInt16() 공개 정적인 메소드

public static SwapInt16 ( short v ) : short
v short
리턴 short

SwapInt32() 공개 정적인 메소드

public static SwapInt32 ( int v ) : int
v int
리턴 int

프로퍼티 상세

MnistPostfixImages 공개적으로 정적으로 프로퍼티

public static string MnistPostfixImages
리턴 string

MnistPostfixImagesShort 공개적으로 정적으로 프로퍼티

public static string MnistPostfixImagesShort
리턴 string

MnistPostfixLabels 공개적으로 정적으로 프로퍼티

public static string MnistPostfixLabels
리턴 string

MnistPostfixLabelsShort 공개적으로 정적으로 프로퍼티

public static string MnistPostfixLabelsShort
리턴 string