Class TestSet
Syntax
Constructors
TestSet()
Declaration
TestSet(JSONTestSet)
Declaration
public TestSet(JSONTestSet jsonTestSet)
Parameters
TestSet(RawTestSet)
Declaration
public TestSet(RawTestSet rawTestSet)
Parameters
Methods
Declaration
public Tensor GetInputAsTensor(int idx = 0, int batchCount = -1, int fromBatch = 0)
Parameters
Returns
Declaration
public int GetInputCount()
Returns
Declaration
public float[] GetInputData(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
Declaration
public string GetInputName(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
Declaration
public Dictionary<string, Tensor> GetInputsAsTensorDictionary(Dictionary<string, Tensor> inputs = null, int batchCount = -1, int fromBatch = 0)
Parameters
Returns
Declaration
public int[] GetInputShape(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
GetOutputAsTensor(Int32, Int32, Int32)
Declaration
public Tensor GetOutputAsTensor(int idx = 0, int batchCount = -1, int fromBatch = 0)
Parameters
Returns
GetOutputCount()
Declaration
public int GetOutputCount()
Returns
GetOutputData(Int32)
Declaration
public float[] GetOutputData(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
GetOutputName(Int32)
Declaration
public string GetOutputName(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
GetOutputsAsTensorDictionary(Dictionary<String, Tensor>, Int32, Int32)
Declaration
public Dictionary<string, Tensor> GetOutputsAsTensorDictionary(Dictionary<string, Tensor> outputs = null, int batchCount = -1, int fromBatch = 0)
Parameters
Returns
GetOutputShape(Int32)
Declaration
public int[] GetOutputShape(int idx = 0)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Returns
SupportsNames()
Declaration
public bool SupportsNames()
Returns