MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.layers.tft.DataSchema Class Reference

The DataSchema class is used by the DataTemporalLayer to load the data schema describing the NPY files containing the dataset. More...

Public Member Functions

 DataSchema ()
 The constructor. More...
 

Static Public Member Functions

static DataSchema LoadFromDatasetDescriptor (DatasetDescriptor desc, Phase phase)
 Loads the data schema from a dataset descriptor. More...
 
static DataSchema LoadFromProject (ProjectEx prj, Phase phase=Phase.TRAIN)
 Loads the data schema from a project. More...
 
static DataSchema Load (string strFile)
 Loads the data schema from the XML schema file produced by the AiDesigner.TFT data creator. More...
 

Properties

Data Data [get]
 Returns the data portion of the schema. More...
 
LookupCollection Lookups [get]
 Returns the lookups portion of the schema. More...
 

Detailed Description

The DataSchema class is used by the DataTemporalLayer to load the data schema describing the NPY files containing the dataset.

Definition at line 17 of file DataSchema.cs.

Constructor & Destructor Documentation

◆ DataSchema()

MyCaffe.layers.tft.DataSchema.DataSchema ( )

The constructor.

Definition at line 25 of file DataSchema.cs.

Member Function Documentation

◆ Load()

static DataSchema MyCaffe.layers.tft.DataSchema.Load ( string  strFile)
static

Loads the data schema from the XML schema file produced by the AiDesigner.TFT data creator.

Parameters
strFileSpecifies the XML schema file.
Returns
The DataSchema describing the NPY data is returned.

Definition at line 102 of file DataSchema.cs.

◆ LoadFromDatasetDescriptor()

static DataSchema MyCaffe.layers.tft.DataSchema.LoadFromDatasetDescriptor ( DatasetDescriptor  desc,
Phase  phase 
)
static

Loads the data schema from a dataset descriptor.

Parameters
descSpecifies the dataset descriptor.
phaseSpecifies the phase to load.
Returns
The data schema is returned.

Definition at line 35 of file DataSchema.cs.

◆ LoadFromProject()

static DataSchema MyCaffe.layers.tft.DataSchema.LoadFromProject ( ProjectEx  prj,
Phase  phase = Phase.TRAIN 
)
static

Loads the data schema from a project.

Parameters
prjSpecifies the project name.
phaseSpecifies the phase to load.
Returns
The data schema is returned.

Definition at line 92 of file DataSchema.cs.

Property Documentation

◆ Data

Data MyCaffe.layers.tft.DataSchema.Data
get

Returns the data portion of the schema.

Definition at line 147 of file DataSchema.cs.

◆ Lookups

LookupCollection MyCaffe.layers.tft.DataSchema.Lookups
get

Returns the lookups portion of the schema.

Definition at line 155 of file DataSchema.cs.


The documentation for this class was generated from the following file: