Bolt
com.huawei.noah.BoltResult Class Reference

Public Member Functions

 BoltResult (float[][] value, int[][] dimension, String[] name, String[] dataFormat)
 
String [] getResultName ()
 get result data name from BoltResult object More...
 
String [] getResultDataFormat ()
 get result data format from BoltResult object More...
 
int [][] getResultDimension ()
 get result data dimension information from BoltResult object More...
 
float [][] getResultData ()
 get result data array from BoltResult object More...
 
void print (int num)
 print BoltResult object info More...
 

Static Public Member Functions

static int calculateLength (int[] array)
 

Detailed Description

Definition at line 23 of file BoltResult.java.

Member Function Documentation

◆ calculateLength()

static int com.huawei.noah.BoltResult.calculateLength ( int []  array)
static

calculate product and skip 0

Definition at line 111 of file BoltResult.java.

Referenced by com.huawei.noah.BoltResult.print().

◆ getResultData()

float [][] com.huawei.noah.BoltResult.getResultData ( )

get result data array from BoltResult object

Returns
2d float array of output data in the inference result

Definition at line 67 of file BoltResult.java.

◆ getResultDataFormat()

String [] com.huawei.noah.BoltResult.getResultDataFormat ( )

get result data format from BoltResult object

Returns
1d String array of output data in the inference result

Definition at line 47 of file BoltResult.java.

◆ getResultDimension()

int [][] com.huawei.noah.BoltResult.getResultDimension ( )

get result data dimension information from BoltResult object

Returns
2d int array of output data in the inference result

Definition at line 57 of file BoltResult.java.

◆ getResultName()

String [] com.huawei.noah.BoltResult.getResultName ( )

get result data name from BoltResult object

Returns
1d String array of output data in the inference result

Definition at line 37 of file BoltResult.java.

◆ print()

void com.huawei.noah.BoltResult.print ( int  num)

print BoltResult object info

Parameters
numthe number of the result you want
Returns

Definition at line 78 of file BoltResult.java.

References com.huawei.noah.BoltResult.calculateLength().


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