21 package com.huawei.noah;
24 public BoltResult(
float[][] value,
int[][] dimension, String[] name, String[] dataFormat)
27 this.dimension = dimension;
29 this.dataFormat = dataFormat;
49 return this.dataFormat;
59 return this.dimension;
80 for (
int i = 0; i < name.length; i++) {
81 System.out.println(
"[INFO] output name: " + name[i]);
82 System.out.println(
" data format: " + dataFormat[i]);
84 System.out.println(
" data number: " + len);
91 for (
int j = 0; j < len; j++) {
92 System.out.print(value[i][j] +
" ");
99 private float[][] value;
102 private int[][] dimension;
105 private String[] name;
108 private String[] dataFormat;
113 int num = array.length;
115 for (
int j = 0; j < num; j++) {
void print(int num)
print BoltResult object info
String [] getResultDataFormat()
get result data format from BoltResult object
static int calculateLength(int[] array)
float [][] getResultData()
get result data array from BoltResult object
String [] getResultName()
get result data name from BoltResult object
int [][] getResultDimension()
get result data dimension information from BoltResult object